Allowed PHP version under 5.3.6 (See: http://php.net/manual/fr/splfileinfo.getextension.php). Fixes #43
This commit is contained in:
parent
1b7daacb2f
commit
2b76115177
|
@ -78,7 +78,7 @@ EOT
|
|||
foreach ($files as $file) {
|
||||
$this->writeNewFile($output, (string) $file);
|
||||
|
||||
if ('sql' === $file->getExtension()) {
|
||||
if ('sql' === pathinfo($file->getFilename(), PATHINFO_EXTENSION)) {
|
||||
$nbFiles++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue