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

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

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 15 Jan 2025 06:07AM UTC
Jobs 29
Files 33
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

15 Jan 2025 06:06AM UTC coverage: 98.331% (-0.1%) from 98.445%
12782524653

push

github

jrfnl
Modernizer: add scalar + return type declarations (wherever possible)

In line with the new minimum of PHPUnit 7.x, the assertions in the PHPUnit Polyfills will now have both parameter as well as return type declarations (wherever possible considering the minimum supported PHP version of PHP 7.1).

Additional type declarations will be added in future majors if/when the minimum supported PHP version allows for it.

Includes removing polyfilled inline type checks for assertions which were introduced in PHPUnit with declared types, but for which the polyfills couldn't type the parameters prior to this.

Includes minor adjustments to exception expectations in the tests to allow for the PHP native `TypeError`s - in contrast to the emulated ones.

Notes:
* `AssertObjectProperty`: the `string` type for the `$propertyName` parameter for the `assertObject[Not]HasProperty()` has not been applied as it would invalidate the type check (as we can't enforce `strict_types` for tests using the assertion).

Refs:
* https://github.com/sebastianbergmann/phpunit/commit/852e5405d
* https://github.com/sebastianbergmann/phpunit/commit/a7ab2b9b5

74 of 74 new or added lines in 16 files covered. (100.0%)

589 of 599 relevant lines covered (98.33%)

141.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.1-phpunit-phar-7.5 - 12782524653.1 15 Jan 2025 06:07AM UTC 33
85.91
GitHub Action Run
2 php-7.3-phpunit-7.5.16 - 12782524653.2 15 Jan 2025 06:07AM UTC 33
86.28
GitHub Action Run
3 php-7.4-phpunit-8.1.6 - 12782524653.3 15 Jan 2025 06:07AM UTC 33
86.46
GitHub Action Run
4 php-8.4-phpunit-auto - 12782524653.4 15 Jan 2025 06:07AM UTC 33
4.44
GitHub Action Run
5 php-8.4-phpunit-phar-9 - 12782524653.5 15 Jan 2025 06:07AM UTC 33
59.65
GitHub Action Run
6 php-7.3-phpunit-phar-7 - 12782524653.6 15 Jan 2025 06:07AM UTC 33
86.46
GitHub Action Run
7 php-7.2-phpunit-auto - 12782524653.7 15 Jan 2025 06:07AM UTC 33
81.25
GitHub Action Run
8 php-7.4-phpunit-9.6.10 - 12782524653.8 15 Jan 2025 06:07AM UTC 33
69.69
GitHub Action Run
9 php-8.3-phpunit-phar-11 - 12782524653.9 15 Jan 2025 06:07AM UTC 33
4.44
GitHub Action Run
10 php-7.1-phpunit-7.5.0 - 12782524653.10 15 Jan 2025 06:07AM UTC 33
85.74
GitHub Action Run
11 php-8.2-phpunit-~11.1.0 - 12782524653.11 15 Jan 2025 06:07AM UTC 33
33.89
GitHub Action Run
12 php-8.2-phpunit-phar-11.0 - 12782524653.12 15 Jan 2025 06:07AM UTC 33
34.07
GitHub Action Run
13 php-8.1-phpunit-auto - 12782524653.13 15 Jan 2025 06:07AM UTC 33
59.27
GitHub Action Run
14 php-7.3-phpunit-phar-9.0 - 12782524653.14 15 Jan 2025 06:07AM UTC 33
80.83
GitHub Action Run
15 php-7.1-phpunit-auto - 12782524653.15 15 Jan 2025 06:07AM UTC 33
85.74
GitHub Action Run
16 php-7.4-phpunit-auto - 12782524653.16 15 Jan 2025 06:07AM UTC 33
59.85
GitHub Action Run
17 php-8.2-phpunit-9.3.0 - 12782524653.17 15 Jan 2025 06:07AM UTC 33
71.81
GitHub Action Run
18 php-8.2-phpunit-auto - 12782524653.18 15 Jan 2025 06:07AM UTC 33
4.44
GitHub Action Run
19 php-8.4-phpunit-11.3.6 - 12782524653.19 15 Jan 2025 06:07AM UTC 33
18.7
GitHub Action Run
20 php-8.1-phpunit-9.3.0 - 12782524653.20 15 Jan 2025 06:07AM UTC 33
71.81
GitHub Action Run
21 php-7.2-phpunit-phar-8.0 - 12782524653.21 15 Jan 2025 06:07AM UTC 33
86.11
GitHub Action Run
22 php-8.0-phpunit-9.3.0 - 12782524653.22 15 Jan 2025 06:07AM UTC 33
71.81
GitHub Action Run
23 php-7.2-phpunit-~7.5.0 - 12782524653.23 15 Jan 2025 06:07AM UTC 33
85.94
GitHub Action Run
24 php-8.3-phpunit-11.0.0 - 12782524653.24 15 Jan 2025 06:07AM UTC 33
33.89
GitHub Action Run
25 php-8.0-phpunit-auto - 12782524653.25 15 Jan 2025 06:07AM UTC 33
59.27
GitHub Action Run
26 php-8.3-phpunit-auto - 12782524653.26 15 Jan 2025 06:07AM UTC 33
4.44
GitHub Action Run
27 php-7.4-phpunit-phar-8 - 12782524653.27 15 Jan 2025 06:07AM UTC 33
82.29
GitHub Action Run
28 php-8.4-phpunit-phar-11 - 12782524653.28 15 Jan 2025 06:07AM UTC 33
4.44
GitHub Action Run
29 php-7.3-phpunit-auto - 12782524653.29 15 Jan 2025 06:07AM UTC 33
59.65
GitHub Action Run
Source Files on build 12782524653
  • Tree
  • List 33
  • Changed 17
  • Source Changed 17
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12782524653
  • e1a3029e on github
  • Prev Build on 4.x (#12776645490)
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