Skip to content

Commit

Permalink
Update rector.php only run it on php files (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed Apr 18, 2024
1 parent 96303dd commit 135351c
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 135351c

Please sign in to comment.