forked from friendica/friendica
update rector for PHP 7.0
This commit is contained in:
parent
6b782ba617
commit
dc30924759
1 changed files with 5 additions and 5 deletions
10
.rector.php
10
.rector.php
|
|
@ -18,15 +18,15 @@ return \Rector\Config\RectorConfig::configure()
|
|||
])
|
||||
->withIndent("\t", 4)
|
||||
->withPhpVersion(70400)
|
||||
->withPhpLevel(15)
|
||||
->withPhpLevel(36)
|
||||
// ->withTypeCoverageLevel(0)
|
||||
// ->withDeadCodeLevel(0)
|
||||
// ->withCodeQualityLevel(0)
|
||||
->withRules([
|
||||
\Rector\Php71\Rector\List_\ListToArrayDestructRector::class,
|
||||
])
|
||||
->withSets([
|
||||
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_55,
|
||||
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_70,
|
||||
\Rector\Set\ValueObject\DowngradeLevelSetList::DOWN_TO_PHP_82,
|
||||
])
|
||||
->withSkip([
|
||||
\Rector\Php56\Rector\FuncCall\PowToExpRector::class,
|
||||
])
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue