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

PHPCSStandards / PHP_CodeSniffer / 7517442142 / 3
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: issue-1286/polyfill-tokenizer-const-as-int
DEFAULT BRANCH: master
Ran 14 Jan 2024 06:21AM UTC
Files 257
Run time 5s
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: 61.552%. Remained the same
7517442142.3

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.

14685 of 23858 relevant lines covered (61.55%)

2.15 hits per line

Source Files on job php-7.2-custom-ini-false - 7517442142.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7517442142
  • e20085a4 on github
  • Prev Job for on 4.0 (#7517340732.3)
  • Next Job for on 4.0 (#7517583743.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