We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f95d8 commit db8a7dfCopy full SHA for db8a7df
rector.php
@@ -2,6 +2,7 @@
2
3
declare(strict_types=1);
4
5
+use Rector\Caching\ValueObject\Storage\FileCacheStorage;
6
use Rector\CodeQuality\Rector\BooleanAnd\SimplifyEmptyArrayCheckRector;
7
use Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector;
8
use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector;
@@ -50,6 +51,12 @@
50
51
52
$rectorConfig->parallel();
53
54
+ // Github action cache
55
+ $rectorConfig->cacheClass(FileCacheStorage::class);
56
+ if (is_dir('/tmp')) {
57
+ $rectorConfig->cacheDirectory('/tmp/rector');
58
+ }
59
+
60
// The paths to refactor (can also be supplied with CLI arguments)
61
$rectorConfig->paths([
62
__DIR__ . '/src/',
0 commit comments