Permalink
Browse files

Allowed PHP version under 5.3.6 (See: http://php.net/manual/fr/splfil…

  • Loading branch information...
willdurand committed Sep 12, 2011
1 parent 1b7daac commit 2b7611517751178ba0aceec50e46f0481be79ace
Showing with 1 addition and 1 deletion.
  1. +1 −1 Command/BuildSqlCommand.php
@@ -78,7 +78,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
foreach ($files as $file) {
$this->writeNewFile($output, (string) $file);
- if ('sql' === $file->getExtension()) {
+ if ('sql' === pathinfo($file->getFilename(), PATHINFO_EXTENSION)) {
$nbFiles++;
}
}

0 comments on commit 2b76115

Please sign in to comment.