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

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

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 06 Sep 2024 06:45PM UTC
Jobs 29
Files 35
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

06 Sep 2024 06:43PM UTC coverage: 96.423%. First build
10743602567

push

github

jrfnl
Drop support for PHP < 7.0 [4]

In the original implementation of the `assertObjectEquals()` polyfill, the polyfill could not mirror the PHPUnit native implementation completely as that required support for return types, which was only added in PHP 7.0, while the polyfill was introduced in PHPUnit Polyfills 1.0, which still supported PHP 5.5.

So instead of checking whether the "comparator" method had a return type declared and verifying that this return type complied with the requirements set by PHPUnit, the polyfill originally checked whether the _returned value_ complied with the required type.

Now support for PHP < 7.0 is being dropped, the `assertObjectEquals()` polyfill can be updated to fix this implementation difference.

Includes unit tests for the changed functionality/new logic paths throwing exceptions.
Includes updated documentation in the README.

Refs:
* 38
* sebastianbergmann/phpunit 4707
* sebastianbergmann/phpunit 4467
* sebastianbergmann/phpunit 4707
* https://github.com/sebastianbergmann/phpunit/commit/1dba8c3a4
* https://github.com/sebastianbergmann/phpunit/commit/6099c5eef

28 of 29 new or added lines in 1 file covered. (96.55%)

620 of 643 relevant lines covered (96.42%)

124.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.98
src/Polyfills/AssertObjectEquals.php
Jobs
ID Job ID Ran Files Coverage
1 php-8.0-phpunit-auto - 10743602567.1 06 Sep 2024 06:45PM UTC 35
25.5
GitHub Action Run
2 php-7.1-phpunit-5.7.21 - 10743602567.2 06 Sep 2024 06:45PM UTC 35
76.25
GitHub Action Run
3 php-8.3-phpunit-phar-10 - 10743602567.3 06 Sep 2024 06:46PM UTC 35
5.6
GitHub Action Run
4 php-8.2-phpunit-9.3.0 - 10743602567.4 06 Sep 2024 06:45PM UTC 35
49.0
GitHub Action Run
5 php-7.2-phpunit-auto - 10743602567.5 06 Sep 2024 06:46PM UTC 35
52.22
GitHub Action Run
6 php-7.4-phpunit-8.1.6 - 10743602567.6 06 Sep 2024 06:46PM UTC 35
56.8
GitHub Action Run
7 php-7.0-phpunit-5.7.27 - 10743602567.7 06 Sep 2024 06:45PM UTC 35
76.09
GitHub Action Run
8 php-7.1-phpunit-auto - 10743602567.8 06 Sep 2024 06:45PM UTC 35
56.26
GitHub Action Run
9 php-8.1-phpunit-phar-10.0 - 10743602567.9 06 Sep 2024 06:45PM UTC 35
15.12
GitHub Action Run
10 php-7.4-phpunit-9.6.10 - 10743602567.10 06 Sep 2024 06:46PM UTC 35
35.88
GitHub Action Run
11 php-8.1-phpunit-auto - 10743602567.11 06 Sep 2024 06:46PM UTC 35
5.6
GitHub Action Run
12 php-7.1-phpunit-phar-5 - 10743602567.12 06 Sep 2024 06:46PM UTC 35
76.25
GitHub Action Run
13 php-7.3-phpunit-auto - 10743602567.13 06 Sep 2024 06:45PM UTC 35
26.59
GitHub Action Run
14 php-8.3-phpunit-phar-9 - 10743602567.14 06 Sep 2024 06:46PM UTC 35
25.68
GitHub Action Run
15 php-8.3-phpunit-auto - 10743602567.15 06 Sep 2024 06:45PM UTC 35
5.6
GitHub Action Run
16 php-8.0-phpunit-9.3.0 - 10743602567.16 06 Sep 2024 06:45PM UTC 35
49.0
GitHub Action Run
17 php-7.2-phpunit-6.3.1 - 10743602567.17 06 Sep 2024 06:45PM UTC 35
76.77
GitHub Action Run
18 php-8.1-phpunit-9.3.0 - 10743602567.18 06 Sep 2024 06:45PM UTC 35
49.0
GitHub Action Run
19 php-7.3-phpunit-phar-9.0 - 10743602567.19 06 Sep 2024 06:46PM UTC 35
51.81
GitHub Action Run
20 php-7.0-phpunit-auto - 10743602567.20 06 Sep 2024 06:46PM UTC 35
75.61
GitHub Action Run
21 php-7.4-phpunit-phar-8 - 10743602567.21 06 Sep 2024 06:45PM UTC 35
52.85
GitHub Action Run
22 php-7.2-phpunit-phar-6 - 10743602567.22 06 Sep 2024 06:46PM UTC 35
76.13
GitHub Action Run
23 php-8.3-phpunit-10.1.0 - 10743602567.23 06 Sep 2024 06:45PM UTC 35
5.6
GitHub Action Run
24 php-7.3-phpunit-phar-7 - 10743602567.24 06 Sep 2024 06:45PM UTC 35
56.96
GitHub Action Run
25 php-8.2-phpunit-auto - 10743602567.25 06 Sep 2024 06:45PM UTC 35
5.6
GitHub Action Run
26 php-7.2-phpunit-phar-8.0 - 10743602567.26 06 Sep 2024 06:46PM UTC 35
56.65
GitHub Action Run
27 php-7.3-phpunit-7.2.7 - 10743602567.27 06 Sep 2024 06:45PM UTC 35
76.29
GitHub Action Run
28 php-7.4-phpunit-auto - 10743602567.28 06 Sep 2024 06:46PM UTC 35
26.59
GitHub Action Run
29 php-8.1-phpunit-10.0.12 - 10743602567.29 06 Sep 2024 06:45PM UTC 35
14.54
GitHub Action Run
Source Files on build 10743602567
  • Tree
  • List 35
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10743602567
  • 8de2ad17 on github
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