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

PHPCSStandards / PHP_CodeSniffer / 13823399634
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 12 Mar 2025 11:20PM 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

12 Mar 2025 11:18PM UTC coverage: 77.494% (+0.07%) from 77.421%
13823399634

push

github

jrfnl
Ruleset: use `MessageCollector` for pre-existing errors

Notes:

**For the "invalid type" message**

Includes updating the message for the "invalid type" message to mention the reference for which the `type` was (incorrectly) being changed.
This should make it more straight forward for ruleset maintainers to find the problem in their ruleset.
It also makes the message more unique, as this message could occur in multiple places in a ruleset and there was no indication of that in the message previously.

Potential future scope for "invalid type" message

It could be considered to downgrade this message from an `ERROR` to a `NOTICE` as an invalid type is not blocking for running the sniffs, though this could lead to results not being as expected if, for instance, the `-n` flag is being used, which is why I've not changed this at this time.

**For the "register() method must return an array" error

Includes some new assertions which won't run until the test suite supports PHPUnit 10+ (PHPCS 4.0). These tests belong with this commit though, so adding them now anyway.

**For the "setting non-existent property" error

Includes minor adjustment to the error message (removal of "Ruleset invalid" and punctuation).

17 of 21 new or added lines in 1 file covered. (80.95%)

67 existing lines in 1 file now uncovered.

19279 of 24878 relevant lines covered (77.49%)

76.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
89.41
0.2% src/Ruleset.php

Uncovered Existing Lines

Lines Coverage ∆ File
67
89.41
0.2% src/Ruleset.php
Jobs
ID Job ID Ran Files Coverage
1 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 13823399634.1 12 Mar 2025 11:24PM UTC 263
0.81
GitHub Action Run
2 os-ubuntu-latest-php-8.1-custom-ini-true - 13823399634.2 12 Mar 2025 11:23PM UTC 263
76.01
GitHub Action Run
3 os-ubuntu-latest-php-7.2-custom-ini-false - 13823399634.3 12 Mar 2025 11:24PM UTC 263
73.83
GitHub Action Run
4 os-ubuntu-latest-php-8.4-custom-ini-false - 13823399634.4 12 Mar 2025 11:23PM UTC 263
75.99
GitHub Action Run
5 os-windows-latest-php-8.4-custom-ini-false - 13823399634.5 12 Mar 2025 11:20PM UTC 263
2.62
GitHub Action Run
6 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 13823399634.6 12 Mar 2025 11:23PM UTC 263
1.9
GitHub Action Run
7 os-windows-latest-php-7.2-custom-ini-false - 13823399634.7 12 Mar 2025 11:20PM UTC 263
2.08
GitHub Action Run
8 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 13823399634.8 12 Mar 2025 11:23PM UTC 263
1.89
GitHub Action Run
Source Files on build 13823399634
  • 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 #13823399634
  • cae50d8f on github
  • Prev Build on 4.0 (#13822886692)
  • Next Build on 4.0 (#13827372117)
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