mirror of
https://github.com/LDAPAccountManager/lam.git
synced 2025-10-03 09:49:16 +02:00
refactoring
This commit is contained in:
parent
db86b6656d
commit
2a9e6ef7bf
3 changed files with 6 additions and 5 deletions
|
@ -1,13 +1,11 @@
|
|||
<?php
|
||||
|
||||
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
|
||||
use Rector\CodeQuality\Rector\ClassMethod\ExplicitReturnNullRector;
|
||||
use Rector\CodeQuality\Rector\ClassMethod\InlineArrayReturnAssignRector;
|
||||
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
|
||||
use Rector\CodeQuality\Rector\For_\ForRepeatedCountToOwnVariableRector;
|
||||
use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
|
||||
use Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector;
|
||||
use Rector\Php70\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector;
|
||||
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
|
||||
|
@ -46,7 +44,8 @@ return RectorConfig::configure()
|
|||
FlipTypeControlToUseExclusiveTypeRector::class,
|
||||
InlineArrayReturnAssignRector::class,
|
||||
// TODO unreliable, recheck with newer rector version
|
||||
ExplicitReturnNullRector::class
|
||||
ExplicitReturnNullRector::class,
|
||||
RemoveParentCallWithoutParentRector::class
|
||||
])
|
||||
->withFileExtensions([
|
||||
'php',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue