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

PHPCSStandards / PHP_CodeSniffer / 7517442142
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: PSR2-WrongOpenercase-with-colon-and-bracket-is-unclear
DEFAULT BRANCH: master
Ran 14 Jan 2024 06:21AM UTC
Jobs 3
Files 257
Run time 18s
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 06:19AM UTC coverage: 65.134%. Remained the same
7517442142

push

github

jrfnl
Tests/TypeIntersectionTest: 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.

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 - 7517442142.1 14 Jan 2024 06:21AM UTC 0
64.24
GitHub Action Run
2 php-8.1-custom-ini-true - 7517442142.2 14 Jan 2024 06:21AM UTC 0
64.2
GitHub Action Run
3 php-7.2-custom-ini-false - 7517442142.3 14 Jan 2024 06:21AM UTC 0
61.55
GitHub Action Run
Source Files on build 7517442142
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7517442142
  • e20085a4 on github
  • Prev Build on 4.0 (#7517340732)
  • Next Build on 4.0 (#7517583743)
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