Skip to content

PHPUnit 8 Shift#1

Open
donorservices wants to merge 2 commits into
2.0from
shift-92475
Open

PHPUnit 8 Shift#1
donorservices wants to merge 2 commits into
2.0from
shift-92475

Conversation

@donorservices

Copy link
Copy Markdown
Owner

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

Before merging, you need to:

  • Checkout the shift-92475 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
@donorservices

Copy link
Copy Markdown
Owner Author

ℹ️ PHPUnit 8 now enables resolution of test dependencies by default. This was optionally introduced in PHPUnit 7.2. If necessary, you may configure this from the command line or within phpunit.xml.

@donorservices

Copy link
Copy Markdown
Owner Author

ℹ️ PHPUnit 8 now enables caching of test results by default. This was optionally introduced in PHPUnit 7.3. If necessary, you may configure this from the command line or within phpunit.xml.

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