mirror of
https://github.com/friendica/friendica
synced 2026-04-19 20:37:24 +02:00
update rector config to PHP 7.4
This commit is contained in:
parent
47ef274176
commit
df7e15d1df
1 changed files with 2 additions and 3 deletions
|
|
@ -18,15 +18,14 @@ return \Rector\Config\RectorConfig::configure()
|
|||
])
|
||||
->withIndent("\t", 4)
|
||||
->withPhpVersion(70400)
|
||||
->withPhpLevel(36)
|
||||
// ->withTypeCoverageLevel(0)
|
||||
// ->withDeadCodeLevel(0)
|
||||
// ->withCodeQualityLevel(0)
|
||||
->withSets([
|
||||
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_70,
|
||||
\Rector\Set\ValueObject\DowngradeLevelSetList::DOWN_TO_PHP_82,
|
||||
\Rector\Set\ValueObject\LevelSetList::UP_TO_PHP_74,
|
||||
])
|
||||
->withSkip([
|
||||
\Rector\Php56\Rector\FuncCall\PowToExpRector::class,
|
||||
\Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector::class,
|
||||
])
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue