| @@ -6,7 +6,6 @@ | ||
| 6 | 6 | /** | 
| 7 | 7 | * @dataProvider provideScenarios | 
| 8 | 8 | * @param string $className | 
| 9 | - * @param string $extension | |
| 10 | 9 | * @param array $expectedFoundClasses | 
| 11 | 10 | */ | 
| 12 | 11 | public function testClassSearch($className, $expectedFoundClasses) | 
| @@ -12,7 +12,7 @@ | ||
| 12 | 12 | public function testClassSearch($className, $expectedFoundClasses) | 
| 13 | 13 |      { | 
| 14 | 14 | $classFinder = new ClassFinder( | 
| 15 | - realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'fixtures' . DIRECTORY_SEPARATOR, | |
| 15 | + realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR.'fixtures'.DIRECTORY_SEPARATOR, | |
| 16 | 16 | $className | 
| 17 | 17 | ); | 
| 18 | 18 | |
| @@ -93,21 +93,21 @@ | ||
| 93 | 93 |          $this->log(sprintf("Scanning dir %s, found %d files", $directory, count($files))); | 
| 94 | 94 |          foreach ($files as $index => $file) { | 
| 95 | 95 | // recursive retrieve files in subdirectories | 
| 96 | -            if (true === is_dir($directory . DIRECTORY_SEPARATOR . $file) && !in_array($file, [".", ".."])) { | |
| 96 | +            if (true === is_dir($directory.DIRECTORY_SEPARATOR.$file) && !in_array($file, [".", ".."])) { | |
| 97 | 97 | $fileList = array_merge( | 
| 98 | 98 | $fileList, | 
| 99 | - $this->getFiles($directory . DIRECTORY_SEPARATOR . $file) | |
| 99 | + $this->getFiles($directory.DIRECTORY_SEPARATOR.$file) | |
| 100 | 100 | ); | 
| 101 | 101 | continue; | 
| 102 | 102 | } | 
| 103 | 103 | |
| 104 | 104 | // not the file we want | 
| 105 | 105 |              if (false === $this->isRequiredFile($file)) { | 
| 106 | -                $this->log(sprintf("Files %s is not required", $directory . DIRECTORY_SEPARATOR . $file)); | |
| 106 | +                $this->log(sprintf("Files %s is not required", $directory.DIRECTORY_SEPARATOR.$file)); | |
| 107 | 107 | continue; | 
| 108 | 108 | } | 
| 109 | -            $this->log(sprintf("Collected %s", $directory . DIRECTORY_SEPARATOR . $file)); | |
| 110 | - $fileList[] = $directory . DIRECTORY_SEPARATOR . $file; | |
| 109 | +            $this->log(sprintf("Collected %s", $directory.DIRECTORY_SEPARATOR.$file)); | |
| 110 | + $fileList[] = $directory.DIRECTORY_SEPARATOR.$file; | |
| 111 | 111 | } | 
| 112 | 112 | return $fileList; | 
| 113 | 113 | } |