@@ -110,13 +110,13 @@ discard block |
||
110 | 110 | if (!$prefix) { |
111 | 111 | if ($prepend) { |
112 | 112 | $this->fallbackDirsPsr0 = array_merge( |
113 | - (array) $paths, |
|
113 | + (array)$paths, |
|
114 | 114 | $this->fallbackDirsPsr0 |
115 | 115 | ); |
116 | 116 | } else { |
117 | 117 | $this->fallbackDirsPsr0 = array_merge( |
118 | 118 | $this->fallbackDirsPsr0, |
119 | - (array) $paths |
|
119 | + (array)$paths |
|
120 | 120 | ); |
121 | 121 | } |
122 | 122 | |
@@ -125,19 +125,19 @@ discard block |
||
125 | 125 | |
126 | 126 | $first = $prefix[0]; |
127 | 127 | if (!isset($this->prefixesPsr0[$first][$prefix])) { |
128 | - $this->prefixesPsr0[$first][$prefix] = (array) $paths; |
|
128 | + $this->prefixesPsr0[$first][$prefix] = (array)$paths; |
|
129 | 129 | |
130 | 130 | return; |
131 | 131 | } |
132 | 132 | if ($prepend) { |
133 | 133 | $this->prefixesPsr0[$first][$prefix] = array_merge( |
134 | - (array) $paths, |
|
134 | + (array)$paths, |
|
135 | 135 | $this->prefixesPsr0[$first][$prefix] |
136 | 136 | ); |
137 | 137 | } else { |
138 | 138 | $this->prefixesPsr0[$first][$prefix] = array_merge( |
139 | 139 | $this->prefixesPsr0[$first][$prefix], |
140 | - (array) $paths |
|
140 | + (array)$paths |
|
141 | 141 | ); |
142 | 142 | } |
143 | 143 | } |
@@ -158,34 +158,34 @@ discard block |
||
158 | 158 | // Register directories for the root namespace. |
159 | 159 | if ($prepend) { |
160 | 160 | $this->fallbackDirsPsr4 = array_merge( |
161 | - (array) $paths, |
|
161 | + (array)$paths, |
|
162 | 162 | $this->fallbackDirsPsr4 |
163 | 163 | ); |
164 | 164 | } else { |
165 | 165 | $this->fallbackDirsPsr4 = array_merge( |
166 | 166 | $this->fallbackDirsPsr4, |
167 | - (array) $paths |
|
167 | + (array)$paths |
|
168 | 168 | ); |
169 | 169 | } |
170 | 170 | } elseif (!isset($this->prefixDirsPsr4[$prefix])) { |
171 | 171 | // Register directories for a new namespace. |
172 | 172 | $length = strlen($prefix); |
173 | - if ('\\' !== $prefix[$length - 1]) { |
|
173 | + if ('\\' !== $prefix[$length-1]) { |
|
174 | 174 | throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); |
175 | 175 | } |
176 | 176 | $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; |
177 | - $this->prefixDirsPsr4[$prefix] = (array) $paths; |
|
177 | + $this->prefixDirsPsr4[$prefix] = (array)$paths; |
|
178 | 178 | } elseif ($prepend) { |
179 | 179 | // Prepend directories for an already registered namespace. |
180 | 180 | $this->prefixDirsPsr4[$prefix] = array_merge( |
181 | - (array) $paths, |
|
181 | + (array)$paths, |
|
182 | 182 | $this->prefixDirsPsr4[$prefix] |
183 | 183 | ); |
184 | 184 | } else { |
185 | 185 | // Append directories for an already registered namespace. |
186 | 186 | $this->prefixDirsPsr4[$prefix] = array_merge( |
187 | 187 | $this->prefixDirsPsr4[$prefix], |
188 | - (array) $paths |
|
188 | + (array)$paths |
|
189 | 189 | ); |
190 | 190 | } |
191 | 191 | } |
@@ -200,9 +200,9 @@ discard block |
||
200 | 200 | public function set($prefix, $paths) |
201 | 201 | { |
202 | 202 | if (!$prefix) { |
203 | - $this->fallbackDirsPsr0 = (array) $paths; |
|
203 | + $this->fallbackDirsPsr0 = (array)$paths; |
|
204 | 204 | } else { |
205 | - $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; |
|
205 | + $this->prefixesPsr0[$prefix[0]][$prefix] = (array)$paths; |
|
206 | 206 | } |
207 | 207 | } |
208 | 208 | |
@@ -218,14 +218,14 @@ discard block |
||
218 | 218 | public function setPsr4($prefix, $paths) |
219 | 219 | { |
220 | 220 | if (!$prefix) { |
221 | - $this->fallbackDirsPsr4 = (array) $paths; |
|
221 | + $this->fallbackDirsPsr4 = (array)$paths; |
|
222 | 222 | } else { |
223 | 223 | $length = strlen($prefix); |
224 | - if ('\\' !== $prefix[$length - 1]) { |
|
224 | + if ('\\' !== $prefix[$length-1]) { |
|
225 | 225 | throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); |
226 | 226 | } |
227 | 227 | $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; |
228 | - $this->prefixDirsPsr4[$prefix] = (array) $paths; |
|
228 | + $this->prefixDirsPsr4[$prefix] = (array)$paths; |
|
229 | 229 | } |
230 | 230 | } |
231 | 231 | |
@@ -344,14 +344,14 @@ discard block |
||
344 | 344 | private function findFileWithExtension($class, $ext) |
345 | 345 | { |
346 | 346 | // PSR-4 lookup |
347 | - $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; |
|
347 | + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR).$ext; |
|
348 | 348 | |
349 | 349 | $first = $class[0]; |
350 | 350 | if (isset($this->prefixLengthsPsr4[$first])) { |
351 | 351 | foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) { |
352 | 352 | if (0 === strpos($class, $prefix)) { |
353 | 353 | foreach ($this->prefixDirsPsr4[$prefix] as $dir) { |
354 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) { |
|
354 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.substr($logicalPathPsr4, $length))) { |
|
355 | 355 | return $file; |
356 | 356 | } |
357 | 357 | } |
@@ -361,7 +361,7 @@ discard block |
||
361 | 361 | |
362 | 362 | // PSR-4 fallback dirs |
363 | 363 | foreach ($this->fallbackDirsPsr4 as $dir) { |
364 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { |
|
364 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr4)) { |
|
365 | 365 | return $file; |
366 | 366 | } |
367 | 367 | } |
@@ -369,18 +369,18 @@ discard block |
||
369 | 369 | // PSR-0 lookup |
370 | 370 | if (false !== $pos = strrpos($class, '\\')) { |
371 | 371 | // namespaced class name |
372 | - $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) |
|
373 | - . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); |
|
372 | + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos+1) |
|
373 | + . strtr(substr($logicalPathPsr4, $pos+1), '_', DIRECTORY_SEPARATOR); |
|
374 | 374 | } else { |
375 | 375 | // PEAR-like class name |
376 | - $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; |
|
376 | + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR).$ext; |
|
377 | 377 | } |
378 | 378 | |
379 | 379 | if (isset($this->prefixesPsr0[$first])) { |
380 | 380 | foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { |
381 | 381 | if (0 === strpos($class, $prefix)) { |
382 | 382 | foreach ($dirs as $dir) { |
383 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
383 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) { |
|
384 | 384 | return $file; |
385 | 385 | } |
386 | 386 | } |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | |
391 | 391 | // PSR-0 fallback dirs |
392 | 392 | foreach ($this->fallbackDirsPsr0 as $dir) { |
393 | - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { |
|
393 | + if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) { |
|
394 | 394 | return $file; |
395 | 395 | } |
396 | 396 | } |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | public static function loadClassLoader($class) |
10 | 10 | { |
11 | 11 | if ('Composer\Autoload\ClassLoader' === $class) { |
12 | - require __DIR__ . '/ClassLoader.php'; |
|
12 | + require __DIR__.'/ClassLoader.php'; |
|
13 | 13 | } |
14 | 14 | } |
15 | 15 | |
@@ -25,21 +25,21 @@ discard block |
||
25 | 25 | |
26 | 26 | $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION'); |
27 | 27 | if ($useStaticLoader) { |
28 | - require_once __DIR__ . '/autoload_static.php'; |
|
28 | + require_once __DIR__.'/autoload_static.php'; |
|
29 | 29 | |
30 | 30 | call_user_func(\Composer\Autoload\ComposerStaticInit3c2653ee0122271a747f790f301ba7fb::getInitializer($loader)); |
31 | 31 | } else { |
32 | - $map = require __DIR__ . '/autoload_namespaces.php'; |
|
32 | + $map = require __DIR__.'/autoload_namespaces.php'; |
|
33 | 33 | foreach ($map as $namespace => $path) { |
34 | 34 | $loader->set($namespace, $path); |
35 | 35 | } |
36 | 36 | |
37 | - $map = require __DIR__ . '/autoload_psr4.php'; |
|
37 | + $map = require __DIR__.'/autoload_psr4.php'; |
|
38 | 38 | foreach ($map as $namespace => $path) { |
39 | 39 | $loader->setPsr4($namespace, $path); |
40 | 40 | } |
41 | 41 | |
42 | - $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
42 | + $classMap = require __DIR__.'/autoload_classmap.php'; |
|
43 | 43 | if ($classMap) { |
44 | 44 | $loader->addClassMap($classMap); |
45 | 45 | } |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | if ($useStaticLoader) { |
51 | 51 | $includeFiles = Composer\Autoload\ComposerStaticInit3c2653ee0122271a747f790f301ba7fb::$files; |
52 | 52 | } else { |
53 | - $includeFiles = require __DIR__ . '/autoload_files.php'; |
|
53 | + $includeFiles = require __DIR__.'/autoload_files.php'; |
|
54 | 54 | } |
55 | 55 | foreach ($includeFiles as $fileIdentifier => $file) { |
56 | 56 | composerRequire3c2653ee0122271a747f790f301ba7fb($fileIdentifier, $file); |
@@ -6,13 +6,13 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInit3c2653ee0122271a747f790f301ba7fb |
8 | 8 | { |
9 | - public static $files = array ( |
|
10 | - 'bc8607b1e7bad99fd7a60868b2df2530' => __DIR__ . '/../..' . '/source/bootstrap.php', |
|
9 | + public static $files = array( |
|
10 | + 'bc8607b1e7bad99fd7a60868b2df2530' => __DIR__.'/../..'.'/source/bootstrap.php', |
|
11 | 11 | ); |
12 | 12 | |
13 | 13 | public static function getInitializer(ClassLoader $loader) |
14 | 14 | { |
15 | - return \Closure::bind(function () use ($loader) { |
|
15 | + return \Closure::bind(function() use ($loader) { |
|
16 | 16 | |
17 | 17 | }, null, ClassLoader::class); |
18 | 18 | } |
@@ -6,5 +6,5 @@ |
||
6 | 6 | $baseDir = dirname($vendorDir); |
7 | 7 | |
8 | 8 | return array( |
9 | - 'bc8607b1e7bad99fd7a60868b2df2530' => $baseDir . '/source/bootstrap.php', |
|
9 | + 'bc8607b1e7bad99fd7a60868b2df2530' => $baseDir.'/source/bootstrap.php', |
|
10 | 10 | ); |
@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | // autoload.php @generated by Composer |
4 | 4 | |
5 | -require_once __DIR__ . '/composer' . '/autoload_real.php'; |
|
5 | +require_once __DIR__.'/composer'.'/autoload_real.php'; |
|
6 | 6 | |
7 | 7 | return ComposerAutoloaderInit3c2653ee0122271a747f790f301ba7fb::getLoader(); |