mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
386 B
PHTML
20 lines
386 B
PHTML
|
5 days ago
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
use Rector\Config\RectorConfig;
|
||
|
|
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
|
||
|
|
|
||
|
|
return RectorConfig::configure()
|
||
|
|
->withPaths([
|
||
|
|
__DIR__.'/app',
|
||
|
|
])
|
||
|
|
->withSkip([
|
||
|
|
__DIR__.'/bootstrap/cache',
|
||
|
|
__DIR__.'/storage',
|
||
|
|
__DIR__.'/vendor',
|
||
|
|
])
|
||
|
|
->withRules([
|
||
|
|
RemoveAlwaysElseRector::class,
|
||
|
|
]);
|