dshafik / php7-mysql-shim

A shim for ext/mysql in PHP 7+
MIT License
392 stars 102 forks source link

Bump yoast/phpunit-polyfills from 0.2.0 to 1.0.1 #77

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps yoast/phpunit-polyfills from 0.2.0 to 1.0.1.

Release notes

Sourced from yoast/phpunit-polyfills's releases.

1.0.1

Added

  • 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.

Changed

  • Minor documentation updates. #43

#43: Yoast/PHPUnit-Polyfills#43 #46: Yoast/PHPUnit-Polyfills#46 #47: Yoast/PHPUnit-Polyfills#47 [Pascal Birchler]: https://github.com/swissspidy

1.0.0

Added

  • 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. Most notably, the polyfill will check the type of the returned value from the comparator method instead of enforcing a return type declaration for the comparator method.
  • Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializations trait to polyfill the Assert::equalToCanonicalizing(), Assert::equalToIgnoringCase() and Assert::equalToWithDelta() methods as introduced in PHPUnit 9.0.0. PR #28, props Marc Siegrist.
  • Polyfills for the PHP native Error and TypeError classes as introduced in PHP 7.0. PR #36.
  • README: FAQ section covering functionality removed from PHPUnit and usage with a Phar.

Changed

  • The minimum supported PHP version has been lowered to PHP 5.4 (was 5.5). PR #19.
  • XTestCase: the visibility of the setUpFixtures() and the tearDownFixtures() methods has been changed to protected (was public). Issue #10, PR #20, props Mark Baker for reporting.
  • README: re-ordered the sections and various other improvements.
  • Initial preparation for PHPUnit 10.0 compatibility.
  • General housekeeping.

Fixed

  • Issue #17 via PR #18 - AssertStringContainString: PHPUnit < 6.4.2 would throw a "mb_strpos(): empty delimiter" PHP warning when the $needle passed was an empty string. Props Gary Jones.

#10: Yoast/PHPUnit-Polyfills#10 #17: Yoast/PHPUnit-Polyfills#17 #18: Yoast/PHPUnit-Polyfills#18 #19: Yoast/PHPUnit-Polyfills#19 #20: Yoast/PHPUnit-Polyfills#20 #27: Yoast/PHPUnit-Polyfills#27 #28: Yoast/PHPUnit-Polyfills#28 #36: Yoast/PHPUnit-Polyfills#36 #38: Yoast/PHPUnit-Polyfills#38

Changelog

Sourced from yoast/phpunit-polyfills's changelog.

[1.0.1] - 2021-08-09

Added

  • 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.

Changed

  • Minor documentation updates. #43

#43: Yoast/PHPUnit-Polyfills#43 #46: Yoast/PHPUnit-Polyfills#46 #47: Yoast/PHPUnit-Polyfills#47

[1.0.0] - 2021-06-21

Added

  • 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. Most notably, the polyfill will check the type of the returned value from the comparator method instead of enforcing a return type declaration for the comparator method.
  • Yoast\PHPUnitPolyfills\Polyfills\EqualToSpecializations trait to polyfill the Assert::equalToCanonicalizing(), Assert::equalToIgnoringCase() and Assert::equalToWithDelta() methods as introduced in PHPUnit 9.0.0. PR #28, props [Marc Siegrist].
  • Polyfills for the PHP native Error and TypeError classes as introduced in PHP 7.0. PR #36.
  • README: FAQ section covering functionality removed from PHPUnit and usage with a Phar.

Changed

  • The minimum supported PHP version has been lowered to PHP 5.4 (was 5.5). PR #19.
  • XTestCase: the visibility of the setUpFixtures() and the tearDownFixtures() methods has been changed to protected (was public). Issue #10, PR #20, props [Mark Baker] for reporting.
  • README: re-ordered the sections and various other improvements.
  • Initial preparation for PHPUnit 10.0 compatibility.
  • General housekeeping.

Fixed

  • Issue #17 via PR #18 - AssertStringContainString: PHPUnit < 6.4.2 would throw a "mb_strpos(): empty delimiter" PHP warning when the $needle passed was an empty string. Props [Gary Jones].

#10: Yoast/PHPUnit-Polyfills#10 #17: Yoast/PHPUnit-Polyfills#17 #18: Yoast/PHPUnit-Polyfills#18 #19: Yoast/PHPUnit-Polyfills#19 #20: Yoast/PHPUnit-Polyfills#20 #27: Yoast/PHPUnit-Polyfills#27 #28: Yoast/PHPUnit-Polyfills#28 #36: Yoast/PHPUnit-Polyfills#36 #38: Yoast/PHPUnit-Polyfills#38

Commits
  • f014fb2 Merge pull request #50 from Yoast/develop
  • c7bffa8 Merge pull request #49 from Yoast/feature/changelog-1.0.1
  • 77fffb8 Changelog for the 1.0.1 release
  • c026a2d Merge pull request #48 from Yoast/feature/add-release-checklist
  • 83071e0 Add a release checklist
  • a8cb6d9 Merge pull request #47 from Yoast/feature/46-add-version-nr-constant
  • 1dfc422 Autoload: add version number constant
  • 1b89291 Merge pull request #44 from Yoast/feature/ghactions-turn-on-error-reporting
  • 855af7b GH Actions: set error reporting to E_ALL
  • 473ab5d Merge pull request #43 from Yoast/feature/readme-tweaks
  • Additional commits viewable in compare view


Dependabot compatibility score

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)