Skip to content

Commit

Permalink
Merge pull request #56 from pluswerk/Kanti-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored Feb 7, 2023
2 parents acbd254 + 666c4bb commit 7e57f61
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 | grep '\.php$'")))
array_filter(explode("\n", (string)shell_exec("git ls-files | xargs ls -d 2>/dev/null | grep '\.php$'")))
);

// define sets of rules
Expand Down

0 comments on commit 7e57f61

Please sign in to comment.