Skip to content

Commit

Permalink
update rector config
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Nov 12, 2023
1 parent 777f385 commit 2d3c6b3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions exampleTemplateClass/rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
use Rector\Config\RectorConfig;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__.'/Templates/Layout.php',
]);
$rectorConfig->rule(RectorizeTemplate::class);
};

// vendor/bin/rector process exampleTemplateClass/Templates --config ./exampleTemplateClass/rector.php
// vendor/bin/rector process exampleTemplateClass/Templates --config ./exampleTemplateClass/rector.php --debug
// vendor/bin/rector process exampleTemplateClass/Templates --config ./vendor/league/plates/exampleTemplateClass/rector.php

0 comments on commit 2d3c6b3

Please sign in to comment.