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

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

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 03 Sep 2024 10:46AM UTC
Jobs 31
Files 37
Run time 2min
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:31AM UTC coverage: 95.846% (-1.6%) from 97.405%
10681432610

push

github

jrfnl
Tests: add `Before/After[Class]` attributes

PHPUnit 10 introduced attributes as replacements for docblock annotations.
PHPUnit 11 deprecates the use of docblock annotations in favour of attributes.

If both an attribute as well as an annotation are found, no PHPUnit deprecation warning will be thrown.

This commit adds the `Before/After*` attributes in all the appropriate places.

The `@before/after*` annotations remain as the tests also still need to run on PHP 5.6 - 8.0 using PHPUnit 5.x - 9.x.
These can be removed once the codebase has a PHP 8.1/PHPUnit 10 minimum requirement.

Note: due to the syntax for attributes, these can be safely added as they are ignored as comments on PHP < 8.0.
Along the same line, if there is no "listener" for the attributes (PHP 8.0/PHPUnit 9.x), they are ignored by PHP as well.

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

7 existing lines in 1 file now uncovered.

623 of 650 relevant lines covered (95.85%)

136.25 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
7
92.55
-7.45% src/Polyfills/AssertObjectEquals.php
Jobs
ID Job ID Ran Files Coverage
1 php-7.3-phpunit-phar-9.0 - 10681432610.1 03 Sep 2024 10:46AM UTC 37
51.19
GitHub Action Run
2 php-7.1-phpunit-phar-5 - 10681432610.2 03 Sep 2024 10:46AM UTC 37
75.86
GitHub Action Run
3 php-7.4-phpunit-auto - 10681432610.3 03 Sep 2024 10:46AM UTC 37
26.84
GitHub Action Run
4 php-7.0-phpunit-auto - 10681432610.4 03 Sep 2024 10:46AM UTC 37
75.37
GitHub Action Run
5 php-7.3-phpunit-phar-7 - 10681432610.5 03 Sep 2024 10:46AM UTC 37
56.39
GitHub Action Run
6 php-7.0-phpunit-5.7.27 - 10681432610.6 03 Sep 2024 10:46AM UTC 37
75.86
GitHub Action Run
7 php-7.2-phpunit-6.3.1 - 10681432610.7 03 Sep 2024 10:46AM UTC 37
76.38
GitHub Action Run
8 php-8.3-phpunit-10.1.0 - 10681432610.8 03 Sep 2024 10:46AM UTC 37
5.65
GitHub Action Run
9 php-8.1-phpunit-auto - 10681432610.9 03 Sep 2024 10:46AM UTC 37
5.65
GitHub Action Run
10 php-5.6-phpunit-5.7.21 - 10681432610.10 03 Sep 2024 10:46AM UTC 37
64.71
GitHub Action Run
11 php-7.1-phpunit-auto - 10681432610.11 03 Sep 2024 10:46AM UTC 37
55.68
GitHub Action Run
12 php-7.3-phpunit-7.2.7 - 10681432610.12 03 Sep 2024 10:46AM UTC 37
75.9
GitHub Action Run
13 php-7.1-phpunit-5.7.21 - 10681432610.13 03 Sep 2024 10:46AM UTC 37
75.86
GitHub Action Run
14 php-8.1-phpunit-9.3.0 - 10681432610.14 03 Sep 2024 10:46AM UTC 37
48.35
GitHub Action Run
15 php-7.2-phpunit-auto - 10681432610.15 03 Sep 2024 10:46AM UTC 37
51.6
GitHub Action Run
16 php-8.2-phpunit-auto - 10681432610.16 03 Sep 2024 10:46AM UTC 37
5.65
GitHub Action Run
17 php-8.1-phpunit-phar-10.0 - 10681432610.17 03 Sep 2024 10:51AM UTC 37
15.26
GitHub Action Run
18 php-7.3-phpunit-auto - 10681432610.18 03 Sep 2024 10:46AM UTC 37
26.84
GitHub Action Run
19 php-8.0-phpunit-auto - 10681432610.19 03 Sep 2024 10:46AM UTC 37
25.74
GitHub Action Run
20 php-7.4-phpunit-phar-8 - 10681432610.20 03 Sep 2024 10:46AM UTC 37
52.24
GitHub Action Run
21 php-8.0-phpunit-9.3.0 - 10681432610.21 03 Sep 2024 10:46AM UTC 37
48.35
GitHub Action Run
22 php-7.4-phpunit-9.6.10 - 10681432610.22 03 Sep 2024 10:46AM UTC 37
36.21
GitHub Action Run
23 php-8.3-phpunit-auto - 10681432610.23 03 Sep 2024 10:46AM UTC 37
5.65
GitHub Action Run
24 php-7.2-phpunit-phar-6 - 10681432610.24 03 Sep 2024 10:46AM UTC 37
75.73
GitHub Action Run
25 php-5.6-phpunit-auto - 10681432610.25 03 Sep 2024 10:46AM UTC 37
64.71
GitHub Action Run
26 php-8.2-phpunit-9.3.0 - 10681432610.26 03 Sep 2024 10:46AM UTC 37
48.16
GitHub Action Run
27 php-8.3-phpunit-phar-9 - 10681432610.27 03 Sep 2024 10:51AM UTC 37
25.92
GitHub Action Run
28 php-7.2-phpunit-phar-8.0 - 10681432610.28 03 Sep 2024 10:46AM UTC 37
56.07
GitHub Action Run
29 php-7.4-phpunit-8.1.6 - 10681432610.29 03 Sep 2024 10:46AM UTC 37
56.23
GitHub Action Run
30 php-8.1-phpunit-10.0.12 - 10681432610.30 03 Sep 2024 10:46AM UTC 37
14.66
GitHub Action Run
31 php-8.3-phpunit-phar-10 - 10681432610.31 03 Sep 2024 10:51AM UTC 37
5.65
GitHub Action Run
Source Files on build 10681432610
  • Tree
  • List 37
  • Changed 15
  • Source Changed 7
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10681432610
  • 92d70624 on github
  • Prev Build on WIP/3.x (#9975227369)
  • Next Build on WIP/3.x (#10681530567)
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