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

PHPCSStandards / PHP_CodeSniffer / 7226187565
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 15 Dec 2023 07:22PM UTC
Jobs 3
Files 257
Run time 24s
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

15 Dec 2023 07:20PM UTC coverage: 63.966% (+0.003%) from 63.963%
7226187565

push

github

jrfnl
Replace default value of first parameter in getErrorList() with ''

Replacing the default value with an empty string. Per Juliette's comment
(https://github.com/PHPCSStandards/PHP_CodeSniffer/pull/163#discussion_r1426775588)
there are three reasons why we want to do that:

- The default value has no value in practice. It is an optional argument which is not enforced via the abstract functions, but is passed in all cases, so the default is never used in practice.
- Setting the default value as file 1 also has an assumption implied, while IMO assumptions have no place in a test suite.
- Maintainability - one less thing to have to keep in sync and to guard against typos

15112 of 23625 relevant lines covered (63.97%)

5.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 7226187565.1 15 Dec 2023 07:22PM UTC 257
63.09
GitHub Action Run
2 php-8.0-custom-ini-true - 7226187565.2 15 Dec 2023 07:22PM UTC 257
63.05
GitHub Action Run
3 php-7.2-custom-ini-false - 7226187565.3 15 Dec 2023 07:22PM UTC 257
59.94
GitHub Action Run
Source Files on build 7226187565
  • Tree
  • List 257
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7226187565
  • 5e94c1e6 on github
  • Prev Build on 4.0 (#7211360172)
  • Next Build on 4.0 (#7250710227)
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