Skip to content

Commit 39f4eb7

Browse files
ycerutonicolas-grekas
authored andcommitted
Code enhancement and cleanup
1 parent a6c9489 commit 39f4eb7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Command/YamlLintCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
8585
throw new \RuntimeException(sprintf('File or directory "%s" is not readable', $filename));
8686
}
8787

88-
$files = array();
8988
if (is_file($filename)) {
9089
$files = array($filename);
9190
} elseif (is_dir($filename)) {

0 commit comments

Comments
 (0)