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

PHPCSStandards / PHP_CodeSniffer / 7226187565 / 1
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 15 Dec 2023 07:22PM UTC
Files 257
Run time 7s
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.093% (+0.003%) from 63.09%
7226187565.1

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

14837 of 23516 relevant lines covered (63.09%)

1.82 hits per line

Source Files on job php-8.3-custom-ini-false - 7226187565.1
  • Tree
  • List 257
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7226187565
  • 5e94c1e6 on github
  • Prev Job for on 4.0 (#7211360172.1)
  • Next Job for on 4.0 (#7250710227.1)
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