mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 09:49:16 +02:00
refactoring
This commit is contained in:
parent
9402d4f7b7
commit
084892890f
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use Rector\Config\RectorConfig;
|
use Rector\Config\RectorConfig;
|
||||||
|
use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector;
|
||||||
|
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
|
||||||
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;
|
||||||
|
@ -22,7 +24,9 @@ return RectorConfig::configure()
|
||||||
__DIR__ . '/lam/lib/3rdParty',
|
__DIR__ . '/lam/lib/3rdParty',
|
||||||
NullToStrictStringFuncCallArgRector::class,
|
NullToStrictStringFuncCallArgRector::class,
|
||||||
ReadOnlyPropertyRector::class,
|
ReadOnlyPropertyRector::class,
|
||||||
ClassPropertyAssignToConstructorPromotionRector::class
|
ClassPropertyAssignToConstructorPromotionRector::class,
|
||||||
|
StaticCallOnNonStaticToInstanceCallRector::class,
|
||||||
|
StringifyStrNeedlesRector::class
|
||||||
])
|
])
|
||||||
->withFileExtensions([
|
->withFileExtensions([
|
||||||
'php',
|
'php',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue