You've already forked Epicnabbo-Catalogus-Updated-Daily
🆙 Forget data back 🆙
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
use Rector\Set\ValueObject\SetList;
|
||||
use Rector\ValueObject\PhpVersion;
|
||||
// Voeg deze import toe:
|
||||
use RectorLaravel\Set\LaravelLevelSetList;
|
||||
use RectorLaravel\Set\LaravelSetList;
|
||||
|
||||
return RectorConfig::configure()
|
||||
->withPaths([
|
||||
__DIR__ . '/app',
|
||||
__DIR__ . '/bootstrap',
|
||||
__DIR__ . '/config',
|
||||
__DIR__ . '/resources', // Belangrijk voor Blade/Thema logica
|
||||
__DIR__ . '/routes',
|
||||
])
|
||||
->withPhpVersion(PhpVersion::PHP_85)
|
||||
->withSets([
|
||||
LevelSetList::UP_TO_PHP_85,
|
||||
// Dit activeert de gratis "Laravel Shift" naar versie 12:
|
||||
LaravelLevelSetList::UP_TO_LARAVEL_120,
|
||||
LaravelSetList::LARAVEL_CODE_QUALITY,
|
||||
SetList::CODE_QUALITY,
|
||||
SetList::DEAD_CODE,
|
||||
])
|
||||
->withSkip([
|
||||
__DIR__ . '/lang/vendor',
|
||||
__DIR__ . '/storage', // Altijd overslaan
|
||||
]);
|
||||
Reference in New Issue
Block a user