diff --git a/rector.php b/rector.php index 34ad228..4c1314c 100644 --- a/rector.php +++ b/rector.php @@ -55,6 +55,9 @@ $parameters->set(Option::BOOTSTRAP_FILES, [ realpath(getcwd()) . '/vendor/codeigniter4/framework/system/Test/bootstrap.php', ]); + + + $parameters->set(Option::PHPSTAN_FOR_RECTOR_PATH, __DIR__ . '/phpstan.neon.dist'); // Set the target version for refactoring $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_74);