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

PHPCSStandards / PHP_CodeSniffer / 30932254437
80%
master: 79%

Build:
Build:
LAST BUILD BRANCH: issue-1472-squiz-error-message-followup
DEFAULT BRANCH: master
Ran 04 Aug 2026 05:06PM UTC
Jobs 8
Files 265
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

04 Aug 2026 05:05PM UTC coverage: 78.985% (+0.001%) from 78.984%
30932254437

push

github

jrfnl
PSR2/SwitchDeclarationSniff: use placeholders in error messages

Replace string concatenation with placeholders to follow the best practice.
- `defaultNotLower` and `caseNotLower` error messages now expose
  3 data values (previously 2).
- `SpaceBeforeColonDEFAULT` and `SpaceBeforeColonCASE` error messages now expose
  1 data value (previously 0).
- `BodyOnNextLineDEFAULT` and `BodyOnNextLineCASE` error messages now expose
  1 data value (previously 0).
- `WrongOpenerdefault` and `WrongOpenercase` error messages now expose
  1 data value (previously 0).

8 of 9 new or added lines in 1 file covered. (88.89%)

19894 of 25187 relevant lines covered (78.99%)

99.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.56
0.02% src/Standards/PSR2/Sniffs/ControlStructures/SwitchDeclarationSniff.php
Jobs
ID Job ID Ran Files Coverage
1 os-ubuntu-latest-php-7.2-custom-ini-false - 30932254437.1 04 Aug 2026 05:12PM UTC 265
75.86
GitHub Action Run
2 os-windows-latest-php-8.5-custom-ini-false - 30932254437.2 04 Aug 2026 05:07PM UTC 265
2.68
GitHub Action Run
3 cbf-os-ubuntu-latest-php-8.5-custom-ini-true - 30932254437.3 04 Aug 2026 05:10PM UTC 265
2.33
GitHub Action Run
4 cbf-os-ubuntu-latest-php-7.2-custom-ini-false - 30932254437.4 04 Aug 2026 05:12PM UTC 265
1.3
GitHub Action Run
5 cbf-os-ubuntu-latest-php-8.5-custom-ini-false - 30932254437.5 04 Aug 2026 05:10PM UTC 265
2.33
GitHub Action Run
6 os-ubuntu-latest-php-8.5-custom-ini-false - 30932254437.6 04 Aug 2026 05:10PM UTC 265
76.67
GitHub Action Run
7 os-ubuntu-latest-php-8.5-custom-ini-true - 30932254437.7 04 Aug 2026 05:10PM UTC 265
76.57
GitHub Action Run
8 os-windows-latest-php-7.2-custom-ini-false - 30932254437.8 04 Aug 2026 05:06PM UTC 265
2.13
GitHub Action Run
Source Files on build 30932254437
  • Tree
  • List 265
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30932254437
  • 11faafa7 on github
  • Prev Build on 4.x (#30766858474)
  • Next Build on 4.x (#30932694802)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc