mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
66cc09e8b6
d118ae38e2
Use phpstan-deprecation-rules (#3330)
13 lines
498 B
PHP
13 lines
498 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202302;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
|
|
use Rector\Php82\Rector\FuncCall\Utf8DecodeEncodeToMbConvertEncodingRector;
|
|
use Rector\Php82\Rector\New_\FilesystemIteratorSkipDotsRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rules([ReadOnlyClassRector::class, Utf8DecodeEncodeToMbConvertEncodingRector::class, FilesystemIteratorSkipDotsRector::class]);
|
|
};
|