Allowed PHP version under 5.3.6 (See: http://php.net/manual/fr/splfileinfo.getextension.php). Fixes #43

This commit is contained in:
William DURAND 2011-09-12 18:59:44 +03:00
parent 1b7daacb2f
commit 2b76115177

View file

@ -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++;
}
}