Skip to content

Commit ed7aabf

Browse files
committed
Fix phpstan
1 parent 55165c0 commit ed7aabf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/set/downgrade-php82.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
use Rector\Config\RectorConfig;
66
use Rector\ValueObject\PhpVersion;
77
use Rector\DowngradePhp82\Rector\Class_\DowngradeReadonlyClassRector;
8+
use Rector\DowngradePhp82\Rector\FuncCall\DowngradeIteratorCountToArrayRector;
89
use Rector\DowngradePhp82\Rector\FunctionLike\DowngradeStandaloneNullTrueFalseReturnTypeRector;
910

1011
return static function (RectorConfig $rectorConfig): void {
1112
$rectorConfig->phpVersion(PhpVersion::PHP_81);
1213
$rectorConfig->rules([
1314
DowngradeReadonlyClassRector::class,
14-
DowngradeStandaloneNullTrueFalseReturnTypeRector::class
15+
DowngradeStandaloneNullTrueFalseReturnTypeRector::class,
16+
DowngradeIteratorCountToArrayRector::class,
1517
]);
1618
};

0 commit comments

Comments
 (0)