mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 09:49:16 +02:00
refactoring
This commit is contained in:
parent
a002ef87db
commit
6394a9ca7a
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
use Rector\Config\RectorConfig;
|
use Rector\Config\RectorConfig;
|
||||||
use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector;
|
use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector;
|
||||||
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
|
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
|
||||||
|
use Rector\Php74\Rector\Property\RestoreDefaultNullToNullableTypePropertyRector;
|
||||||
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
|
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
|
||||||
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
|
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
|
||||||
use Rector\Set\ValueObject\LevelSetList;
|
use Rector\Set\ValueObject\LevelSetList;
|
||||||
|
@ -26,7 +27,8 @@ return RectorConfig::configure()
|
||||||
ReadOnlyPropertyRector::class,
|
ReadOnlyPropertyRector::class,
|
||||||
ClassPropertyAssignToConstructorPromotionRector::class,
|
ClassPropertyAssignToConstructorPromotionRector::class,
|
||||||
StaticCallOnNonStaticToInstanceCallRector::class,
|
StaticCallOnNonStaticToInstanceCallRector::class,
|
||||||
StringifyStrNeedlesRector::class
|
StringifyStrNeedlesRector::class,
|
||||||
|
RestoreDefaultNullToNullableTypePropertyRector::class,
|
||||||
])
|
])
|
||||||
->withFileExtensions([
|
->withFileExtensions([
|
||||||
'php',
|
'php',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue