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

PHPCSStandards / PHP_CodeSniffer / 14424799220
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 13 Apr 2025 01:11AM 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

13 Apr 2025 01:07AM UTC coverage: 77.558% (+0.002%) from 77.556%
14424799220

push

github

jrfnl
PHP 8.4 | Generic/[Lower|Upper]CaseConstant: add support for final properties

The `Generic.PHP.LowerCaseConstant` sniff is supposed to flag uppercase use of the `true`/`false`/null` constants and its sister-sniff `UpperCaseConstant` flags the lowercase variants. Both sniffs, however, are supposed to **_ignore_** the use of these keywords in type declarations - which may have their own rules.

This commit adds support for skipping over the types in PHP 8.4 `final` property declarations.

Includes tests.

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

19343 of 24940 relevant lines covered (77.56%)

78.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 os-ubuntu-latest-php-8.1-custom-ini-true - 14424799220.1 13 Apr 2025 01:15AM UTC 263
76.06
GitHub Action Run
2 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 14424799220.2 13 Apr 2025 01:15AM UTC 263
1.89
GitHub Action Run
3 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 14424799220.3 13 Apr 2025 01:16AM UTC 263
0.81
GitHub Action Run
4 os-windows-latest-php-7.2-custom-ini-false - 14424799220.4 13 Apr 2025 01:11AM UTC 263
2.1
GitHub Action Run
5 os-ubuntu-latest-php-7.2-custom-ini-false - 14424799220.5 13 Apr 2025 01:16AM UTC 263
73.9
GitHub Action Run
6 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 14424799220.6 13 Apr 2025 01:15AM UTC 263
1.88
GitHub Action Run
7 os-ubuntu-latest-php-8.4-custom-ini-false - 14424799220.7 13 Apr 2025 01:15AM UTC 263
76.04
GitHub Action Run
8 os-windows-latest-php-8.4-custom-ini-false - 14424799220.8 13 Apr 2025 01:12AM UTC 263
2.64
GitHub Action Run
Source Files on build 14424799220
  • 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 #14424799220
  • cbaa3c93 on github
  • Prev Build on 4.0 (#14424776492)
  • Next Build on 4.0 (#14424804968)
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