PHPUnit 6 Shift

The PHPUnit 6 Shift reviews your tests for any backward incompatible changes and automates the upgrade process to PHPUnit 6.

Requirements

  • Running PHP 7.0 or higher.
  • Previously running PHPUnit 4 or higher.
  • Test class within the tests folder.

Automated Changes

  • Converting references to the PHPUnit_Framework PSR-0 namespace to their respective PSR-4 references.
  • Updating phpunit/phpunit composer dependency to ^8.0.
  • Modernizing PHP syntax, such as the short array syntax.

Manual Changes

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.

Still have questions? Message @laravelshift on Twitter or email support@laravelshift.com.

Sign in with any of the following services to connect Shift with your Laravel project.


Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.