@@ -6,36 +6,36 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitcfde1b79fcf8c357dcf292f5aa2962d0 |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
10 | - 'S' => |
|
11 | - array ( |
|
12 | - 'ScssPhp\\ScssPhp\\' => 16, |
|
13 | - 'SCSS\\Tests\\' => 11, |
|
14 | - 'SCSS\\' => 5, |
|
15 | - ), |
|
16 | - ); |
|
9 | + public static $prefixLengthsPsr4 = array ( |
|
10 | + 'S' => |
|
11 | + array ( |
|
12 | + 'ScssPhp\\ScssPhp\\' => 16, |
|
13 | + 'SCSS\\Tests\\' => 11, |
|
14 | + 'SCSS\\' => 5, |
|
15 | + ), |
|
16 | + ); |
|
17 | 17 | |
18 | - public static $prefixDirsPsr4 = array ( |
|
19 | - 'ScssPhp\\ScssPhp\\' => |
|
20 | - array ( |
|
21 | - 0 => __DIR__ . '/..' . '/scssphp/scssphp/src', |
|
22 | - ), |
|
23 | - 'SCSS\\Tests\\' => |
|
24 | - array ( |
|
25 | - 0 => __DIR__ . '/..' . '/mediawiki/scss/tests/phpunit', |
|
26 | - ), |
|
27 | - 'SCSS\\' => |
|
28 | - array ( |
|
29 | - 0 => __DIR__ . '/..' . '/mediawiki/scss/src', |
|
30 | - ), |
|
31 | - ); |
|
18 | + public static $prefixDirsPsr4 = array ( |
|
19 | + 'ScssPhp\\ScssPhp\\' => |
|
20 | + array ( |
|
21 | + 0 => __DIR__ . '/..' . '/scssphp/scssphp/src', |
|
22 | + ), |
|
23 | + 'SCSS\\Tests\\' => |
|
24 | + array ( |
|
25 | + 0 => __DIR__ . '/..' . '/mediawiki/scss/tests/phpunit', |
|
26 | + ), |
|
27 | + 'SCSS\\' => |
|
28 | + array ( |
|
29 | + 0 => __DIR__ . '/..' . '/mediawiki/scss/src', |
|
30 | + ), |
|
31 | + ); |
|
32 | 32 | |
33 | - public static function getInitializer(ClassLoader $loader) |
|
34 | - { |
|
35 | - return \Closure::bind(function () use ($loader) { |
|
36 | - $loader->prefixLengthsPsr4 = ComposerStaticInitcfde1b79fcf8c357dcf292f5aa2962d0::$prefixLengthsPsr4; |
|
37 | - $loader->prefixDirsPsr4 = ComposerStaticInitcfde1b79fcf8c357dcf292f5aa2962d0::$prefixDirsPsr4; |
|
33 | + public static function getInitializer(ClassLoader $loader) |
|
34 | + { |
|
35 | + return \Closure::bind(function () use ($loader) { |
|
36 | + $loader->prefixLengthsPsr4 = ComposerStaticInitcfde1b79fcf8c357dcf292f5aa2962d0::$prefixLengthsPsr4; |
|
37 | + $loader->prefixDirsPsr4 = ComposerStaticInitcfde1b79fcf8c357dcf292f5aa2962d0::$prefixDirsPsr4; |
|
38 | 38 | |
39 | - }, null, ClassLoader::class); |
|
40 | - } |
|
39 | + }, null, ClassLoader::class); |
|
40 | + } |
|
41 | 41 | } |
@@ -4,49 +4,49 @@ |
||
4 | 4 | |
5 | 5 | class ComposerAutoloaderInitcfde1b79fcf8c357dcf292f5aa2962d0 |
6 | 6 | { |
7 | - private static $loader; |
|
8 | - |
|
9 | - public static function loadClassLoader($class) |
|
10 | - { |
|
11 | - if ('Composer\Autoload\ClassLoader' === $class) { |
|
12 | - require __DIR__ . '/ClassLoader.php'; |
|
13 | - } |
|
14 | - } |
|
15 | - |
|
16 | - public static function getLoader() |
|
17 | - { |
|
18 | - if (null !== self::$loader) { |
|
19 | - return self::$loader; |
|
20 | - } |
|
21 | - |
|
22 | - spl_autoload_register(array('ComposerAutoloaderInitcfde1b79fcf8c357dcf292f5aa2962d0', 'loadClassLoader'), true, true); |
|
23 | - self::$loader = $loader = new \Composer\Autoload\ClassLoader(); |
|
24 | - spl_autoload_unregister(array('ComposerAutoloaderInitcfde1b79fcf8c357dcf292f5aa2962d0', 'loadClassLoader')); |
|
25 | - |
|
26 | - $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); |
|
27 | - if ($useStaticLoader) { |
|
28 | - require_once __DIR__ . '/autoload_static.php'; |
|
29 | - |
|
30 | - call_user_func(\Composer\Autoload\ComposerStaticInitcfde1b79fcf8c357dcf292f5aa2962d0::getInitializer($loader)); |
|
31 | - } else { |
|
32 | - $map = require __DIR__ . '/autoload_namespaces.php'; |
|
33 | - foreach ($map as $namespace => $path) { |
|
34 | - $loader->set($namespace, $path); |
|
35 | - } |
|
36 | - |
|
37 | - $map = require __DIR__ . '/autoload_psr4.php'; |
|
38 | - foreach ($map as $namespace => $path) { |
|
39 | - $loader->setPsr4($namespace, $path); |
|
40 | - } |
|
41 | - |
|
42 | - $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
43 | - if ($classMap) { |
|
44 | - $loader->addClassMap($classMap); |
|
45 | - } |
|
46 | - } |
|
47 | - |
|
48 | - $loader->register(true); |
|
49 | - |
|
50 | - return $loader; |
|
51 | - } |
|
7 | + private static $loader; |
|
8 | + |
|
9 | + public static function loadClassLoader($class) |
|
10 | + { |
|
11 | + if ('Composer\Autoload\ClassLoader' === $class) { |
|
12 | + require __DIR__ . '/ClassLoader.php'; |
|
13 | + } |
|
14 | + } |
|
15 | + |
|
16 | + public static function getLoader() |
|
17 | + { |
|
18 | + if (null !== self::$loader) { |
|
19 | + return self::$loader; |
|
20 | + } |
|
21 | + |
|
22 | + spl_autoload_register(array('ComposerAutoloaderInitcfde1b79fcf8c357dcf292f5aa2962d0', 'loadClassLoader'), true, true); |
|
23 | + self::$loader = $loader = new \Composer\Autoload\ClassLoader(); |
|
24 | + spl_autoload_unregister(array('ComposerAutoloaderInitcfde1b79fcf8c357dcf292f5aa2962d0', 'loadClassLoader')); |
|
25 | + |
|
26 | + $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); |
|
27 | + if ($useStaticLoader) { |
|
28 | + require_once __DIR__ . '/autoload_static.php'; |
|
29 | + |
|
30 | + call_user_func(\Composer\Autoload\ComposerStaticInitcfde1b79fcf8c357dcf292f5aa2962d0::getInitializer($loader)); |
|
31 | + } else { |
|
32 | + $map = require __DIR__ . '/autoload_namespaces.php'; |
|
33 | + foreach ($map as $namespace => $path) { |
|
34 | + $loader->set($namespace, $path); |
|
35 | + } |
|
36 | + |
|
37 | + $map = require __DIR__ . '/autoload_psr4.php'; |
|
38 | + foreach ($map as $namespace => $path) { |
|
39 | + $loader->setPsr4($namespace, $path); |
|
40 | + } |
|
41 | + |
|
42 | + $classMap = require __DIR__ . '/autoload_classmap.php'; |
|
43 | + if ($classMap) { |
|
44 | + $loader->addClassMap($classMap); |
|
45 | + } |
|
46 | + } |
|
47 | + |
|
48 | + $loader->register(true); |
|
49 | + |
|
50 | + return $loader; |
|
51 | + } |
|
52 | 52 | } |