mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
chore(tooling): add rector caching
This commit is contained in:
parent
1f107efb1f
commit
c02affe975
4 changed files with 6 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ Homestead.yaml
|
|||
|
||||
/storage/**
|
||||
!/storage/**/
|
||||
/storage/rector/**
|
||||
|
||||
.git
|
||||
.gitattributes
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -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,
|
||||
|
|
|
|||
2
storage/rector/.gitignore
vendored
Normal file
2
storage/rector/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
||||
Loading…
Reference in a new issue