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

PHPCSStandards / PHP_CodeSniffer / 12212061353
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 07 Dec 2024 10:18AM 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

07 Dec 2024 10:16AM UTC coverage: 76.688% (+0.004%) from 76.684%
12212061353

push

github

jrfnl
Ruleset::setSniffProperty(): add test for edge case / unused sniff

I haven't been able to come up with a _real_ situation in which [this condition](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/15db72320/src/Ruleset.php#L1476-L1479) could result in an early return - either via reading an XML ruleset or via inline `phpcs:set` annotation. Having said that, the method is `public` and is regularly used in test frameworks for external standards, so this code should remain in place.

This commit now safeguards the behaviour via a test.

18863 of 24597 relevant lines covered (76.69%)

75.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 12212061353.1 07 Dec 2024 10:27AM UTC 0
0.82
GitHub Action Run
2 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 12212061353.2 07 Dec 2024 10:25AM UTC 0
1.91
GitHub Action Run
3 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 12212061353.3 07 Dec 2024 10:25AM UTC 0
1.9
GitHub Action Run
4 os-ubuntu-latest-php-7.2-custom-ini-false - 12212061353.4 07 Dec 2024 10:27AM UTC 0
72.97
GitHub Action Run
5 os-windows-latest-php-8.4-custom-ini-false - 12212061353.5 07 Dec 2024 10:18AM UTC 0
2.54
GitHub Action Run
6 os-ubuntu-latest-php-8.4-custom-ini-false - 12212061353.6 07 Dec 2024 10:25AM UTC 0
75.14
GitHub Action Run
7 os-ubuntu-latest-php-8.1-custom-ini-true - 12212061353.7 07 Dec 2024 10:25AM UTC 0
75.15
GitHub Action Run
8 os-windows-latest-php-7.2-custom-ini-false - 12212061353.8 07 Dec 2024 10:18AM UTC 0
2.06
GitHub Action Run
Source Files on build 12212061353
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12212061353
  • a1713486 on github
  • Prev Build on 4.0 (#12212048667)
  • Next Build on 4.0 (#12212091277)
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