Skip to content

PHPUnit 9 Shift#109

Open
drysius wants to merge 1 commit intodevelopfrom
shift-89632
Open

PHPUnit 9 Shift#109
drysius wants to merge 1 commit intodevelopfrom
shift-89632

Conversation

@drysius
Copy link
Member

@drysius drysius commented Apr 29, 2023

This pull request contains changes for upgrading to PHPUnit 9 automated by the PHPUnit 9 Shift.

Before merging, you need to:

  • Checkout the shift-89632 branch
  • Review all pull request comments for additional changes
  • Run composer update (if the scripts fail, add --no-scripts)
  • Run your tests suite: vendor/bin/phpunit

If there were changes you felt could have been automated, please reply to the follow-up email with your feedback or on Twitter.

From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html
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.

2 participants