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

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

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: 3.x
Repo Added 17 Nov 2022 01:11PM UTC
Files 33
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

LAST BUILD ON BRANCH feature/support-phpunit-8.5.38-9.6.19_-10.5.17
branch: feature/support-phpunit-8.5.38-9.6.19_-10.5.17
CHANGE BRANCH
x
Reset
  • feature/support-phpunit-8.5.38-9.6.19_-10.5.17
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 1.1.3
  • 1.1.4
  • 1.1.5
  • 1.x
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • 2.0.3
  • 2.0.4
  • 2.0.5
  • 2.0/phpunit-10/update-environment-and-ci
  • 2.0/update-readme-changelog
  • 2.x
  • 3.0.0
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • 3.x
  • 4.0.0
  • 4.0/feature/drop-support-for-php-lt-7.1
  • 4.x
  • JRF/1.x/add-phpstan
  • JRF/2.x/add-phpstan
  • JRF/CS/update-phpcs-ruleset-yoastcs-3.0.0
  • JRF/composer-add-security-link
  • JRF/composer-dont-write-lock-file
  • JRF/composer-tweaks
  • JRF/dependabot-update-config
  • JRF/docs-various-improvements
  • JRF/docs-various-tweaks
  • JRF/feature/remove-dependabot-reviewers
  • JRF/ghactions-add-merge-conflict-check
  • JRF/ghactions-php-8.3-update
  • JRF/ghactions-remove-phpunit-10-trial
  • JRF/ghactions-switch-to-coveralls-reporter
  • JRF/ghactions/dont-fail-on-8.4
  • JRF/gitattributes-minor-tweaks
  • JRF/release-checklist-update
  • JRF/removed-unused-use-statement
  • JRF/update-yoastcs-3.2.0
  • JRF/various-minor-ci-tweaks
  • TEMP/123p0712p37
  • TEMP/2123-testing
  • TEMP/21328039
  • TEMP/2183621p
  • TEMP/test-123
  • TESTING/2.x
  • WIP/3.x
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-16
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-17
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-18
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-19
  • dependabot/github_actions/1.x/DavidAnson/markdownlint-cli2-action-20
  • dependabot/github_actions/1.x/actions/checkout-5
  • dependabot/github_actions/1.x/actions/setup-node-4
  • dependabot/github_actions/1.x/actions/setup-node-5
  • dependabot/github_actions/1.x/ramsey/composer-install-3
  • dependabot/github_actions/1.x/xt0rted/markdownlint-problem-matcher-3
  • dependabot/github_actions/actions/checkout-4
  • documentation/custom-approach-expectdeprecations
  • feature/1.x-ghactions-use-nightly-for-php-next
  • feature/1.x-minor-updates-for-start-of-3.x-branch
  • feature/1.x-php-8.4-restrict-test
  • feature/1.x-readme-update-for-polyfills-3.x
  • feature/1.x/changelog-v1.1.4
  • feature/1.x/changelog-v1.1.5
  • feature/2.x-changelog-2.0.2
  • feature/2.x-readme-update-links-to-docs
  • feature/2.x/add-attributes-for-annotations
  • feature/2.x/changelog-v2.0.4
  • feature/2.x/changelog-v2.0.5
  • feature/2.x/ghactions-stop-testing-against-phpunit-dev
  • feature/2.x/readme-updates
  • feature/2.x/tests-minor-fix
  • feature/214-support-phpunit-11.5.0
  • feature/3.x/allow-for-phpunit-11
  • feature/3.x/assertislist-sync-error-message-with-upstream
  • feature/3.x/changelog-v3.1.2
  • feature/3.x/drop-support-for-assertattributehelper
  • feature/3.x/drop-support-for-php-7.0
  • feature/3.x/drop-support-for-phpunit-lt-64
  • feature/3.x/ghactions-stop-testing-against-phpunit-dev
  • feature/3.x/new-assertarraywithlistkeys-polyfill-trait
  • feature/3.x/new-assertobjectnotequals-polyfill-trait
  • feature/3.x/new-expectuserdeprecation-polyfill-trait
  • feature/3.x/sync-with-phpunit-11
  • feature/4.x/changelog-v4.0.0
  • feature/README-fix-broken-links
  • feature/add-pr-template
  • feature/assertContainsNotOnlyInstancesOf-fix-param-name
  • feature/assertistype-extra-test-closed-resource
  • feature/assertistypetest-remove-redundant-comment
  • feature/assertobjectequalstests-fix-php-8.4-deprecation
  • feature/autoload-add-minor-extra-defensive-coding
  • feature/changelog-1.1.0
  • feature/changelog-1.1.1-release
  • feature/changelog-1.1.3
  • feature/changelog-2.0.1-release
  • feature/changelog-2.0.3
  • feature/changelog-3.1.0
  • feature/changelog-3.1.1
  • feature/composer-ci-allow-for-phpunit-12
  • feature/composer-lint-scripts-cleanup
  • feature/composer-update-dependencies
  • feature/consistently-use-since-tags
  • feature/cs-minor-fixes
  • feature/cs-minor-ruleset-cleanup
  • feature/dependabot-remove-composer
  • feature/drop-support-for-phpunit-lt-7.5-1
  • feature/equaltospecializations-minor-clean-up
  • feature/fix-phpstan-config
  • feature/fix-runtime-deprecations-php-8.5
  • feature/ghactions-add-actionlint
  • feature/ghactions-add-phar-testing-job
  • feature/ghactions-fix-more-rate-limiting
  • feature/ghactions-fix-phpunit-dev-test-run
  • feature/ghactions-improve-dont-run-cronjobs-on-forks-condition
  • feature/ghactions-make-the-test-workflow-more-robust
  • feature/ghactions-reduce-rate-limit-issues
  • feature/ghactions-reinstate-token-for-setup-php
  • feature/ghactions-test-against-phpunit-10-php-8.4
  • feature/ghactions-update-for-setup-php-2.35.0
  • feature/ghactions-update-markdownlint
  • feature/ghactions-use-phpstan-1.0
  • feature/ghactions-workflow-docs
  • feature/improve-php-8.4-workaround-implicitly-nullable
  • feature/markdown-fixes
  • feature/minor-updates-for-4.x
  • feature/modernize-const-visibility
  • feature/modernize-type-declarations
  • feature/partially-revert-URL-changes
  • feature/phpstan-2.0-update
  • feature/phpstan-config-minor-simplification
  • feature/phpstan-fix-config
  • feature/phpunit-9.6.11-add-assertobjecthaspropertytrait
  • feature/phpunit-config-fix-typo
  • feature/phpunit-rename-config-file
  • feature/readme-improve-assertistype-table-format
  • feature/release-version-3.0
  • feature/remark-link-check-tweak
  • feature/remarklint-ignore-release-compare-links
  • feature/support-phpunit-8.5.38-9.6.19
  • feature/test-docs-minor-update
  • feature/tweak-markdown-workflow
  • feature/update-for-changed-message-format
  • feature/update-xtestcasetest
  • feature/work-round-phpcs-bug
  • main

