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

Yoast / PHPUnit-Polyfills / 8570094142
96%
3.x: 98%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 05 Apr 2024 12:52PM UTC
Jobs 23
Files 41
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

05 Apr 2024 12:51PM UTC coverage: 95.833% (-0.4%) from 96.232%
8570094142

push

github

jrfnl
AssertClosedResource: fix compatibility with PHPUnit 8/9 PHAR files

PHPUnit 8.5..38 and 9.6.19 contain a change in the PHAR files. In particular, a change in how external dependencies included in the packaged PHAR files are prefixed to prevent conflicts with potentially Composer installed dependencies on the same packages.

In practice, the prefix for these external dependencies which is being added when the PHAR is being build has changed from `PHPUnit\\` to `PHPUnitPHAR\\`.

This impacts the `AssertClosedResource` polyfill which uses the `SebastianBergmann\Exporter\Exporter` class from the external `Exporter` dependency.

This commit fixes the issue.

Refs:
* https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.38
* https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.19

5 of 8 new or added lines in 1 file covered. (62.5%)

667 of 696 relevant lines covered (95.83%)

63.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
89.29
-10.71% src/Polyfills/AssertClosedResource.php
Jobs
ID Job ID Ran Files Coverage
1 php-8.3-phpunit-auto - 8570094142.1 05 Apr 2024 12:52PM UTC 41
8.57
GitHub Action Run
2 php-7.2-phpunit-6.3.1 - 8570094142.2 05 Apr 2024 12:52PM UTC 41
61.88
GitHub Action Run
3 php-7.0-phpunit-auto - 8570094142.3 05 Apr 2024 12:52PM UTC 41
50.88
GitHub Action Run
4 php-7.1-phpunit-auto - 8570094142.4 05 Apr 2024 12:52PM UTC 41
43.52
GitHub Action Run
5 php-8.1-phpunit-9.3.0 - 8570094142.5 05 Apr 2024 12:52PM UTC 41
30.54
GitHub Action Run
6 php-8.2-phpunit-9.3.0 - 8570094142.6 05 Apr 2024 12:52PM UTC 41
30.36
GitHub Action Run
7 php-5.6-phpunit-auto - 8570094142.7 05 Apr 2024 12:52PM UTC 41
51.39
GitHub Action Run
8 php-8.0-phpunit-9.3.0 - 8570094142.8 05 Apr 2024 12:52PM UTC 41
30.54
GitHub Action Run
9 php-7.4-phpunit-auto - 8570094142.9 05 Apr 2024 12:52PM UTC 41
9.64
GitHub Action Run
10 php-8.2-phpunit-auto - 8570094142.10 05 Apr 2024 12:52PM UTC 41
8.57
GitHub Action Run
11 php-8.3-phpunit-9.3.0 - 8570094142.11 05 Apr 2024 12:52PM UTC 41
30.36
GitHub Action Run
12 php-8.0-phpunit-auto - 8570094142.12 05 Apr 2024 12:52PM UTC 41
8.57
GitHub Action Run
13 php-7.0-phpunit-5.7.27 - 8570094142.13 05 Apr 2024 12:52PM UTC 41
51.32
GitHub Action Run
14 php-7.3-phpunit-7.2.7 - 8570094142.14 05 Apr 2024 12:52PM UTC 41
61.44
GitHub Action Run
15 php-5.4-phpunit-auto - 8570094142.15 05 Apr 2024 12:52PM UTC 41
68.83
GitHub Action Run
16 php-7.4-phpunit-9.6.10 - 8570094142.16 05 Apr 2024 12:52PM UTC 41
18.75
GitHub Action Run
17 php-8.1-phpunit-auto - 8570094142.17 05 Apr 2024 12:52PM UTC 41
8.57
GitHub Action Run
18 php-5.6-phpunit-5.7.21 - 8570094142.18 05 Apr 2024 12:52PM UTC 41
51.39
GitHub Action Run
19 php-7.4-phpunit-8.1.6 - 8570094142.19 05 Apr 2024 12:52PM UTC 41
43.95
GitHub Action Run
20 php-7.2-phpunit-auto - 8570094142.20 05 Apr 2024 12:52PM UTC 41
34.58
GitHub Action Run
21 php-7.1-phpunit-5.7.21 - 8570094142.21 05 Apr 2024 12:52PM UTC 41
61.44
GitHub Action Run
22 php-5.5-phpunit-auto - 8570094142.22 05 Apr 2024 12:52PM UTC 41
68.83
GitHub Action Run
23 php-7.3-phpunit-auto - 8570094142.23 05 Apr 2024 12:52PM UTC 41
9.64
GitHub Action Run
Source Files on build 8570094142
  • Tree
  • List 41
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8570094142
  • fc675fc1 on github
  • Prev Build on 1.x (#8548642019)
  • Next Build on feature/support-phpunit-8.5.38-9.6.19 (#8570161862)
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