The PHPUnit 6 Shift reviews your tests for any backward incompatible changes and automates the upgrade process to PHPUnit 6.
- Running PHP 7.0 or higher.
- Previously running PHPUnit 4 or higher.
- Test class within the
- Converting references to the
PHPUnit_FrameworkPSR-0 namespace to their respective PSR-4 references.
phpunit/phpunitcomposer dependency to
- Modernizing PHP syntax, such as the short array syntax.
While the PHPUnit 6 Shift addresses backward incompatible changes, there are also [deprecations](https://phpunit.de/announcements/phpunit-6.html) you may wish to review manually.