@@ -44,7 +44,7 @@ |
||
44 | 44 | if (is_null($exceptionClass)) { |
45 | 45 | $exceptionClass = static::EXCEPTION_THROW_CLASS; |
46 | 46 | } |
47 | - set_error_handler(function ($errorNumber, $errorMessage, $errorFile, $errorLine) use ($exceptionClass) { |
|
47 | + set_error_handler(function($errorNumber, $errorMessage, $errorFile, $errorLine) use ($exceptionClass) { |
|
48 | 48 | throw new $exceptionClass( |
49 | 49 | sprintf("%s in %s on line %s!", $errorMessage, $errorFile, $errorLine), |
50 | 50 | $errorNumber |
@@ -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 | } |