27de69f4 by Jeff Balicki

composer

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent ce9655b9
...@@ -70,9 +70,6 @@ ...@@ -70,9 +70,6 @@
70 "portable", 70 "portable",
71 "shim" 71 "shim"
72 ], 72 ],
73 "support": {
74 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0"
75 },
76 "funding": [ 73 "funding": [
77 { 74 {
78 "url": "https://symfony.com/sponsor", 75 "url": "https://symfony.com/sponsor",
...@@ -155,9 +152,6 @@ ...@@ -155,9 +152,6 @@
155 "debug", 152 "debug",
156 "dump" 153 "dump"
157 ], 154 ],
158 "support": {
159 "source": "https://github.com/symfony/var-dumper/tree/v2.8.50"
160 },
161 "time": "2018-11-11T11:18:13+00:00" 155 "time": "2018-11-11T11:18:13+00:00"
162 }, 156 },
163 { 157 {
...@@ -204,10 +198,6 @@ ...@@ -204,10 +198,6 @@
204 "env", 198 "env",
205 "environment" 199 "environment"
206 ], 200 ],
207 "support": {
208 "issues": "https://github.com/vlucas/phpdotenv/issues",
209 "source": "https://github.com/vlucas/phpdotenv/tree/1.1"
210 },
211 "time": "2015-05-30T15:59:26+00:00" 201 "time": "2015-05-30T15:59:26+00:00"
212 } 202 }
213 ], 203 ],
...@@ -221,5 +211,5 @@ ...@@ -221,5 +211,5 @@
221 "php": ">=5.4" 211 "php": ">=5.4"
222 }, 212 },
223 "platform-dev": [], 213 "platform-dev": [],
224 "plugin-api-version": "2.3.0" 214 "plugin-api-version": "1.1.0"
225 } 215 }
......
No preview for this file type
...@@ -2,24 +2,6 @@ ...@@ -2,24 +2,6 @@
2 2
3 // autoload.php @generated by Composer 3 // autoload.php @generated by Composer
4 4
5 if (PHP_VERSION_ID < 50600) {
6 if (!headers_sent()) {
7 header('HTTP/1.1 500 Internal Server Error');
8 }
9 $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
10 if (!ini_get('display_errors')) {
11 if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
12 fwrite(STDERR, $err);
13 } elseif (!headers_sent()) {
14 echo $err;
15 }
16 }
17 trigger_error(
18 $err,
19 E_USER_ERROR
20 );
21 }
22
23 require_once __DIR__ . '/composer/autoload_real.php'; 5 require_once __DIR__ . '/composer/autoload_real.php';
24 6
25 return ComposerAutoloaderInit03eba1cd2ecc731639bb7ed2e1143f46::getLoader(); 7 return ComposerAutoloaderInit4e792a61d8d81319296bf3b53dfc6d3f::getLoader();
......
...@@ -37,84 +37,26 @@ namespace Composer\Autoload; ...@@ -37,84 +37,26 @@ namespace Composer\Autoload;
37 * 37 *
38 * @author Fabien Potencier <fabien@symfony.com> 38 * @author Fabien Potencier <fabien@symfony.com>
39 * @author Jordi Boggiano <j.boggiano@seld.be> 39 * @author Jordi Boggiano <j.boggiano@seld.be>
40 * @see https://www.php-fig.org/psr/psr-0/ 40 * @see http://www.php-fig.org/psr/psr-0/
41 * @see https://www.php-fig.org/psr/psr-4/ 41 * @see http://www.php-fig.org/psr/psr-4/
42 */ 42 */
43 class ClassLoader 43 class ClassLoader
44 { 44 {
45 /** @var \Closure(string):void */
46 private static $includeFile;
47
48 /** @var ?string */
49 private $vendorDir;
50
51 // PSR-4 45 // PSR-4
52 /**
53 * @var array[]
54 * @psalm-var array<string, array<string, int>>
55 */
56 private $prefixLengthsPsr4 = array(); 46 private $prefixLengthsPsr4 = array();
57 /**
58 * @var array[]
59 * @psalm-var array<string, array<int, string>>
60 */
61 private $prefixDirsPsr4 = array(); 47 private $prefixDirsPsr4 = array();
62 /**
63 * @var array[]
64 * @psalm-var array<string, string>
65 */
66 private $fallbackDirsPsr4 = array(); 48 private $fallbackDirsPsr4 = array();
67 49
68 // PSR-0 50 // PSR-0
69 /**
70 * @var array[]
71 * @psalm-var array<string, array<string, string[]>>
72 */
73 private $prefixesPsr0 = array(); 51 private $prefixesPsr0 = array();
74 /**
75 * @var array[]
76 * @psalm-var array<string, string>
77 */
78 private $fallbackDirsPsr0 = array(); 52 private $fallbackDirsPsr0 = array();
79 53
80 /** @var bool */
81 private $useIncludePath = false; 54 private $useIncludePath = false;
82
83 /**
84 * @var string[]
85 * @psalm-var array<string, string>
86 */
87 private $classMap = array(); 55 private $classMap = array();
88
89 /** @var bool */
90 private $classMapAuthoritative = false; 56 private $classMapAuthoritative = false;
91
92 /**
93 * @var bool[]
94 * @psalm-var array<string, bool>
95 */
96 private $missingClasses = array(); 57 private $missingClasses = array();
97
98 /** @var ?string */
99 private $apcuPrefix; 58 private $apcuPrefix;
100 59
101 /**
102 * @var self[]
103 */
104 private static $registeredLoaders = array();
105
106 /**
107 * @param ?string $vendorDir
108 */
109 public function __construct($vendorDir = null)
110 {
111 $this->vendorDir = $vendorDir;
112 self::initializeIncludeClosure();
113 }
114
115 /**
116 * @return string[]
117 */
118 public function getPrefixes() 60 public function getPrefixes()
119 { 61 {
120 if (!empty($this->prefixesPsr0)) { 62 if (!empty($this->prefixesPsr0)) {
...@@ -124,47 +66,28 @@ class ClassLoader ...@@ -124,47 +66,28 @@ class ClassLoader
124 return array(); 66 return array();
125 } 67 }
126 68
127 /**
128 * @return array[]
129 * @psalm-return array<string, array<int, string>>
130 */
131 public function getPrefixesPsr4() 69 public function getPrefixesPsr4()
132 { 70 {
133 return $this->prefixDirsPsr4; 71 return $this->prefixDirsPsr4;
134 } 72 }
135 73
136 /**
137 * @return array[]
138 * @psalm-return array<string, string>
139 */
140 public function getFallbackDirs() 74 public function getFallbackDirs()
141 { 75 {
142 return $this->fallbackDirsPsr0; 76 return $this->fallbackDirsPsr0;
143 } 77 }
144 78
145 /**
146 * @return array[]
147 * @psalm-return array<string, string>
148 */
149 public function getFallbackDirsPsr4() 79 public function getFallbackDirsPsr4()
150 { 80 {
151 return $this->fallbackDirsPsr4; 81 return $this->fallbackDirsPsr4;
152 } 82 }
153 83
154 /**
155 * @return string[] Array of classname => path
156 * @psalm-return array<string, string>
157 */
158 public function getClassMap() 84 public function getClassMap()
159 { 85 {
160 return $this->classMap; 86 return $this->classMap;
161 } 87 }
162 88
163 /** 89 /**
164 * @param string[] $classMap Class to filename map 90 * @param array $classMap Class to filename map
165 * @psalm-param array<string, string> $classMap
166 *
167 * @return void
168 */ 91 */
169 public function addClassMap(array $classMap) 92 public function addClassMap(array $classMap)
170 { 93 {
...@@ -179,11 +102,9 @@ class ClassLoader ...@@ -179,11 +102,9 @@ class ClassLoader
179 * Registers a set of PSR-0 directories for a given prefix, either 102 * Registers a set of PSR-0 directories for a given prefix, either
180 * appending or prepending to the ones previously set for this prefix. 103 * appending or prepending to the ones previously set for this prefix.
181 * 104 *
182 * @param string $prefix The prefix 105 * @param string $prefix The prefix
183 * @param string[]|string $paths The PSR-0 root directories 106 * @param array|string $paths The PSR-0 root directories
184 * @param bool $prepend Whether to prepend the directories 107 * @param bool $prepend Whether to prepend the directories
185 *
186 * @return void
187 */ 108 */
188 public function add($prefix, $paths, $prepend = false) 109 public function add($prefix, $paths, $prepend = false)
189 { 110 {
...@@ -226,13 +147,11 @@ class ClassLoader ...@@ -226,13 +147,11 @@ class ClassLoader
226 * Registers a set of PSR-4 directories for a given namespace, either 147 * Registers a set of PSR-4 directories for a given namespace, either
227 * appending or prepending to the ones previously set for this namespace. 148 * appending or prepending to the ones previously set for this namespace.
228 * 149 *
229 * @param string $prefix The prefix/namespace, with trailing '\\' 150 * @param string $prefix The prefix/namespace, with trailing '\\'
230 * @param string[]|string $paths The PSR-4 base directories 151 * @param array|string $paths The PSR-4 base directories
231 * @param bool $prepend Whether to prepend the directories 152 * @param bool $prepend Whether to prepend the directories
232 * 153 *
233 * @throws \InvalidArgumentException 154 * @throws \InvalidArgumentException
234 *
235 * @return void
236 */ 155 */
237 public function addPsr4($prefix, $paths, $prepend = false) 156 public function addPsr4($prefix, $paths, $prepend = false)
238 { 157 {
...@@ -276,10 +195,8 @@ class ClassLoader ...@@ -276,10 +195,8 @@ class ClassLoader
276 * Registers a set of PSR-0 directories for a given prefix, 195 * Registers a set of PSR-0 directories for a given prefix,
277 * replacing any others previously set for this prefix. 196 * replacing any others previously set for this prefix.
278 * 197 *
279 * @param string $prefix The prefix 198 * @param string $prefix The prefix
280 * @param string[]|string $paths The PSR-0 base directories 199 * @param array|string $paths The PSR-0 base directories
281 *
282 * @return void
283 */ 200 */
284 public function set($prefix, $paths) 201 public function set($prefix, $paths)
285 { 202 {
...@@ -294,12 +211,10 @@ class ClassLoader ...@@ -294,12 +211,10 @@ class ClassLoader
294 * Registers a set of PSR-4 directories for a given namespace, 211 * Registers a set of PSR-4 directories for a given namespace,
295 * replacing any others previously set for this namespace. 212 * replacing any others previously set for this namespace.
296 * 213 *
297 * @param string $prefix The prefix/namespace, with trailing '\\' 214 * @param string $prefix The prefix/namespace, with trailing '\\'
298 * @param string[]|string $paths The PSR-4 base directories 215 * @param array|string $paths The PSR-4 base directories
299 * 216 *
300 * @throws \InvalidArgumentException 217 * @throws \InvalidArgumentException
301 *
302 * @return void
303 */ 218 */
304 public function setPsr4($prefix, $paths) 219 public function setPsr4($prefix, $paths)
305 { 220 {
...@@ -319,8 +234,6 @@ class ClassLoader ...@@ -319,8 +234,6 @@ class ClassLoader
319 * Turns on searching the include path for class files. 234 * Turns on searching the include path for class files.
320 * 235 *
321 * @param bool $useIncludePath 236 * @param bool $useIncludePath
322 *
323 * @return void
324 */ 237 */
325 public function setUseIncludePath($useIncludePath) 238 public function setUseIncludePath($useIncludePath)
326 { 239 {
...@@ -343,8 +256,6 @@ class ClassLoader ...@@ -343,8 +256,6 @@ class ClassLoader
343 * that have not been registered with the class map. 256 * that have not been registered with the class map.
344 * 257 *
345 * @param bool $classMapAuthoritative 258 * @param bool $classMapAuthoritative
346 *
347 * @return void
348 */ 259 */
349 public function setClassMapAuthoritative($classMapAuthoritative) 260 public function setClassMapAuthoritative($classMapAuthoritative)
350 { 261 {
...@@ -365,8 +276,6 @@ class ClassLoader ...@@ -365,8 +276,6 @@ class ClassLoader
365 * APCu prefix to use to cache found/not-found classes, if the extension is enabled. 276 * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
366 * 277 *
367 * @param string|null $apcuPrefix 278 * @param string|null $apcuPrefix
368 *
369 * @return void
370 */ 279 */
371 public function setApcuPrefix($apcuPrefix) 280 public function setApcuPrefix($apcuPrefix)
372 { 281 {
...@@ -387,55 +296,33 @@ class ClassLoader ...@@ -387,55 +296,33 @@ class ClassLoader
387 * Registers this instance as an autoloader. 296 * Registers this instance as an autoloader.
388 * 297 *
389 * @param bool $prepend Whether to prepend the autoloader or not 298 * @param bool $prepend Whether to prepend the autoloader or not
390 *
391 * @return void
392 */ 299 */
393 public function register($prepend = false) 300 public function register($prepend = false)
394 { 301 {
395 spl_autoload_register(array($this, 'loadClass'), true, $prepend); 302 spl_autoload_register(array($this, 'loadClass'), true, $prepend);
396
397 if (null === $this->vendorDir) {
398 return;
399 }
400
401 if ($prepend) {
402 self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
403 } else {
404 unset(self::$registeredLoaders[$this->vendorDir]);
405 self::$registeredLoaders[$this->vendorDir] = $this;
406 }
407 } 303 }
408 304
409 /** 305 /**
410 * Unregisters this instance as an autoloader. 306 * Unregisters this instance as an autoloader.
411 *
412 * @return void
413 */ 307 */
414 public function unregister() 308 public function unregister()
415 { 309 {
416 spl_autoload_unregister(array($this, 'loadClass')); 310 spl_autoload_unregister(array($this, 'loadClass'));
417
418 if (null !== $this->vendorDir) {
419 unset(self::$registeredLoaders[$this->vendorDir]);
420 }
421 } 311 }
422 312
423 /** 313 /**
424 * Loads the given class or interface. 314 * Loads the given class or interface.
425 * 315 *
426 * @param string $class The name of the class 316 * @param string $class The name of the class
427 * @return true|null True if loaded, null otherwise 317 * @return bool|null True if loaded, null otherwise
428 */ 318 */
429 public function loadClass($class) 319 public function loadClass($class)
430 { 320 {
431 if ($file = $this->findFile($class)) { 321 if ($file = $this->findFile($class)) {
432 $includeFile = self::$includeFile; 322 includeFile($file);
433 $includeFile($file);
434 323
435 return true; 324 return true;
436 } 325 }
437
438 return null;
439 } 326 }
440 327
441 /** 328 /**
...@@ -480,21 +367,6 @@ class ClassLoader ...@@ -480,21 +367,6 @@ class ClassLoader
480 return $file; 367 return $file;
481 } 368 }
482 369
483 /**
484 * Returns the currently registered loaders indexed by their corresponding vendor directories.
485 *
486 * @return self[]
487 */
488 public static function getRegisteredLoaders()
489 {
490 return self::$registeredLoaders;
491 }
492
493 /**
494 * @param string $class
495 * @param string $ext
496 * @return string|false
497 */
498 private function findFileWithExtension($class, $ext) 370 private function findFileWithExtension($class, $ext)
499 { 371 {
500 // PSR-4 lookup 372 // PSR-4 lookup
...@@ -560,26 +432,14 @@ class ClassLoader ...@@ -560,26 +432,14 @@ class ClassLoader
560 432
561 return false; 433 return false;
562 } 434 }
435 }
563 436
564 /** 437 /**
565 * @return void 438 * Scope isolated include.
566 */ 439 *
567 private static function initializeIncludeClosure() 440 * Prevents access to $this/self from included files.
568 { 441 */
569 if (self::$includeFile !== null) { 442 function includeFile($file)
570 return; 443 {
571 } 444 include $file;
572
573 /**
574 * Scope isolated include.
575 *
576 * Prevents access to $this/self from included files.
577 *
578 * @param string $file
579 * @return void
580 */
581 self::$includeFile = \Closure::bind(static function($file) {
582 include $file;
583 }, null, null);
584 }
585 } 445 }
......
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
2 2
3 // autoload_classmap.php @generated by Composer 3 // autoload_classmap.php @generated by Composer
4 4
5 $vendorDir = dirname(__DIR__); 5 $vendorDir = dirname(dirname(__FILE__));
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10 ); 9 );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 2
3 // autoload_files.php @generated by Composer 3 // autoload_files.php @generated by Composer
4 4
5 $vendorDir = dirname(__DIR__); 5 $vendorDir = dirname(dirname(__FILE__));
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 2
3 // autoload_namespaces.php @generated by Composer 3 // autoload_namespaces.php @generated by Composer
4 4
5 $vendorDir = dirname(__DIR__); 5 $vendorDir = dirname(dirname(__FILE__));
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 2
3 // autoload_psr4.php @generated by Composer 3 // autoload_psr4.php @generated by Composer
4 4
5 $vendorDir = dirname(__DIR__); 5 $vendorDir = dirname(dirname(__FILE__));
6 $baseDir = dirname($vendorDir); 6 $baseDir = dirname($vendorDir);
7 7
8 return array( 8 return array(
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 2
3 // autoload_real.php @generated by Composer 3 // autoload_real.php @generated by Composer
4 4
5 class ComposerAutoloaderInit03eba1cd2ecc731639bb7ed2e1143f46 5 class ComposerAutoloaderInit4e792a61d8d81319296bf3b53dfc6d3f
6 { 6 {
7 private static $loader; 7 private static $loader;
8 8
...@@ -22,29 +22,52 @@ class ComposerAutoloaderInit03eba1cd2ecc731639bb7ed2e1143f46 ...@@ -22,29 +22,52 @@ class ComposerAutoloaderInit03eba1cd2ecc731639bb7ed2e1143f46
22 return self::$loader; 22 return self::$loader;
23 } 23 }
24 24
25 require __DIR__ . '/platform_check.php'; 25 spl_autoload_register(array('ComposerAutoloaderInit4e792a61d8d81319296bf3b53dfc6d3f', 'loadClassLoader'), true, true);
26 self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27 spl_autoload_unregister(array('ComposerAutoloaderInit4e792a61d8d81319296bf3b53dfc6d3f', 'loadClassLoader'));
26 28
27 spl_autoload_register(array('ComposerAutoloaderInit03eba1cd2ecc731639bb7ed2e1143f46', 'loadClassLoader'), true, true); 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 30 if ($useStaticLoader) {
29 spl_autoload_unregister(array('ComposerAutoloaderInit03eba1cd2ecc731639bb7ed2e1143f46', 'loadClassLoader')); 31 require_once __DIR__ . '/autoload_static.php';
30 32
31 require __DIR__ . '/autoload_static.php'; 33 call_user_func(\Composer\Autoload\ComposerStaticInit4e792a61d8d81319296bf3b53dfc6d3f::getInitializer($loader));
32 call_user_func(\Composer\Autoload\ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46::getInitializer($loader)); 34 } else {
33 35 $map = require __DIR__ . '/autoload_namespaces.php';
34 $loader->register(true); 36 foreach ($map as $namespace => $path) {
37 $loader->set($namespace, $path);
38 }
35 39
36 $filesToLoad = \Composer\Autoload\ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46::$files; 40 $map = require __DIR__ . '/autoload_psr4.php';
37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 41 foreach ($map as $namespace => $path) {
38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 42 $loader->setPsr4($namespace, $path);
39 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 43 }
40 44
41 require $file; 45 $classMap = require __DIR__ . '/autoload_classmap.php';
46 if ($classMap) {
47 $loader->addClassMap($classMap);
42 } 48 }
43 }, null, null); 49 }
44 foreach ($filesToLoad as $fileIdentifier => $file) { 50
45 $requireFile($fileIdentifier, $file); 51 $loader->register(true);
52
53 if ($useStaticLoader) {
54 $includeFiles = Composer\Autoload\ComposerStaticInit4e792a61d8d81319296bf3b53dfc6d3f::$files;
55 } else {
56 $includeFiles = require __DIR__ . '/autoload_files.php';
57 }
58 foreach ($includeFiles as $fileIdentifier => $file) {
59 composerRequire4e792a61d8d81319296bf3b53dfc6d3f($fileIdentifier, $file);
46 } 60 }
47 61
48 return $loader; 62 return $loader;
49 } 63 }
50 } 64 }
65
66 function composerRequire4e792a61d8d81319296bf3b53dfc6d3f($fileIdentifier, $file)
67 {
68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69 require $file;
70
71 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
72 }
73 }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 4
5 namespace Composer\Autoload; 5 namespace Composer\Autoload;
6 6
7 class ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46 7 class ComposerStaticInit4e792a61d8d81319296bf3b53dfc6d3f
8 { 8 {
9 public static $files = array ( 9 public static $files = array (
10 '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', 10 '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
...@@ -40,17 +40,12 @@ class ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46 ...@@ -40,17 +40,12 @@ class ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46
40 ), 40 ),
41 ); 41 );
42 42
43 public static $classMap = array (
44 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
45 );
46
47 public static function getInitializer(ClassLoader $loader) 43 public static function getInitializer(ClassLoader $loader)
48 { 44 {
49 return \Closure::bind(function () use ($loader) { 45 return \Closure::bind(function () use ($loader) {
50 $loader->prefixLengthsPsr4 = ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46::$prefixLengthsPsr4; 46 $loader->prefixLengthsPsr4 = ComposerStaticInit4e792a61d8d81319296bf3b53dfc6d3f::$prefixLengthsPsr4;
51 $loader->prefixDirsPsr4 = ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46::$prefixDirsPsr4; 47 $loader->prefixDirsPsr4 = ComposerStaticInit4e792a61d8d81319296bf3b53dfc6d3f::$prefixDirsPsr4;
52 $loader->prefixesPsr0 = ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46::$prefixesPsr0; 48 $loader->prefixesPsr0 = ComposerStaticInit4e792a61d8d81319296bf3b53dfc6d3f::$prefixesPsr0;
53 $loader->classMap = ComposerStaticInit03eba1cd2ecc731639bb7ed2e1143f46::$classMap;
54 49
55 }, null, ClassLoader::class); 50 }, null, ClassLoader::class);
56 } 51 }
......
1 <?php return array(
2 'root' => array(
3 'name' => '__root__',
4 'pretty_version' => 'dev-main',
5 'version' => 'dev-main',
6 'reference' => '23cbefe0863c5e2a56826319420d0f96c87ba8b3',
7 'type' => 'library',
8 'install_path' => __DIR__ . '/../../',
9 'aliases' => array(),
10 'dev' => true,
11 ),
12 'versions' => array(
13 '__root__' => array(
14 'pretty_version' => 'dev-main',
15 'version' => 'dev-main',
16 'reference' => '23cbefe0863c5e2a56826319420d0f96c87ba8b3',
17 'type' => 'library',
18 'install_path' => __DIR__ . '/../../',
19 'aliases' => array(),
20 'dev_requirement' => false,
21 ),
22 'symfony/polyfill-mbstring' => array(
23 'pretty_version' => 'v1.27.0',
24 'version' => '1.27.0.0',
25 'reference' => '8ad114f6b39e2c98a8b0e3bd907732c207c2b534',
26 'type' => 'library',
27 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring',
28 'aliases' => array(),
29 'dev_requirement' => false,
30 ),
31 'symfony/var-dumper' => array(
32 'pretty_version' => 'v2.8.52',
33 'version' => '2.8.52.0',
34 'reference' => '91abb1e39d14fb7773d25de9c711949ea8502ac1',
35 'type' => 'library',
36 'install_path' => __DIR__ . '/../symfony/var-dumper',
37 'aliases' => array(),
38 'dev_requirement' => false,
39 ),
40 'vlucas/phpdotenv' => array(
41 'pretty_version' => 'v1.1.1',
42 'version' => '1.1.1.0',
43 'reference' => '0cac554ce06277e33ddf9f0b7ade4b8bbf2af3fa',
44 'type' => 'library',
45 'install_path' => __DIR__ . '/../vlucas/phpdotenv',
46 'aliases' => array(),
47 'dev_requirement' => false,
48 ),
49 ),
50 );
1 <?php
2
3 // platform_check.php @generated by Composer
4
5 $issues = array();
6
7 if (!(PHP_VERSION_ID >= 70100)) {
8 $issues[] = 'Your Composer dependencies require a PHP version ">= 7.1.0". You are running ' . PHP_VERSION . '.';
9 }
10
11 if ($issues) {
12 if (!headers_sent()) {
13 header('HTTP/1.1 500 Internal Server Error');
14 }
15 if (!ini_get('display_errors')) {
16 if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
17 fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
18 } elseif (!headers_sent()) {
19 echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
20 }
21 }
22 trigger_error(
23 'Composer detected issues in your platform: ' . implode(' ', $issues),
24 E_USER_ERROR
25 );
26 }
...@@ -58,10 +58,6 @@ ...@@ -58,10 +58,6 @@
58 "regex", 58 "regex",
59 "regular expression" 59 "regular expression"
60 ], 60 ],
61 "support": {
62 "issues": "https://github.com/composer/pcre/issues",
63 "source": "https://github.com/composer/pcre/tree/2.1.0"
64 },
65 "funding": [ 61 "funding": [
66 { 62 {
67 "url": "https://packagist.com", 63 "url": "https://packagist.com",
...@@ -123,11 +119,6 @@ ...@@ -123,11 +119,6 @@
123 "Xdebug", 119 "Xdebug",
124 "performance" 120 "performance"
125 ], 121 ],
126 "support": {
127 "irc": "irc://irc.freenode.org/composer",
128 "issues": "https://github.com/composer/xdebug-handler/issues",
129 "source": "https://github.com/composer/xdebug-handler/tree/3.0.3"
130 },
131 "funding": [ 122 "funding": [
132 { 123 {
133 "url": "https://packagist.com", 124 "url": "https://packagist.com",
...@@ -189,10 +180,6 @@ ...@@ -189,10 +180,6 @@
189 "BSD-3-Clause" 180 "BSD-3-Clause"
190 ], 181 ],
191 "description": "Official version of pdepend to be handled with Composer", 182 "description": "Official version of pdepend to be handled with Composer",
192 "support": {
193 "issues": "https://github.com/pdepend/pdepend/issues",
194 "source": "https://github.com/pdepend/pdepend/tree/2.13.0"
195 },
196 "funding": [ 183 "funding": [
197 { 184 {
198 "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", 185 "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend",
...@@ -252,10 +239,6 @@ ...@@ -252,10 +239,6 @@
252 ], 239 ],
253 "description": "This tool check syntax of PHP files about 20x faster than serial check.", 240 "description": "This tool check syntax of PHP files about 20x faster than serial check.",
254 "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint", 241 "homepage": "https://github.com/php-parallel-lint/PHP-Parallel-Lint",
255 "support": {
256 "issues": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/issues",
257 "source": "https://github.com/php-parallel-lint/PHP-Parallel-Lint/tree/v1.3.2"
258 },
259 "time": "2022-02-21T12:50:22+00:00" 242 "time": "2022-02-21T12:50:22+00:00"
260 }, 243 },
261 { 244 {
...@@ -296,10 +279,6 @@ ...@@ -296,10 +279,6 @@
296 "static analysis", 279 "static analysis",
297 "wordpress" 280 "wordpress"
298 ], 281 ],
299 "support": {
300 "issues": "https://github.com/php-stubs/wordpress-stubs/issues",
301 "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.2.0"
302 },
303 "time": "2023-03-31T09:48:52+00:00" 282 "time": "2023-03-31T09:48:52+00:00"
304 }, 283 },
305 { 284 {
...@@ -358,10 +337,6 @@ ...@@ -358,10 +337,6 @@
358 "phpcs", 337 "phpcs",
359 "standards" 338 "standards"
360 ], 339 ],
361 "support": {
362 "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
363 "source": "https://github.com/PHPCompatibility/PHPCompatibility"
364 },
365 "time": "2019-12-27T09:44:58+00:00" 340 "time": "2019-12-27T09:44:58+00:00"
366 }, 341 },
367 { 342 {
...@@ -415,10 +390,6 @@ ...@@ -415,10 +390,6 @@
415 "standards", 390 "standards",
416 "static analysis" 391 "static analysis"
417 ], 392 ],
418 "support": {
419 "issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
420 "source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
421 },
422 "time": "2022-10-25T01:46:02+00:00" 393 "time": "2022-10-25T01:46:02+00:00"
423 }, 394 },
424 { 395 {
...@@ -470,10 +441,6 @@ ...@@ -470,10 +441,6 @@
470 "static analysis", 441 "static analysis",
471 "wordpress" 442 "wordpress"
472 ], 443 ],
473 "support": {
474 "issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
475 "source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
476 },
477 "time": "2022-10-24T09:00:36+00:00" 444 "time": "2022-10-24T09:00:36+00:00"
478 }, 445 },
479 { 446 {
...@@ -546,11 +513,6 @@ ...@@ -546,11 +513,6 @@
546 "phpmd", 513 "phpmd",
547 "pmd" 514 "pmd"
548 ], 515 ],
549 "support": {
550 "irc": "irc://irc.freenode.org/phpmd",
551 "issues": "https://github.com/phpmd/phpmd/issues",
552 "source": "https://github.com/phpmd/phpmd/tree/2.13.0"
553 },
554 "funding": [ 516 "funding": [
555 { 517 {
556 "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", 518 "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd",
...@@ -598,13 +560,6 @@ ...@@ -598,13 +560,6 @@
598 "dev", 560 "dev",
599 "static analysis" 561 "static analysis"
600 ], 562 ],
601 "support": {
602 "docs": "https://phpstan.org/user-guide/getting-started",
603 "forum": "https://github.com/phpstan/phpstan/discussions",
604 "issues": "https://github.com/phpstan/phpstan/issues",
605 "security": "https://github.com/phpstan/phpstan/security/policy",
606 "source": "https://github.com/phpstan/phpstan-src"
607 },
608 "funding": [ 563 "funding": [
609 { 564 {
610 "url": "https://github.com/ondrejmirtes", 565 "url": "https://github.com/ondrejmirtes",
...@@ -663,10 +618,6 @@ ...@@ -663,10 +618,6 @@
663 "container-interop", 618 "container-interop",
664 "psr" 619 "psr"
665 ], 620 ],
666 "support": {
667 "issues": "https://github.com/php-fig/container/issues",
668 "source": "https://github.com/php-fig/container/tree/1.1.1"
669 },
670 "time": "2021-03-05T17:36:06+00:00" 621 "time": "2021-03-05T17:36:06+00:00"
671 }, 622 },
672 { 623 {
...@@ -714,9 +665,6 @@ ...@@ -714,9 +665,6 @@
714 "psr", 665 "psr",
715 "psr-3" 666 "psr-3"
716 ], 667 ],
717 "support": {
718 "source": "https://github.com/php-fig/log/tree/1.1.4"
719 },
720 "time": "2021-05-03T11:20:27+00:00" 668 "time": "2021-05-03T11:20:27+00:00"
721 }, 669 },
722 { 670 {
...@@ -1308,10 +1256,6 @@ ...@@ -1308,10 +1256,6 @@
1308 "keywords": [ 1256 "keywords": [
1309 "dev" 1257 "dev"
1310 ], 1258 ],
1311 "support": {
1312 "issues": "https://github.com/Roave/SecurityAdvisories/issues",
1313 "source": "https://github.com/Roave/SecurityAdvisories/tree/latest"
1314 },
1315 "funding": [ 1259 "funding": [
1316 { 1260 {
1317 "url": "https://github.com/Ocramius", 1261 "url": "https://github.com/Ocramius",
...@@ -1374,11 +1318,6 @@ ...@@ -1374,11 +1318,6 @@
1374 "standards", 1318 "standards",
1375 "static analysis" 1319 "static analysis"
1376 ], 1320 ],
1377 "support": {
1378 "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
1379 "source": "https://github.com/squizlabs/PHP_CodeSniffer",
1380 "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
1381 },
1382 "time": "2023-02-22T23:07:41+00:00" 1321 "time": "2023-02-22T23:07:41+00:00"
1383 }, 1322 },
1384 { 1323 {
...@@ -1441,9 +1380,6 @@ ...@@ -1441,9 +1380,6 @@
1441 ], 1380 ],
1442 "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", 1381 "description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
1443 "homepage": "https://symfony.com", 1382 "homepage": "https://symfony.com",
1444 "support": {
1445 "source": "https://github.com/symfony/config/tree/v5.4.21"
1446 },
1447 "funding": [ 1383 "funding": [
1448 { 1384 {
1449 "url": "https://symfony.com/sponsor", 1385 "url": "https://symfony.com/sponsor",
...@@ -1530,9 +1466,6 @@ ...@@ -1530,9 +1466,6 @@
1530 ], 1466 ],
1531 "description": "Allows you to standardize and centralize the way objects are constructed in your application", 1467 "description": "Allows you to standardize and centralize the way objects are constructed in your application",
1532 "homepage": "https://symfony.com", 1468 "homepage": "https://symfony.com",
1533 "support": {
1534 "source": "https://github.com/symfony/dependency-injection/tree/v5.4.23"
1535 },
1536 "funding": [ 1469 "funding": [
1537 { 1470 {
1538 "url": "https://symfony.com/sponsor", 1471 "url": "https://symfony.com/sponsor",
...@@ -1597,9 +1530,6 @@ ...@@ -1597,9 +1530,6 @@
1597 ], 1530 ],
1598 "description": "A generic function and convention to trigger deprecation notices", 1531 "description": "A generic function and convention to trigger deprecation notices",
1599 "homepage": "https://symfony.com", 1532 "homepage": "https://symfony.com",
1600 "support": {
1601 "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2"
1602 },
1603 "funding": [ 1533 "funding": [
1604 { 1534 {
1605 "url": "https://symfony.com/sponsor", 1535 "url": "https://symfony.com/sponsor",
...@@ -1661,9 +1591,6 @@ ...@@ -1661,9 +1591,6 @@
1661 ], 1591 ],
1662 "description": "Provides basic utilities for the filesystem", 1592 "description": "Provides basic utilities for the filesystem",
1663 "homepage": "https://symfony.com", 1593 "homepage": "https://symfony.com",
1664 "support": {
1665 "source": "https://github.com/symfony/filesystem/tree/v5.4.23"
1666 },
1667 "funding": [ 1594 "funding": [
1668 { 1595 {
1669 "url": "https://symfony.com/sponsor", 1596 "url": "https://symfony.com/sponsor",
...@@ -1743,9 +1670,6 @@ ...@@ -1743,9 +1670,6 @@
1743 "polyfill", 1670 "polyfill",
1744 "portable" 1671 "portable"
1745 ], 1672 ],
1746 "support": {
1747 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0"
1748 },
1749 "funding": [ 1673 "funding": [
1750 { 1674 {
1751 "url": "https://symfony.com/sponsor", 1675 "url": "https://symfony.com/sponsor",
...@@ -1826,9 +1750,6 @@ ...@@ -1826,9 +1750,6 @@
1826 "portable", 1750 "portable",
1827 "shim" 1751 "shim"
1828 ], 1752 ],
1829 "support": {
1830 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0"
1831 },
1832 "funding": [ 1753 "funding": [
1833 { 1754 {
1834 "url": "https://symfony.com/sponsor", 1755 "url": "https://symfony.com/sponsor",
...@@ -1905,9 +1826,6 @@ ...@@ -1905,9 +1826,6 @@
1905 "portable", 1826 "portable",
1906 "shim" 1827 "shim"
1907 ], 1828 ],
1908 "support": {
1909 "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0"
1910 },
1911 "funding": [ 1829 "funding": [
1912 { 1830 {
1913 "url": "https://symfony.com/sponsor", 1831 "url": "https://symfony.com/sponsor",
...@@ -1988,9 +1906,6 @@ ...@@ -1988,9 +1906,6 @@
1988 "portable", 1906 "portable",
1989 "shim" 1907 "shim"
1990 ], 1908 ],
1991 "support": {
1992 "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0"
1993 },
1994 "funding": [ 1909 "funding": [
1995 { 1910 {
1996 "url": "https://symfony.com/sponsor", 1911 "url": "https://symfony.com/sponsor",
...@@ -2067,9 +1982,6 @@ ...@@ -2067,9 +1982,6 @@
2067 "portable", 1982 "portable",
2068 "shim" 1983 "shim"
2069 ], 1984 ],
2070 "support": {
2071 "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0"
2072 },
2073 "funding": [ 1985 "funding": [
2074 { 1986 {
2075 "url": "https://symfony.com/sponsor", 1987 "url": "https://symfony.com/sponsor",
...@@ -2150,9 +2062,6 @@ ...@@ -2150,9 +2062,6 @@
2150 "interoperability", 2062 "interoperability",
2151 "standards" 2063 "standards"
2152 ], 2064 ],
2153 "support": {
2154 "source": "https://github.com/symfony/service-contracts/tree/v2.5.2"
2155 },
2156 "funding": [ 2065 "funding": [
2157 { 2066 {
2158 "url": "https://symfony.com/sponsor", 2067 "url": "https://symfony.com/sponsor",
...@@ -2222,10 +2131,6 @@ ...@@ -2222,10 +2131,6 @@
2222 "static analysis", 2131 "static analysis",
2223 "wordpress" 2132 "wordpress"
2224 ], 2133 ],
2225 "support": {
2226 "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues",
2227 "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.0"
2228 },
2229 "time": "2023-04-23T06:15:06+00:00" 2134 "time": "2023-04-23T06:15:06+00:00"
2230 }, 2135 },
2231 { 2136 {
...@@ -2272,11 +2177,6 @@ ...@@ -2272,11 +2177,6 @@
2272 "standards", 2177 "standards",
2273 "wordpress" 2178 "wordpress"
2274 ], 2179 ],
2275 "support": {
2276 "issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues",
2277 "source": "https://github.com/WordPress/WordPress-Coding-Standards",
2278 "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
2279 },
2280 "time": "2020-05-13T23:57:56+00:00" 2180 "time": "2020-05-13T23:57:56+00:00"
2281 }, 2181 },
2282 { 2182 {
...@@ -2347,10 +2247,6 @@ ...@@ -2347,10 +2247,6 @@
2347 "themes", 2247 "themes",
2348 "wordpress" 2248 "wordpress"
2349 ], 2249 ],
2350 "support": {
2351 "issues": "https://github.com/WPTRT/WPThemeReview/issues",
2352 "source": "https://github.com/WPTRT/WPThemeReview"
2353 },
2354 "time": "2019-11-17T20:05:55+00:00" 2250 "time": "2019-11-17T20:05:55+00:00"
2355 } 2251 }
2356 ], 2252 ],
...@@ -2365,5 +2261,5 @@ ...@@ -2365,5 +2261,5 @@
2365 "php": ">=5.6" 2261 "php": ">=5.6"
2366 }, 2262 },
2367 "platform-dev": [], 2263 "platform-dev": [],
2368 "plugin-api-version": "2.3.0" 2264 "plugin-api-version": "1.1.0"
2369 } 2265 }
......