05 Apr 2024 03:30PM UTC coverage: 94.753% (-0.4%) from 95.171%
8572169485

Pull #164

github

jrfnl
AssertIgnoringLineEndings: fix compatibility with PHPUnit 8/9/10 PHAR files

PHPUnit 8.5..38, 9.6.19 and 10.5.17 contain a change in the PHAR files. In particular, a change in how external dependencies included in the packaged PHAR files are prefixed to prevent conflicts with potentially Composer installed dependencies on the same packages.

In practice, the prefix for these external dependencies which is being added when the PHAR is being build has changed from `PHPUnit\\` to `PHPUnitPHAR\\`.

This impacts the `AssertIgnoringLineEndings` polyfill which uses the `SebastianBergmann\Exporter\Exporter` class from the external `Exporter` dependency.

This commit fixes the issue.

Refs:
* https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.38
* https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.19
* https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.17
Pull Request #164: AssertIgnoringLineEndings: fix compatibility with PHPUnit 8/9/10 PHAR files

4 of 7 new or added lines in 1 file covered. (57.14%)

614 of 648 relevant lines covered (94.75%)

87.2 hits per line

Relevant lines Covered
Build:
Build:
648 RELEVANT LINES 614 COVERED LINES
87.2 HITS PER LINE
Source Files on feature/support-phpunit-8.5.38-9.6.19_-10.5.17
  • Tree
  • List 37
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
8572169485 feature/support-phpunit-8.5.38-9.6.19_-10.5.17 AssertIgnoringLineEndings: fix compatibility with PHPUnit 8/9/10 PHAR files PHPUnit 8.5..38, 9.6.19 and 10.5.17 contain a change in the PHAR files. In particular, a change in how external dependencies included in the packaged PHAR files are prefi... Pull #164 05 Apr 2024 03:30PM UTC jrfnl github
94.75
8572102095 feature/support-phpunit-8.5.38-9.6.19_-10.5.17 Merge e03879e32 into 1fb6984e5 Pull #164 05 Apr 2024 03:24PM UTC web-flow github
94.75
8572061657 feature/support-phpunit-8.5.38-9.6.19_-10.5.17 AssertIgnoringLineEndings: fix compatibility with PHPUnit 8/9/10 PHAR files PHPUnit 8.5..38, 9.6.19 and 10.5.17 contain a change in the PHAR files. In particular, a change in how external dependencies included in the packaged PHAR files are prefi... push 05 Apr 2024 03:21PM UTC jrfnl github
94.75
See All Builds (650)
  • Repo 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