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

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

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 10 Aug 2025 04:04AM UTC
Jobs 33
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

10 Aug 2025 04:03AM UTC coverage: 96.408%. Remained the same
16857068151

push

github

jrfnl
PHP 8.5 | Tests: prevent deprecation notice for Reflection*::setAccessible()

Since PHP 8.1, calling the `Reflection*::setAccessible()` methods is no longer necessary as reflected properties/methods/etc will always be accessible.
However, the method calls are still needed for PHP < 8.1.

As of PHP 8.5, calling the `Reflection*::setAccessible()` methods is now formally deprecated and will yield a deprecation notice, which will fail test runs.
As of PHP 9.0, the `setAccessible()` method(s) will be removed.

With the latter in mind, this commit prevents the deprecation notice by making the calls to `setAccessible()` conditional.

Silencing the deprecation would mean, this would need to be "fixed" again come PHP 9.0, while the current solution should be stable, including for PHP 9.0.

Ref: https://wiki.php.net/rfc/deprecations_php_8_5#extreflection_deprecations

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

671 of 696 relevant lines covered (96.41%)

95.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-8.0-phpunit-auto - 16857068151.1 10 Aug 2025 04:04AM UTC 41
8.57
GitHub Action Run
2 php-5.4-phpunit-auto - 16857068151.2 10 Aug 2025 04:04AM UTC 41
68.83
GitHub Action Run
3 php-7.4-phpunit-phar-8 - 16857068151.3 10 Aug 2025 04:08AM UTC 41
35.01
GitHub Action Run
4 php-8.1-phpunit-9.3.0 - 16857068151.4 10 Aug 2025 04:04AM UTC 41
30.41
GitHub Action Run
5 php-8.4-phpunit-auto - 16857068151.5 10 Aug 2025 04:04AM UTC 41
8.41
GitHub Action Run
6 php-8.2-phpunit-auto - 16857068151.6 10 Aug 2025 04:04AM UTC 41
8.41
GitHub Action Run
7 php-7.3-phpunit-phar-7 - 16857068151.7 10 Aug 2025 04:08AM UTC 41
44.09
GitHub Action Run
8 php-8.0-phpunit-9.3.0 - 16857068151.8 10 Aug 2025 04:04AM UTC 41
30.54
GitHub Action Run
9 php-7.4-phpunit-auto - 16857068151.9 10 Aug 2025 04:04AM UTC 41
9.64
GitHub Action Run
10 php-7.0-phpunit-auto - 16857068151.10 10 Aug 2025 04:04AM UTC 41
61.0
GitHub Action Run
11 php-7.3-phpunit-auto - 16857068151.11 10 Aug 2025 04:04AM UTC 41
9.64
GitHub Action Run
12 php-8.1-phpunit-auto - 16857068151.12 10 Aug 2025 04:04AM UTC 41
8.41
GitHub Action Run
13 php-7.0-phpunit-5.7.27 - 16857068151.13 10 Aug 2025 04:04AM UTC 41
61.44
GitHub Action Run
14 php-8.4-phpunit-9.6.21 - 16857068151.14 10 Aug 2025 04:04AM UTC 41
8.41
GitHub Action Run
15 php-7.3-phpunit-phar-9.0 - 16857068151.15 10 Aug 2025 04:07AM UTC 41
34.15
GitHub Action Run
16 php-5.5-phpunit-auto - 16857068151.16 10 Aug 2025 04:05AM UTC 41
68.83
GitHub Action Run
17 php-8.2-phpunit-9.3.0 - 16857068151.17 10 Aug 2025 04:04AM UTC 41
30.23
GitHub Action Run
18 php-5.6-phpunit-5.7.21 - 16857068151.18 10 Aug 2025 04:04AM UTC 41
51.39
GitHub Action Run
19 php-5.6-phpunit-auto - 16857068151.19 10 Aug 2025 04:04AM UTC 41
51.39
GitHub Action Run
20 php-7.2-phpunit-6.3.1 - 16857068151.20 10 Aug 2025 04:04AM UTC 41
61.88
GitHub Action Run
21 php-7.4-phpunit-9.6.10 - 16857068151.21 10 Aug 2025 04:04AM UTC 41
18.75
GitHub Action Run
22 php-7.2-phpunit-auto - 16857068151.22 10 Aug 2025 04:04AM UTC 41
34.58
GitHub Action Run
23 php-7.2-phpunit-phar-6 - 16857068151.23 10 Aug 2025 04:08AM UTC 41
61.29
GitHub Action Run
24 php-7.3-phpunit-7.2.7 - 16857068151.24 10 Aug 2025 04:04AM UTC 41
61.44
GitHub Action Run
25 php-7.4-phpunit-8.1.6 - 16857068151.25 10 Aug 2025 04:04AM UTC 41
43.95
GitHub Action Run
26 php-7.2-phpunit-phar-8.0 - 16857068151.26 10 Aug 2025 04:08AM UTC 41
43.8
GitHub Action Run
27 php-8.4-phpunit-phar-9 - 16857068151.27 10 Aug 2025 04:08AM UTC 41
8.41
GitHub Action Run
28 php-7.1-phpunit-auto - 16857068151.28 10 Aug 2025 04:04AM UTC 41
43.52
GitHub Action Run
29 php-7.1-phpunit-phar-5 - 16857068151.29 10 Aug 2025 04:08AM UTC 41
61.44
GitHub Action Run
30 php-5.6-phpunit-phar-4 - 16857068151.30 10 Aug 2025 04:15AM UTC 41
68.83
GitHub Action Run
31 php-8.3-phpunit-9.3.0 - 16857068151.31 10 Aug 2025 04:04AM UTC 41
30.23
GitHub Action Run
32 php-8.3-phpunit-auto - 16857068151.32 10 Aug 2025 04:04AM UTC 41
8.41
GitHub Action Run
33 php-7.1-phpunit-5.7.21 - 16857068151.33 10 Aug 2025 04:04AM UTC 41
61.44
GitHub Action Run
Source Files on build 16857068151
  • 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 #16857068151
  • 5c49998f on github
  • Prev Build on 1.x (#16580007518)
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

© 2025 Coveralls, Inc