laravel / browser-kit-testing

Provides backwards compatibility for BrowserKit testing in the latest Laravel release.
MIT License
509 stars 75 forks source link

[5.0] Provide PHPUnit 8 compatibility #87

Closed driesvints closed 5 years ago

driesvints commented 5 years ago

This commit provides full compatibility with PHPUnit 8 while still maintaining compatibility with v7. This allows users to have an even easier upgrade path. We may remove support for v7 in a next release.

I've added a new test class which will fail if tested with PHPUnit 8 that indicates the required void return type on the tearDown and setUp methods.

Sending this to master because this is a breaking change.