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

Yoast / PHPUnit-Polyfills / 7214721579
97%
3.x: 98%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Ran 14 Dec 2023 09:21PM UTC
Jobs 23
Files 41
Run time 10s
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

14 Dec 2023 09:20PM UTC coverage: 97.254%. Remained the same
7214721579

push

github

jrfnl
Composer/PHPCS: update to YoastCS 3.0.0

YoastCS 3.0.0 has been released and is based on WordPressCS 3.0.0.

This commit makes the necessary updates for that:
* Composer: update the requirements.
* PHPCS ruleset:
    - Exclude new WP specific rules which don't apply to this package.
    - Exclude code modernization sniffs which can't be applied to this package yet.
    - Enforce strict PSR-4 for both src and tests.
    - Add a few selective exclusions for specific situations.
* GHA CS workflow: run the CS check on the latest PHP version.
    No need to run on PHP 7.4 any more as the deprecations previously encountered were all fixed.
* Add one selective ignore annotation for a long closure (autoloader in the test bootstrap).

While YoastCS 3.0.0 contains lots of goodies, it also has a downside: a minimum PHP requirement of PHP 7.2, which conflicts with the minimum supported PHP version of this package.

This causes two issues:
1. A plain `composer install` will no longer work on PHP < 7.2.
    This means the YoastCS package will need to be removed for the CI linting and test workfows.
2. As the (Parallel) linting packages are "inherited" from YoastCS, removing YoastCS would break the linting command in CI, so we need to `require-dev` the Parallel Lint packages in PHPUnit Polyfills itself to allow the workflow to continue to work.

With those two work-arounds in place, everything should work again.

Refs:
* https://github.com/Yoast/yoastcs/releases/tag/3.0.0
* https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.0.0

673 of 692 relevant lines covered (97.25%)

70.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.2-phpunit-auto - 7214721579.1 14 Dec 2023 09:21PM UTC 0
34.45
GitHub Action Run
2 php-7.3-phpunit-auto - 7214721579.2 14 Dec 2023 09:21PM UTC 0
9.75
GitHub Action Run
3 php-8.2-phpunit-9.3.0 - 7214721579.3 14 Dec 2023 09:21PM UTC 0
30.69
GitHub Action Run
4 php-7.1-phpunit-5.7.21 - 7214721579.4 14 Dec 2023 09:21PM UTC 0
61.54
GitHub Action Run
5 php-7.2-phpunit-6.3.1 - 7214721579.5 14 Dec 2023 09:21PM UTC 0
61.98
GitHub Action Run
6 php-8.3-phpunit-9.3.0 - 7214721579.6 14 Dec 2023 09:21PM UTC 0
30.69
GitHub Action Run
7 php-5.4-phpunit-auto - 7214721579.7 14 Dec 2023 09:21PM UTC 0
80.09
GitHub Action Run
8 php-8.3-phpunit-auto - 7214721579.8 14 Dec 2023 09:21PM UTC 0
8.66
GitHub Action Run
9 php-8.1-phpunit-auto - 7214721579.9 14 Dec 2023 09:22PM UTC 0
8.66
GitHub Action Run
10 php-5.6-phpunit-5.7.21 - 7214721579.10 14 Dec 2023 09:21PM UTC 0
62.36
GitHub Action Run
11 php-7.0-phpunit-5.7.27 - 7214721579.11 14 Dec 2023 09:21PM UTC 0
61.54
GitHub Action Run
12 php-8.2-phpunit-auto - 7214721579.12 14 Dec 2023 09:21PM UTC 0
8.66
GitHub Action Run
13 php-8.0-phpunit-auto - 7214721579.13 14 Dec 2023 09:21PM UTC 0
8.66
GitHub Action Run
14 php-8.0-phpunit-9.3.0 - 7214721579.14 14 Dec 2023 09:21PM UTC 0
30.87
GitHub Action Run
15 php-5.5-phpunit-auto - 7214721579.15 14 Dec 2023 09:21PM UTC 0
80.09
GitHub Action Run
16 php-7.1-phpunit-auto - 7214721579.16 14 Dec 2023 09:21PM UTC 0
43.46
GitHub Action Run
17 php-8.1-phpunit-9.3.0 - 7214721579.17 14 Dec 2023 09:21PM UTC 0
30.87
GitHub Action Run
18 php-7.3-phpunit-7.2.7 - 7214721579.18 14 Dec 2023 09:21PM UTC 0
61.54
GitHub Action Run
19 php-7.0-phpunit-auto - 7214721579.19 14 Dec 2023 09:21PM UTC 0
61.09
GitHub Action Run
20 php-7.4-phpunit-auto - 7214721579.20 14 Dec 2023 09:21PM UTC 0
9.75
GitHub Action Run
21 php-5.6-phpunit-auto - 7214721579.21 14 Dec 2023 09:21PM UTC 0
62.36
GitHub Action Run
22 php-7.4-phpunit-9.6.10 - 7214721579.22 14 Dec 2023 09:21PM UTC 0
18.95
GitHub Action Run
23 php-7.4-phpunit-8.1.6 - 7214721579.23 14 Dec 2023 09:21PM UTC 0
43.9
GitHub Action Run
Source Files on build 7214721579
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7214721579
  • d42ef7f7 on github
  • Prev Build on 1.x (#7214418658)
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