mirror of
https://github.com/coollabsio/coolify.git
synced 2026-08-28 10:05:25 -05:00
chore(tooling): add rector caching
This commit is contained in:
@@ -47,6 +47,7 @@ Homestead.yaml
|
||||
|
||||
/storage/**
|
||||
!/storage/**/
|
||||
/storage/rector/**
|
||||
|
||||
.git
|
||||
.gitattributes
|
||||
|
||||
@@ -51,3 +51,4 @@ Homestead.yaml
|
||||
!/storage/app
|
||||
!/storage/framework
|
||||
!/storage/logs
|
||||
!/storage/rector
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Caching\ValueObject\Storage\FileCacheStorage;
|
||||
use Rector\Config\RectorConfig;
|
||||
use Rector\Php83\Rector\ClassMethod\AddOverrideAttributeToOverriddenMethodsRector;
|
||||
use RectorLaravel\Rector\ArrayDimFetch\EnvVariableToEnvHelperRector;
|
||||
@@ -77,6 +78,7 @@ return RectorConfig::configure()
|
||||
__DIR__.'/bootstrap/cache',
|
||||
AddOverrideAttributeToOverriddenMethodsRector::class,
|
||||
])
|
||||
->withCache(__DIR__.'/storage/rector', FileCacheStorage::class)
|
||||
->withPhpSets()
|
||||
->withPreparedSets(
|
||||
deadCode: true,
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
||||
Reference in New Issue
Block a user