• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHP_CodeSniffer / 14324405406
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feat/use-different-error-code-for-namespace-names
DEFAULT BRANCH: master
Ran 08 Apr 2025 03:25AM UTC
Jobs 8
Files 263
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Apr 2025 03:23AM UTC coverage: 77.545%. Remained the same
14324405406

push

github

jrfnl
TokenNameTest: ensure all polyfilled tokens are tested

Other tooling packages will often also polyfill PHP native tokens and are likely to use different values for the token constant (generally an integer above 10.000).

A number of these tool have a habit to autoload the file containing the polyfilled token constants via the Composer `autoload - files` directives.
When this happens, this can interfere with the functioning of PHPCS.

While it will be rare for this to become problematic for normal PHPCS runs (as translation between token constants and their names and visa versa is rarely done in runtime-code), it is definitely something which can cause problems while running the tests for PHPCS itself.

Those type of issues will be hard to debug in the tests as this is a sort of race-condition. So to make it more obvious what is going on if this specific race-condition is happening, I'm going to make it a requirement for all PHP native polyfilled tokens to be tested via the `TokenNameTest` class.

This will ensure that if the race-condition is happening, that test will fail, providing a valuable clue for solving the other resulting test failure(s).

19311 of 24903 relevant lines covered (77.54%)

77.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 os-windows-latest-php-8.4-custom-ini-false - 14324405406.1 08 Apr 2025 03:25AM UTC 263
2.65
GitHub Action Run
2 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 14324405406.2 08 Apr 2025 03:28AM UTC 263
1.89
GitHub Action Run
3 os-windows-latest-php-7.2-custom-ini-false - 14324405406.3 08 Apr 2025 03:25AM UTC 263
2.1
GitHub Action Run
4 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 14324405406.4 08 Apr 2025 03:28AM UTC 263
1.89
GitHub Action Run
5 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 14324405406.5 08 Apr 2025 03:29AM UTC 263
0.81
GitHub Action Run
6 os-ubuntu-latest-php-8.4-custom-ini-false - 14324405406.6 08 Apr 2025 03:28AM UTC 263
76.06
GitHub Action Run
7 os-ubuntu-latest-php-8.1-custom-ini-true - 14324405406.7 08 Apr 2025 03:28AM UTC 263
76.08
GitHub Action Run
8 os-ubuntu-latest-php-7.2-custom-ini-false - 14324405406.8 08 Apr 2025 03:29AM UTC 263
73.88
GitHub Action Run
Source Files on build 14324405406
  • Tree
  • List 263
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14324405406
  • 3d86d1b6 on github
  • Prev Build on 4.0 (#14313595379)
  • Next Build on 4.0 (#14324432017)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc