Upgrading phpstan/phpstan-phpunit 1 to 2
Breaking1.4.2 → 2.1.1Breaking2New13Changed24Fixed13Other75
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- A configuration option was removed and replaced by a new one with a different name.
- The old InvocationMocker class is gone, so code relying on it will break.
Must act 2 items need code or config changes
PHP requirement changed in 2.0.0: ^7.2 || ^8.0 → ^7.4 || ^8.0.
What you must change
Breaking2
Removes checkDataProviderData and introduces reportMissingDataProviderReturnType.
checkDataProviderDatareportMissingDataProviderReturnTypeRemoves support for the InvocationMocker class, which no longer exists.
InvocationMocker