Correctly check all directories in loop in PHP_CodeSniffer command.