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

PHPCSStandards / PHP_CodeSniffer / 7751687178
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 02 Feb 2024 05:13AM UTC
Jobs 3
Files 258
Run time 19s
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

02 Feb 2024 05:10AM UTC coverage: 71.981%. Remained the same
7751687178

push

github

jrfnl
PHP 8.3 | PSR12/AnonClassDeclaration: add tests with readonly anonymous classes

The underlying `PSR2.Classes.ClassDeclaration` sniff, which does the actual checking of the space between a potential modifier keyword and the `class` keyword, already handles this correctly (after squizlabs/PHP_CodeSniffer 3826 and 307).

Note: tests were only added to the PSR12 sniffs as that sniffs registers the `T_ANON_CLASS` token.
The `PEAR.Classes.ClassDeclaration` sniff and the `PSR2` and `Squiz` versions, which both extend the `PEAR` class, don't need tests as none of those listen for the `T_ANON_CLASS` token.

17151 of 23827 relevant lines covered (71.98%)

48.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.1-custom-ini-true - 7751687178.1 02 Feb 2024 05:13AM UTC 258
70.49
GitHub Action Run
2 php-8.3-custom-ini-false - 7751687178.2 02 Feb 2024 05:14AM UTC 258
70.46
GitHub Action Run
3 php-7.2-custom-ini-false - 7751687178.3 02 Feb 2024 05:14AM UTC 258
68.15
GitHub Action Run
Source Files on build 7751687178
  • Tree
  • List 258
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7751687178
  • a096b874 on github
  • Prev Build on 4.0 (#7751527110)
  • Next Build on 4.0 (#7770160279)
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