1
0
Fork 0

reverted simplification cause of php < 5.3.6

pull/2052/head
Robert Schönthal 2013-07-09 15:53:27 +02:00
parent f75dda759d
commit 860483e97e
1 changed files with 1 additions and 2 deletions

View File

@ -66,10 +66,9 @@ class ClassMapGenerator
$map = array(); $map = array();
foreach ($path as $file) { foreach ($path as $file) {
/** @var \SplFileInfo $file */
$filePath = $file->getRealPath(); $filePath = $file->getRealPath();
if (!in_array($file->getExtension(), array('php', 'inc'))) { if (!in_array(pathinfo($filePath, PATHINFO_EXTENSION), array('php', 'inc'))) {
continue; continue;
} }