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

Yoast / PHPUnit-Polyfills / 10681623345
98%
3.x: 98%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 03 Sep 2024 11:00AM UTC
Jobs 28
Files 31
Run time 1min
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

03 Sep 2024 10:56AM UTC coverage: 97.148% (+0.005%) from 97.143%
10681623345

push

github

jrfnl
PHPUnit 11.3.1 | AssertIsList: sync error message with upstream

PHPUnit 11.3.1 improved the type information in select assertion failure messages.

For the polyfills, this only affects the `AssertIsList` polyfill.

Now the choice was between the following:
* Just update the test(s) to have a different message expectation for PHPUnit 11.3.1+.
* Update the polyfills to mirror the improvement made in PHPUnit upstream.

I've chosen to implement the latter as it makes the message significantly more informative.

This means that on PHPUnit 6.x to 9.x and 11.3.1+, the new, improved message is shown. While on PHPUnit 10.0 - 11.3.0, the "old" message is shown as, in that case, the PHPUnit native `assertIsList()` method is used without the message improvements.

Includes:
* Renaming the `assertIsListFailureDescription()` method parameter from `$other` to `$value` to be more descriptive.
* Updating the tests, including adding an extra test with an anonymous class as that has separate handling for the error message in the polyfill.

Refs:
* https://github.com/sebastianbergmann/phpunit/commit/5e8b79e52
* https://github.com/sebastianbergmann/phpunit/commit/42cfc7d59

12 of 12 new or added lines in 1 file covered. (100.0%)

579 of 596 relevant lines covered (97.15%)

124.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.1-phpunit-10.0.12 - 10681623345.1 03 Sep 2024 11:00AM UTC 31
14.1
GitHub Action Run
2 php-7.4-phpunit-phar-8 - 10681623345.2 03 Sep 2024 11:00AM UTC 31
58.16
GitHub Action Run
3 php-8.3-phpunit-phar-9 - 10681623345.3 03 Sep 2024 11:00AM UTC 31
27.84
GitHub Action Run
4 php-8.2-phpunit-9.3.0 - 10681623345.4 03 Sep 2024 11:00AM UTC 31
52.94
GitHub Action Run
5 php-8.3-phpunit-phar-10 - 10681623345.5 03 Sep 2024 11:00AM UTC 31
4.51
GitHub Action Run
6 php-8.0-phpunit-auto - 10681623345.6 03 Sep 2024 11:00AM UTC 31
27.65
GitHub Action Run
7 php-7.3-phpunit-auto - 10681623345.7 03 Sep 2024 11:00AM UTC 31
28.63
GitHub Action Run
8 php-7.3-phpunit-phar-9.0 - 10681623345.8 03 Sep 2024 11:00AM UTC 31
56.82
GitHub Action Run
9 php-7.3-phpunit-7.2.7 - 10681623345.9 03 Sep 2024 11:00AM UTC 31
80.18
GitHub Action Run
10 php-7.3-phpunit-phar-7 - 10681623345.10 03 Sep 2024 11:00AM UTC 31
62.5
GitHub Action Run
11 php-7.2-phpunit-~7.1.0 - 10681623345.11 03 Sep 2024 11:00AM UTC 31
79.82
GitHub Action Run
12 php-8.3-phpunit-auto - 10681623345.12 03 Sep 2024 11:00AM UTC 31
4.51
GitHub Action Run
13 php-7.2-phpunit-phar-8.0 - 10681623345.13 03 Sep 2024 11:00AM UTC 31
62.15
GitHub Action Run
14 php-7.0-phpunit-6.4.4 - 10681623345.14 03 Sep 2024 11:00AM UTC 31
79.44
GitHub Action Run
15 php-8.1-phpunit-auto - 10681623345.15 03 Sep 2024 11:00AM UTC 31
4.51
GitHub Action Run
16 php-7.4-phpunit-8.1.6 - 10681623345.16 03 Sep 2024 11:00AM UTC 31
62.5
GitHub Action Run
17 php-7.1-phpunit-~6.4.4 - 10681623345.17 03 Sep 2024 11:00AM UTC 31
79.61
GitHub Action Run
18 php-8.0-phpunit-9.3.0 - 10681623345.18 03 Sep 2024 11:00AM UTC 31
52.94
GitHub Action Run
19 php-8.1-phpunit-phar-10.0 - 10681623345.19 03 Sep 2024 11:00AM UTC 31
14.71
GitHub Action Run
20 php-7.2-phpunit-phar-6 - 10681623345.20 03 Sep 2024 11:00AM UTC 31
80.0
GitHub Action Run
21 php-7.0-phpunit-auto - 10681623345.21 03 Sep 2024 11:00AM UTC 31
79.44
GitHub Action Run
22 php-7.4-phpunit-auto - 10681623345.22 03 Sep 2024 11:00AM UTC 31
28.82
GitHub Action Run
23 php-8.3-phpunit-10.1.0 - 10681623345.23 03 Sep 2024 11:00AM UTC 31
4.51
GitHub Action Run
24 php-8.1-phpunit-9.3.0 - 10681623345.24 03 Sep 2024 11:00AM UTC 31
52.94
GitHub Action Run
25 php-7.2-phpunit-auto - 10681623345.25 03 Sep 2024 11:00AM UTC 31
57.29
GitHub Action Run
26 php-7.1-phpunit-auto - 10681623345.26 03 Sep 2024 11:00AM UTC 31
61.74
GitHub Action Run
27 php-8.2-phpunit-auto - 10681623345.27 03 Sep 2024 11:00AM UTC 31
4.51
GitHub Action Run
28 php-7.4-phpunit-9.6.10 - 10681623345.28 03 Sep 2024 11:00AM UTC 31
38.82
GitHub Action Run
Source Files on build 10681623345
  • Tree
  • List 31
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10681623345
  • e023969e on github
  • Prev Build on WIP/3.x (#10681576687)
  • Next Build on WIP/3.x (#10681740284)
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