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

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

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 03 Sep 2024 11:10AM 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 11:08AM UTC coverage: 97.152%. Remained the same
10681768699

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

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

2 existing lines in 1 file now uncovered.

580 of 597 relevant lines covered (97.15%)

124.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.3-phpunit-phar-9 - 10681768699.1 03 Sep 2024 11:10AM UTC 0
27.98
GitHub Action Run
2 php-8.3-phpunit-10.1.0 - 10681768699.2 03 Sep 2024 11:10AM UTC 0
4.5
GitHub Action Run
3 php-7.0-phpunit-6.4.4 - 10681768699.3 03 Sep 2024 11:10AM UTC 0
79.47
GitHub Action Run
4 php-7.2-phpunit-phar-6 - 10681768699.4 03 Sep 2024 11:10AM UTC 0
80.04
GitHub Action Run
5 php-7.2-phpunit-phar-8.0 - 10681768699.5 03 Sep 2024 11:10AM UTC 0
62.22
GitHub Action Run
6 php-7.4-phpunit-9.6.10 - 10681768699.6 03 Sep 2024 11:10AM UTC 0
38.94
GitHub Action Run
7 php-8.3-phpunit-phar-10 - 10681768699.7 03 Sep 2024 11:10AM UTC 0
4.5
GitHub Action Run
8 php-7.2-phpunit-~7.1.0 - 10681768699.8 03 Sep 2024 11:10AM UTC 0
79.86
GitHub Action Run
9 php-8.0-phpunit-9.3.0 - 10681768699.9 03 Sep 2024 11:10AM UTC 0
53.03
GitHub Action Run
10 php-7.4-phpunit-auto - 10681768699.10 03 Sep 2024 11:10AM UTC 0
28.96
GitHub Action Run
11 php-8.1-phpunit-10.0.12 - 10681768699.11 03 Sep 2024 11:10AM UTC 0
14.07
GitHub Action Run
12 php-7.4-phpunit-8.1.6 - 10681768699.12 03 Sep 2024 11:10AM UTC 0
62.56
GitHub Action Run
13 php-7.3-phpunit-auto - 10681768699.13 03 Sep 2024 11:10AM UTC 0
28.77
GitHub Action Run
14 php-8.1-phpunit-9.3.0 - 10681768699.14 03 Sep 2024 11:10AM UTC 0
53.03
GitHub Action Run
15 php-7.3-phpunit-phar-7 - 10681768699.15 03 Sep 2024 11:10AM UTC 0
62.56
GitHub Action Run
16 php-8.0-phpunit-auto - 10681768699.16 03 Sep 2024 11:10AM UTC 0
27.79
GitHub Action Run
17 php-8.3-phpunit-auto - 10681768699.17 03 Sep 2024 11:10AM UTC 0
4.5
GitHub Action Run
18 php-8.1-phpunit-phar-10.0 - 10681768699.18 03 Sep 2024 11:10AM UTC 0
14.68
GitHub Action Run
19 php-7.3-phpunit-phar-9.0 - 10681768699.19 03 Sep 2024 11:10AM UTC 0
56.9
GitHub Action Run
20 php-7.3-phpunit-7.2.7 - 10681768699.20 03 Sep 2024 11:10AM UTC 0
80.21
GitHub Action Run
21 php-8.2-phpunit-9.3.0 - 10681768699.21 03 Sep 2024 11:10AM UTC 0
53.03
GitHub Action Run
22 php-7.4-phpunit-phar-8 - 10681768699.22 03 Sep 2024 11:10AM UTC 0
58.23
GitHub Action Run
23 php-7.2-phpunit-auto - 10681768699.23 03 Sep 2024 11:10AM UTC 0
57.37
GitHub Action Run
24 php-8.2-phpunit-auto - 10681768699.24 03 Sep 2024 11:10AM UTC 0
4.5
GitHub Action Run
25 php-8.1-phpunit-auto - 10681768699.25 03 Sep 2024 11:10AM UTC 0
4.5
GitHub Action Run
26 php-7.0-phpunit-auto - 10681768699.26 03 Sep 2024 11:10AM UTC 0
79.47
GitHub Action Run
27 php-7.1-phpunit-auto - 10681768699.27 03 Sep 2024 11:10AM UTC 0
61.81
GitHub Action Run
28 php-7.1-phpunit-~6.4.4 - 10681768699.28 03 Sep 2024 11:10AM UTC 0
79.65
GitHub Action Run
Source Files on build 10681768699
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10681768699
  • 35b07717 on github
  • Prev Build on WIP/3.x (#10681740284)
  • Next Build on WIP/3.x (#10681835006)
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