The PHPUnit 9 Shift reviews your tests for any backward incompatible changes and automates the upgrade process to PHPUnit 9.
tests
folder.TestCase
methods.phpunit/phpunit
composer dependency to ^9.0
.assertInternalType
to its type specific equivalent.assertContains
and converting to the string
assertion when appropriate.expectExceptionMessageRegExp
and assertEquals
.@covers Classname::<*>
and assertAttribute*
.While the PHPUnit 9 Shift addresses most of the backward incompatible changes, you may wish to review the release notes for additional details.
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.