You've already forked Epicnabbo-Catalogus-Updated-Daily
18 lines
451 B
PHP
18 lines
451 B
PHP
<?php
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\LevelSetList;
|
|
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
|
|
|
|
return RectorConfig::configure()
|
|
->withPaths([
|
|
__DIR__ . '/app',
|
|
__DIR__ . '/routes',
|
|
__DIR__ . '/config',
|
|
])
|
|
->withPhpSets()
|
|
->withSets([LevelSetList::UP_TO_PHP_85])
|
|
->withRules([
|
|
AddVoidReturnTypeWhereNoReturnRector::class,
|
|
]);
|