Skip to content

Commit

Permalink
✨ include html files for rector changes in TYPO3 context (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored May 23, 2023
1 parent 67ec2c9 commit 59a42c8
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 '\.php$'")))
array_filter(explode("\n", (string)shell_exec("git ls-files | xargs ls -d 2>/dev/null | grep -E '\.(php|html)$'")))
);

// define sets of rules
Expand Down

0 comments on commit 59a42c8

Please sign in to comment.