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

PHPCSStandards / PHP_CodeSniffer / 7516542962
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: PSR2-WrongOpenercase-with-colon-and-bracket-is-unclear
DEFAULT BRANCH: master
Ran 14 Jan 2024 02:57AM UTC
Jobs 3
Files 257
Run time 19s
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

14 Jan 2024 02:56AM UTC coverage: 65.134%. Remained the same
7516542962

push

github

jrfnl
Tests/BackfillNumericSeparatorTest: use named data sets

With non-named data sets, when a test fails, PHPUnit will display the number of the test which failed.

With tests which have a _lot_ of data sets, this makes it _interesting_ (and time-consuming) to debug those, as one now has to figure out which of the data sets in the data provider corresponds to that number.

Using named data sets makes debugging failing tests more straight forward as PHPUnit will display the data set name instead of the number.
Using named data sets also documents what exactly each data set is testing.

Aside from adding the data set name, this commit also adds the parameter name for each item in the data set, this time in an effort to make it more straight forward to update and add tests as it will be more obvious what each key in the data set signifies.

Includes:
* Making the data type in the docblock more specific.

15395 of 23636 relevant lines covered (65.13%)

6.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 7516542962.1 14 Jan 2024 02:57AM UTC 0
64.24
GitHub Action Run
2 php-8.1-custom-ini-true - 7516542962.2 14 Jan 2024 02:57AM UTC 0
64.2
GitHub Action Run
3 php-7.2-custom-ini-false - 7516542962.3 14 Jan 2024 02:57AM UTC 0
61.55
GitHub Action Run
Source Files on build 7516542962
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7516542962
  • f9beb2e1 on github
  • Prev Build on 4.0 (#7516406086)
  • Next Build on 4.0 (#7517340732)
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