The failure message thrown for the assertIsClosedResource() and assertIsNotClosedResource() assertions will now be more informative, most notably, when the value under test is a closed resource. PR #65, props [Alain Schlesser] for reporting.
The failure message thrown for the assertIsClosedResource() and assertIsNotClosedResource() assertions will now be more informative, most notably, when the value under test is a closed resource. PR #65, props [Alain Schlesser] for reporting.
As of version 2.15.0 of the shivammathur/setup-php action for GitHub Actions, the PHPUnit Polyfills can be installed directly from this action using the tools key.
Added
README: FAQ section about installing and using the library via the shivammathur/setup-php action. PR #52
Changed
README: minor textual clarifications and improvements. PRs #52, #54, props [Pierre Gordon].
General housekeeping.
Fixed
Autoloader: improved compatibility with packages which create a class_alias for the PHPUnit_Runner_Version or PHPUnit\Runner\Version class. PR #59
The Yoast\PHPUnitPolyfills\Autoload class now contains a VERSION constant. Issue #46, PR #47, props [Pascal Birchler] for the suggestion.
This version constant can be used by (complex) test setups to verify that the PHPUnit Polyfills which will be loaded, comply with the version requirements for the test suite.
Yoast\PHPUnitPolyfills\Polyfills\AssertClosedResource trait to polyfill the Assert::assertIsClosedResource() and Assert::assertIsNotClosedResource() methods as introduced in PHPUnit 9.3.0. PR #27.
Yoast\PHPUnitPolyfills\Polyfills\AssertObjectEquals trait to polyfill the Assert::assertObjectEquals() method as introduced in PHPUnit 9.4.0. PR #38.
The behaviour of the polyfill closely matches the PHPUnit native implementation, but is not 100% the same.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on yoast/phpunit-polyfills to permit the latest version.
Release notes
Sourced from yoast/phpunit-polyfills's releases.
Changelog
Sourced from yoast/phpunit-polyfills's changelog.
... (truncated)
Commits
5ea3536
Merge pull request #68 from Yoast/developa6d09df
Merge pull request #67 from Yoast/feature/changelog-1.0.35cec6c0
Changelog for release 1.0.30b45bcc
Merge pull request #66 from Yoast/feature/tests-minor-stabilization6732940
Test bootstrap: declare thePHPUNIT_TESTSUITE
constant8a5d6e4
Merge pull request #65 from Yoast/feature/assertclosedresource-improve-error-...d7c0982
AssertClosedResource: improve error messages0670f2e
Merge pull request #64 from Yoast/feature/PHPUnit-10-tweakfd6d557
Tests: tweaks for PHPUnit 10.x compatibility33024ff
Merge pull request #63 from Yoast/feature/ghactions-various-improvementsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)