Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PHPUnit to ^9.4 #10

Merged
merged 1 commit into from
Nov 29, 2020
Merged

Update PHPUnit to ^9.4 #10

merged 1 commit into from
Nov 29, 2020

Conversation

timoschinkel
Copy link
Owner

In preparation of supporting PHP 8 - and because it is good practice - update PHPUnit requirement to ^9.4. This has the side effect that support for PHP 7.2 is dropped.

  • Update PHP requirement from ^7.2 to ^7.3
  • Update PHPUnit requirement to ^9.4
  • Add development dependency phpspec/prophecy-phpunit to remedy the deprecation warnings that Prophecy will be removed from PHPUnit 10
  • Replace calls to TestCase::assertRegExp() to calls to TestCase::assertMatchesRegularExpression()

In preparation of supporting PHP 8 - and because it is good practice - update PHPUnit requirement to `^9.4`. This has the side effect that support for PHP 7.2 is dropped.

- Update PHP requirement from `^7.2` to `^7.3`
- Update PHPUnit requirement to `^9.4`
- Add development dependency `phpspec/prophecy-phpunit` to remedy the deprecation warnings that Prophecy will be removed from PHPUnit 10
- Replace calls to `TestCase::assertRegExp()` to calls to `TestCase::assertMatchesRegularExpression()`
@timoschinkel timoschinkel merged commit 60be6f4 into main Nov 29, 2020
@timoschinkel timoschinkel deleted the update-phpunit branch November 29, 2020 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant