Skip to content

Commit a18d9d3

Browse files
authored
Update rector.php
1 parent cb11f2b commit a18d9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
$rectorConfig->cacheDirectory('./var/cache/rector');
1515

1616
$rectorConfig->paths(
17-
explode("\n", shell_exec("git ls-files | grep '\.php$'"))
17+
array_filter(explode("\n", shell_exec("git ls-files | grep '\.php$'")))
1818
);
1919

2020
// define sets of rules

0 commit comments

Comments
 (0)