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

PHPCSStandards / PHP_CodeSniffer / 8963591659
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 06 May 2024 03:28AM UTC
Jobs 3
Files 260
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

06 May 2024 03:24AM UTC coverage: 73.183% (+0.01%) from 73.171%
8963591659

push

github

jrfnl
Generic/LowerCaseType: add support for examining DNF types

The `Generic.PHP.LowerCaseType` sniff needs to be updated to also handle non-lowercase types which are part of a DNF type declaration.

This commit updates the `processUnionType()` method to not only examine union types, but to examine all multi-token types and to do so in a slightly more performant manner and calls that method now for all multi-token type declarations.

Note: The method name now doesn't properly cover the functionality anymore, however, renaming the method would be a breaking change as the class is not `final` and the method not `private`.

Includes unit tests.

Related to 105

Closes 105

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

17774 of 24287 relevant lines covered (73.18%)

67.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.2-custom-ini-false - 8963591659.1 06 May 2024 03:30AM UTC 260
69.14
GitHub Action Run
2 php-8.1-custom-ini-true - 8963591659.2 06 May 2024 03:28AM UTC 260
71.66
GitHub Action Run
3 php-8.3-custom-ini-false - 8963591659.3 06 May 2024 03:28AM UTC 260
71.63
GitHub Action Run
Source Files on build 8963591659
  • Tree
  • List 260
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8963591659
  • 9083ffcc on github
  • Prev Build on 4.0 (#8920231233)
  • Next Build on 4.0 (#8963790193)
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

© 2025 Coveralls, Inc