From 7fe99c315b3b4263e147a776bb1266e624929ae4 Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 2 May 2021 23:56:23 +0200 Subject: [PATCH] Fix rector --- rector.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rector.php b/rector.php index 313f8c4342..0ff2e0234b 100644 --- a/rector.php +++ b/rector.php @@ -18,11 +18,11 @@ return static function (ContainerConfigurator $containerConfigurator): void { __DIR__ . '/static', __DIR__ . '/bin', __DIR__ . '/view', - __DIR__ ]); $parameters->set(Option::SKIP, [ __DIR__ . '/view/asset', + __DIR__ . '/vendor', ]); // here we can define, what sets of rules will be applied @@ -34,4 +34,5 @@ return static function (ContainerConfigurator $containerConfigurator): void { // is your PHP version different from the one your refactor to? [default: your PHP version] $parameters->set(Option::PHP_VERSION_FEATURES, '7.0'); + $parameters->set(Option::ENABLE_CACHE, true); };