The PHPUnit 13 Shift automates the upgrade of your PHPUnit 11 test suite to PHPUnit 13. Using the PHPUnit 13 Shift to automatically upgrade your PHPUnit test suite has an estimated time savings of 30 minutes.
PHPUnit 13 is the latest stable release. This means both PHPUnit and the PHPUnit 13 Shift will continue to receive updates.
tests folder.phpunit/phpunit composer dependency to ^13.0.isType(), containsOnly(), assertContainsOnly(), assertNotContainsOnly()) with their type-specific methods.#[RunClassInSeparateProcess] attribute with #[RunTestsInSeparateProcesses].Configuration::includeTestSuite() and excludeTestSuite() to their plural forms.testClassName() calls to test()->className().expectExceptionMessageIsOrContains() in place of expectExceptionMessage().#[RequiresPhp], #[RequiresPhpunit], and #[RequiresPhpExtension] attributes.-ascending equivalents.--dont-report-useless-tests CLI option.any() matcher, non-positive atLeast() arguments, and method-level #[CoversNothing].While the PHPUnit 13 Shift addresses most of the backward incompatible changes, you may wish to review the CHANGELOG 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.