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

PHPCSStandards / PHP_CodeSniffer / 13847720834
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 14 Mar 2025 01:07AM UTC
Jobs 8
Files 263
Run time 2min
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

14 Mar 2025 01:06AM UTC coverage: 77.514%. Remained the same
13847720834

push

github

jrfnl
Tests/Tokenizer: fix `conditions` checking range in `T_DEFAULT` test

Among other things, the RecurseScopeMapDefaultKeywordConditionsTest
::testSwitchDefault() method checks if tokens within the scope of a
`T_DEFAULT` token have `T_DEFAULT` set as one of its `conditions` array.

The test was incorrectly checking token `conditions` due to an
off-by-one error in the loop range when the `T_DEFAULT` uses curly
braces.

For a `T_DEFAULT` with curly braces, the tokenizer adds `T_DEFAULT` to
the `conditions` array of all the tokens within its scope up to the
`T_BREAK|T_RETURN|T_CONTINUE`, but the test was checking only until the
token before the `T_BREAK|T_RETURN|T_CONTINUE`.

19287 of 24882 relevant lines covered (77.51%)

76.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 13847720834.1 14 Mar 2025 01:12AM UTC 263
0.81
GitHub Action Run
2 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 13847720834.2 14 Mar 2025 01:10AM UTC 263
1.89
GitHub Action Run
3 os-ubuntu-latest-php-7.2-custom-ini-false - 13847720834.3 14 Mar 2025 01:12AM UTC 263
73.85
GitHub Action Run
4 os-ubuntu-latest-php-8.1-custom-ini-true - 13847720834.4 14 Mar 2025 01:10AM UTC 263
76.03
GitHub Action Run
5 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 13847720834.5 14 Mar 2025 01:10AM UTC 263
1.89
GitHub Action Run
6 os-windows-latest-php-8.4-custom-ini-false - 13847720834.6 14 Mar 2025 01:07AM UTC 263
2.62
GitHub Action Run
7 os-windows-latest-php-7.2-custom-ini-false - 13847720834.7 14 Mar 2025 01:07AM UTC 263
2.08
GitHub Action Run
8 os-ubuntu-latest-php-8.4-custom-ini-false - 13847720834.8 14 Mar 2025 01:10AM UTC 263
76.01
GitHub Action Run
Source Files on build 13847720834
  • Tree
  • List 263
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13847720834
  • 276bf33b on github
  • Prev Build on 4.0 (#13839354231)
  • Next Build on 4.0 (#13848627330)
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