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

PHPCSStandards / PHP_CodeSniffer / 11096964352
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 30 Sep 2024 12:04AM UTC
Jobs 3
Files 261
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

30 Sep 2024 12:00AM UTC coverage: 73.93% (+0.05%) from 73.882%
11096964352

push

github

jrfnl
Common::getSniffCode(): minor simplification

* Remove the use of `array_pop()` in favour of directly referencing the required "parts" by their index in the array.
* Remove the unused `$sniffDir` variable.
* Remove the unnecessary `$code` variable.

Related to [review comment in PR 446](https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/446#discussion_r1573947430).

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

179 existing lines in 2 files now uncovered.

18039 of 24400 relevant lines covered (73.93%)

71.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.1-custom-ini-true - 11096964352.1 30 Sep 2024 12:04AM UTC 0
72.51
GitHub Action Run
2 php-7.2-custom-ini-false - 11096964352.2 30 Sep 2024 12:05AM UTC 0
69.88
GitHub Action Run
3 php-8.3-custom-ini-false - 11096964352.3 30 Sep 2024 12:05AM UTC 0
72.48
GitHub Action Run
Source Files on build 11096964352
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11096964352
  • ed4ab508 on github
  • Prev Build on 4.0 (#11096192512)
  • Next Build on 4.0 (#11167986842)
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