Skip to content

Commit

Permalink
use local rector path config
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab committed Nov 30, 2021
1 parent f422d52 commit 8001fe1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/plain-views/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
$parameters = $containerConfigurator->parameters();

$parameters->set(Option::PATHS, [
__DIR__.'/src/view.php',
__DIR__.'/src/',
]);
};

5 changes: 5 additions & 0 deletions e2e/template-extends/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return static function (ContainerConfigurator $containerConfigurator): void {
$parameters = $containerConfigurator->parameters();

$parameters->set(Option::PATHS, [
__DIR__.'/src/',
]);
};

0 comments on commit 8001fe1

Please sign in to comment.