diff --git a/rector.php b/rector.php index 56363b480c..b49e5dad97 100644 --- a/rector.php +++ b/rector.php @@ -1,18 +1,19 @@ paths([ +return RectorConfig::configure() + ->withPaths([ __DIR__ . '/lib', __DIR__ . '/tests', + ]) + ->withSkip([ + __DIR__ . '/lib/Vendor' ]); - $rectorConfig->skip([ - __DIR__ . '/lib/Vendor', - ]); -};