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

PHPCSStandards / PHP_CodeSniffer / 12034760481
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 26 Nov 2024 04:21PM UTC
Jobs 8
Files 262
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

26 Nov 2024 04:19PM UTC coverage: 76.256% (+0.004%) from 76.252%
12034760481

push

github

jrfnl
Generic//EmptyPHPStatement: reduce complexity/nesting levels

Follow up on #699

Commit 529bcba7a removed the unreachable `default` case from the `switch`, but even when it is not explicitly there, this still leaves an unreachable branch in the code flow.

This commit takes the previous change one step further and removes the `switch` completely in favour of two separate `private` functions which each handle one specific token.

N.B.: this commit will be easier to review while ignoring whitespace changes.

60 of 60 new or added lines in 1 file covered. (100.0%)

18740 of 24575 relevant lines covered (76.26%)

75.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 12034760481.1 26 Nov 2024 04:25PM UTC 0
0.18
GitHub Action Run
2 os-ubuntu-latest-php-7.2-custom-ini-false - 12034760481.2 26 Nov 2024 04:25PM UTC 0
72.54
GitHub Action Run
3 os-windows-latest-php-7.2-custom-ini-false - 12034760481.3 26 Nov 2024 04:21PM UTC 0
1.97
GitHub Action Run
4 os-ubuntu-latest-php-8.1-custom-ini-true - 12034760481.4 26 Nov 2024 04:23PM UTC 0
74.72
GitHub Action Run
5 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 12034760481.5 26 Nov 2024 04:23PM UTC 0
1.08
GitHub Action Run
6 os-windows-latest-php-8.4-custom-ini-false - 12034760481.6 26 Nov 2024 04:21PM UTC 0
2.42
GitHub Action Run
7 os-ubuntu-latest-php-8.4-custom-ini-false - 12034760481.7 26 Nov 2024 04:23PM UTC 0
74.71
GitHub Action Run
8 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 12034760481.8 26 Nov 2024 04:23PM UTC 0
1.08
GitHub Action Run
Source Files on build 12034760481
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12034760481
  • edbb408a on github
  • Prev Build on 4.0 (#12024257651)
  • Next Build on 4.0 (#12046007088)
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