Skip to content

Commit

Permalink
✨ include html files for rector changes in TYPO3 context
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored May 23, 2023
1 parent 67ec2c9 commit 9d95ecf
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 9d95ecf

Please sign in to comment.