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

Yoast / PHPUnit-Polyfills / 10744193674
97%
3.x: 98%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 06 Sep 2024 07:34PM 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

06 Sep 2024 07:32PM UTC coverage: 97.152% (+0.05%) from 97.104%
10744193674

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%)

580 of 597 relevant lines covered (97.15%)

124.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.2-phpunit-auto - 10744193674.1 06 Sep 2024 07:34PM UTC 0
57.37
GitHub Action Run
2 php-8.1-phpunit-phar-10.0 - 10744193674.2 06 Sep 2024 07:34PM UTC 0
14.68
GitHub Action Run
3 php-8.2-phpunit-auto - 10744193674.3 06 Sep 2024 07:34PM UTC 0
4.5
GitHub Action Run
4 php-8.3-phpunit-auto - 10744193674.4 06 Sep 2024 07:34PM UTC 0
4.5
GitHub Action Run
5 php-8.3-phpunit-phar-10 - 10744193674.5 06 Sep 2024 07:35PM UTC 0
4.5
GitHub Action Run
6 php-8.0-phpunit-auto - 10744193674.6 06 Sep 2024 07:35PM UTC 0
27.79
GitHub Action Run
7 php-8.1-phpunit-auto - 10744193674.7 06 Sep 2024 07:34PM UTC 0
4.5
GitHub Action Run
8 php-7.4-phpunit-auto - 10744193674.8 06 Sep 2024 07:34PM UTC 0
28.96
GitHub Action Run
9 php-7.4-phpunit-9.6.10 - 10744193674.9 06 Sep 2024 07:35PM UTC 0
38.94
GitHub Action Run
10 php-7.3-phpunit-7.2.7 - 10744193674.10 06 Sep 2024 07:34PM UTC 0
80.21
GitHub Action Run
11 php-7.1-phpunit-~6.4.4 - 10744193674.11 06 Sep 2024 07:34PM UTC 0
79.65
GitHub Action Run
12 php-7.3-phpunit-phar-7 - 10744193674.12 06 Sep 2024 07:34PM UTC 0
62.56
GitHub Action Run
13 php-7.3-phpunit-phar-9.0 - 10744193674.13 06 Sep 2024 07:34PM UTC 0
56.9
GitHub Action Run
14 php-7.4-phpunit-8.1.6 - 10744193674.14 06 Sep 2024 07:35PM UTC 0
62.56
GitHub Action Run
15 php-7.2-phpunit-phar-6 - 10744193674.15 06 Sep 2024 07:35PM UTC 0
80.04
GitHub Action Run
16 php-8.1-phpunit-10.0.12 - 10744193674.16 06 Sep 2024 07:35PM UTC 0
14.07
GitHub Action Run
17 php-7.0-phpunit-6.4.4 - 10744193674.17 06 Sep 2024 07:34PM UTC 0
79.47
GitHub Action Run
18 php-8.0-phpunit-9.3.0 - 10744193674.18 06 Sep 2024 07:35PM UTC 0
53.03
GitHub Action Run
19 php-7.0-phpunit-auto - 10744193674.19 06 Sep 2024 07:34PM UTC 0
79.47
GitHub Action Run
20 php-8.1-phpunit-9.3.0 - 10744193674.20 06 Sep 2024 07:34PM UTC 0
53.03
GitHub Action Run
21 php-7.3-phpunit-auto - 10744193674.21 06 Sep 2024 07:34PM UTC 0
28.77
GitHub Action Run
22 php-7.1-phpunit-auto - 10744193674.22 06 Sep 2024 07:35PM UTC 0
61.81
GitHub Action Run
23 php-7.2-phpunit-~7.1.0 - 10744193674.23 06 Sep 2024 07:35PM UTC 0
79.86
GitHub Action Run
24 php-8.3-phpunit-phar-9 - 10744193674.24 06 Sep 2024 07:35PM UTC 0
27.98
GitHub Action Run
25 php-7.2-phpunit-phar-8.0 - 10744193674.25 06 Sep 2024 07:35PM UTC 0
62.22
GitHub Action Run
26 php-8.2-phpunit-9.3.0 - 10744193674.26 06 Sep 2024 07:34PM UTC 0
53.03
GitHub Action Run
27 php-8.3-phpunit-10.1.0 - 10744193674.27 06 Sep 2024 07:34PM UTC 0
4.5
GitHub Action Run
28 php-7.4-phpunit-phar-8 - 10744193674.28 06 Sep 2024 07:34PM UTC 0
58.23
GitHub Action Run
Source Files on build 10744193674
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10744193674
  • a0766bb1 on github
  • Prev Build on 3.x (#10744170113)
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