Skip to content

Commit 4fb047e

Browse files
committed
update core
1 parent 349c6ee commit 4fb047e

12 files changed

Lines changed: 90 additions & 106 deletions

typerocket/composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typerocket/vendor/autoload.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
// autoload.php @generated by Composer
44

5+
if (PHP_VERSION_ID < 50600) {
6+
echo '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;
7+
exit(1);
8+
}
9+
510
require_once __DIR__ . '/composer/autoload_real.php';
611

712
return ComposerAutoloaderInit1ea299e54fdefaef41f855b3138bc6c1::getLoader();

typerocket/vendor/composer/InstalledVersions.php

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
2222
*
2323
* To require its presence, you can require `composer-runtime-api ^2.0`
24+
*
25+
* @final
2426
*/
2527
class InstalledVersions
2628
{
2729
/**
2830
* @var mixed[]|null
29-
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
31+
* @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
3032
*/
3133
private static $installed;
3234

@@ -37,7 +39,7 @@ class InstalledVersions
3739

3840
/**
3941
* @var array[]
40-
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
42+
* @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
4143
*/
4244
private static $installedByVendor = array();
4345

@@ -241,7 +243,7 @@ public static function getInstallPath($packageName)
241243

242244
/**
243245
* @return array
244-
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
246+
* @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
245247
*/
246248
public static function getRootPackage()
247249
{
@@ -255,7 +257,7 @@ public static function getRootPackage()
255257
*
256258
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
257259
* @return array[]
258-
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
260+
* @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
259261
*/
260262
public static function getRawData()
261263
{
@@ -278,7 +280,7 @@ public static function getRawData()
278280
* Returns the raw data of all installed.php which are currently loaded for custom implementations
279281
*
280282
* @return array[]
281-
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
283+
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
282284
*/
283285
public static function getAllRawData()
284286
{
@@ -301,7 +303,7 @@ public static function getAllRawData()
301303
* @param array[] $data A vendor/composer/installed.php data set
302304
* @return void
303305
*
304-
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
306+
* @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
305307
*/
306308
public static function reload($data)
307309
{
@@ -311,7 +313,7 @@ public static function reload($data)
311313

312314
/**
313315
* @return array[]
314-
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
316+
* @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
315317
*/
316318
private static function getInstalled()
317319
{

typerocket/vendor/composer/autoload_classmap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_classmap.php @generated by Composer
44

5-
$vendorDir = dirname(dirname(__FILE__));
5+
$vendorDir = dirname(__DIR__);
66
$baseDir = dirname($vendorDir);
77

88
return array(

typerocket/vendor/composer/autoload_files.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@
22

33
// autoload_files.php @generated by Composer
44

5-
$vendorDir = dirname(dirname(__FILE__));
5+
$vendorDir = dirname(__DIR__);
66
$baseDir = dirname($vendorDir);
77

88
return array(
9-
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
109
'6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
1110
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
1211
'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
@@ -16,5 +15,6 @@
1615
'0d59ee240a4cd96ddbb4ff164fccea4d' => $vendorDir . '/symfony/polyfill-php73/bootstrap.php',
1716
'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php',
1817
'6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
18+
'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
1919
'4232713442289cfdc3d487ae82981d19' => $baseDir . '/helpers.php',
2020
);

typerocket/vendor/composer/autoload_namespaces.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_namespaces.php @generated by Composer
44

5-
$vendorDir = dirname(dirname(__FILE__));
5+
$vendorDir = dirname(__DIR__);
66
$baseDir = dirname($vendorDir);
77

88
return array(

typerocket/vendor/composer/autoload_psr4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_psr4.php @generated by Composer
44

5-
$vendorDir = dirname(dirname(__FILE__));
5+
$vendorDir = dirname(__DIR__);
66
$baseDir = dirname($vendorDir);
77

88
return array(

typerocket/vendor/composer/autoload_real.php

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,38 +25,15 @@ public static function getLoader()
2525
require __DIR__ . '/platform_check.php';
2626

2727
spl_autoload_register(array('ComposerAutoloaderInit1ea299e54fdefaef41f855b3138bc6c1', 'loadClassLoader'), true, true);
28-
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
28+
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
2929
spl_autoload_unregister(array('ComposerAutoloaderInit1ea299e54fdefaef41f855b3138bc6c1', 'loadClassLoader'));
3030

31-
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32-
if ($useStaticLoader) {
33-
require __DIR__ . '/autoload_static.php';
34-
35-
call_user_func(\Composer\Autoload\ComposerStaticInit1ea299e54fdefaef41f855b3138bc6c1::getInitializer($loader));
36-
} else {
37-
$map = require __DIR__ . '/autoload_namespaces.php';
38-
foreach ($map as $namespace => $path) {
39-
$loader->set($namespace, $path);
40-
}
41-
42-
$map = require __DIR__ . '/autoload_psr4.php';
43-
foreach ($map as $namespace => $path) {
44-
$loader->setPsr4($namespace, $path);
45-
}
46-
47-
$classMap = require __DIR__ . '/autoload_classmap.php';
48-
if ($classMap) {
49-
$loader->addClassMap($classMap);
50-
}
51-
}
31+
require __DIR__ . '/autoload_static.php';
32+
call_user_func(\Composer\Autoload\ComposerStaticInit1ea299e54fdefaef41f855b3138bc6c1::getInitializer($loader));
5233

5334
$loader->register(true);
5435

55-
if ($useStaticLoader) {
56-
$includeFiles = Composer\Autoload\ComposerStaticInit1ea299e54fdefaef41f855b3138bc6c1::$files;
57-
} else {
58-
$includeFiles = require __DIR__ . '/autoload_files.php';
59-
}
36+
$includeFiles = \Composer\Autoload\ComposerStaticInit1ea299e54fdefaef41f855b3138bc6c1::$files;
6037
foreach ($includeFiles as $fileIdentifier => $file) {
6138
composerRequire1ea299e54fdefaef41f855b3138bc6c1($fileIdentifier, $file);
6239
}

typerocket/vendor/composer/autoload_static.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
class ComposerStaticInit1ea299e54fdefaef41f855b3138bc6c1
88
{
99
public static $files = array (
10-
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
1110
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
1211
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
1312
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@@ -17,6 +16,7 @@ class ComposerStaticInit1ea299e54fdefaef41f855b3138bc6c1
1716
'0d59ee240a4cd96ddbb4ff164fccea4d' => __DIR__ . '/..' . '/symfony/polyfill-php73/bootstrap.php',
1817
'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php',
1918
'6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
19+
'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php',
2020
'4232713442289cfdc3d487ae82981d19' => __DIR__ . '/../..' . '/helpers.php',
2121
);
2222

typerocket/vendor/composer/installed.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2963,17 +2963,17 @@
29632963
},
29642964
{
29652965
"name": "typerocket/core",
2966-
"version": "v5.1.14",
2967-
"version_normalized": "5.1.14.0",
2966+
"version": "v5.1.15",
2967+
"version_normalized": "5.1.15.0",
29682968
"source": {
29692969
"type": "git",
29702970
"url": "https://github.com/TypeRocket/core.git",
2971-
"reference": "5dbae52cf24e0740605d416e474f79ac36a802d6"
2971+
"reference": "d1f4036e51660eb37078b3c56eea8ad77ca1abb4"
29722972
},
29732973
"dist": {
29742974
"type": "zip",
2975-
"url": "https://api.github.com/repos/TypeRocket/core/zipball/5dbae52cf24e0740605d416e474f79ac36a802d6",
2976-
"reference": "5dbae52cf24e0740605d416e474f79ac36a802d6",
2975+
"url": "https://api.github.com/repos/TypeRocket/core/zipball/d1f4036e51660eb37078b3c56eea8ad77ca1abb4",
2976+
"reference": "d1f4036e51660eb37078b3c56eea8ad77ca1abb4",
29772977
"shasum": ""
29782978
},
29792979
"require": {
@@ -2987,7 +2987,7 @@
29872987
"require-dev": {
29882988
"phpunit/phpunit": "^9.5"
29892989
},
2990-
"time": "2022-08-16T17:45:12+00:00",
2990+
"time": "2022-08-18T01:02:17+00:00",
29912991
"type": "library",
29922992
"installation-source": "dist",
29932993
"autoload": {
@@ -3016,7 +3016,7 @@
30163016
"support": {
30173017
"docs": "https://typerocket.com/docs/v5/",
30183018
"issues": "https://github.com/TypeRocket/core/issues",
3019-
"source": "https://github.com/TypeRocket/core/tree/v5.1.14"
3019+
"source": "https://github.com/TypeRocket/core/tree/v5.1.15"
30203020
},
30213021
"install-path": "../typerocket/core"
30223022
},

0 commit comments

Comments
 (0)