Skip to content

Commit fdfae98

Browse files
authored
Merge pull request #39 from samsonasik/patch-1
Set PHPStan For rector path
2 parents 196b5c4 + 1f049ef commit fdfae98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@
5555
$parameters->set(Option::BOOTSTRAP_FILES, [
5656
realpath(getcwd()) . '/vendor/codeigniter4/framework/system/Test/bootstrap.php',
5757
]);
58+
59+
60+
$parameters->set(Option::PHPSTAN_FOR_RECTOR_PATH, __DIR__ . '/phpstan.neon.dist');
5861

5962
// Set the target version for refactoring
6063
$parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_74);

0 commit comments

Comments
 (0)