Skip to content

Commit

Permalink
Update rector.php only run it on php files
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed Apr 18, 2024
1 parent 96303dd commit b1c8a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$rectorConfig->cacheDirectory('./var/cache/rector');

$rectorConfig->paths(
array_filter(explode("\n", (string)shell_exec("git ls-files | xargs ls -d 2>/dev/null | grep -E '\.(php|html|typoscript)$'")))
array_filter(explode("\n", (string)shell_exec("git ls-files | xargs ls -d 2>/dev/null | grep -E '\.(php)$'")))
);

// define sets of rules
Expand Down

0 comments on commit b1c8a31

Please sign in to comment.