From 3701c42cad005a8d3fe609c0ffe578b69019c675 Mon Sep 17 00:00:00 2001 From: celaraze Date: Mon, 18 Sep 2023 01:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=EF=BC=9A=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/autoload.php | 18 - vendor/bin/highlight-query | 10 +- vendor/bin/highlight-query.bat | 5 - vendor/bin/lint-query | 10 +- vendor/bin/lint-query.bat | 5 - vendor/bin/tokenize-query | 10 +- vendor/bin/tokenize-query.bat | 5 - vendor/composer/ClassLoader.php | 139 ++++--- vendor/composer/InstalledVersions.php | 33 +- vendor/composer/LICENSE | 2 - vendor/composer/autoload_classmap.php | 26 +- vendor/composer/autoload_files.php | 42 +- vendor/composer/autoload_namespaces.php | 2 +- vendor/composer/autoload_psr4.php | 3 +- vendor/composer/autoload_real.php | 56 ++- vendor/composer/autoload_static.php | 69 ++-- vendor/composer/installed.json | 120 ++---- vendor/composer/installed.php | 301 +++++++------- vendor/lcobucci/clock/composer.json | 2 +- vendor/lcobucci/clock/src/Clock.php | 2 +- vendor/lcobucci/jwt/composer.json | 46 ++- vendor/lcobucci/jwt/src/Configuration.php | 1 + .../jwt/src/Encoding/ChainedFormatter.php | 5 + .../lcobucci/jwt/src/Encoding/JoseEncoder.php | 23 +- .../jwt/src/Encoding/UnixTimestampDates.php | 32 ++ vendor/lcobucci/jwt/src/JwtFacade.php | 66 ++++ vendor/lcobucci/jwt/src/Signer/Blake2b.php | 36 ++ .../jwt/src/Signer/CannotSignPayload.php | 2 +- vendor/lcobucci/jwt/src/Signer/Ecdsa.php | 32 +- .../lcobucci/jwt/src/Signer/Ecdsa/Sha256.php | 7 +- .../lcobucci/jwt/src/Signer/Ecdsa/Sha384.php | 7 +- .../lcobucci/jwt/src/Signer/Ecdsa/Sha512.php | 7 +- .../jwt/src/Signer/Ecdsa/UnsafeSha256.php | 27 ++ .../jwt/src/Signer/Ecdsa/UnsafeSha384.php | 27 ++ .../jwt/src/Signer/Ecdsa/UnsafeSha512.php | 27 ++ vendor/lcobucci/jwt/src/Signer/Eddsa.php | 36 ++ vendor/lcobucci/jwt/src/Signer/Hmac.php | 10 + .../lcobucci/jwt/src/Signer/Hmac/Sha256.php | 5 + .../lcobucci/jwt/src/Signer/Hmac/Sha384.php | 5 + .../lcobucci/jwt/src/Signer/Hmac/Sha512.php | 5 + .../jwt/src/Signer/Hmac/UnsafeSha256.php | 25 ++ .../jwt/src/Signer/Hmac/UnsafeSha384.php | 25 ++ .../jwt/src/Signer/Hmac/UnsafeSha512.php | 25 ++ .../jwt/src/Signer/InvalidKeyProvided.php | 28 +- .../lcobucci/jwt/src/Signer/Key/InMemory.php | 30 +- vendor/lcobucci/jwt/src/Signer/None.php | 1 + vendor/lcobucci/jwt/src/Signer/OpenSSL.php | 55 ++- vendor/lcobucci/jwt/src/Signer/Rsa.php | 15 +- .../jwt/src/Signer/Rsa/UnsafeSha256.php | 22 ++ .../jwt/src/Signer/Rsa/UnsafeSha384.php | 22 ++ .../jwt/src/Signer/Rsa/UnsafeSha512.php | 22 ++ .../lcobucci/jwt/src/Signer/UnsafeEcdsa.php | 60 +++ vendor/lcobucci/jwt/src/Signer/UnsafeRsa.php | 31 ++ .../lcobucci/jwt/src/SodiumBase64Polyfill.php | 88 +++++ vendor/lcobucci/jwt/src/Token/DataSet.php | 4 +- vendor/lcobucci/jwt/src/Token/Plain.php | 4 +- vendor/lcobucci/jwt/src/Token/Signature.php | 1 + vendor/lcobucci/jwt/src/UnencryptedToken.php | 25 ++ .../CannotValidateARegisteredClaim.php | 17 + .../Constraint/HasClaimWithValue.php | 50 +++ .../Validation/Constraint/IdentifiedBy.php | 5 +- .../src/Validation/Constraint/IssuedBy.php | 5 +- .../Validation/Constraint/LooseValidAt.php | 69 ++++ .../Validation/Constraint/PermittedFor.php | 5 +- .../src/Validation/Constraint/RelatedTo.php | 5 +- .../src/Validation/Constraint/SignedWith.php | 13 +- .../Validation/Constraint/StrictValidAt.php | 86 ++++ .../jwt/src/Validation/Constraint/ValidAt.php | 52 +-- .../src/Validation/ConstraintViolation.php | 15 + .../jwt/src/Validation/SignedWith.php | 8 + .../lcobucci/jwt/src/Validation/ValidAt.php | 8 + vendor/phpmyadmin/sql-parser/CHANGELOG.md | 9 + .../phpmyadmin/sql-parser/bin/highlight-query | 0 vendor/phpmyadmin/sql-parser/bin/lint-query | 0 .../phpmyadmin/sql-parser/bin/tokenize-query | 0 vendor/phpmyadmin/sql-parser/composer.json | 2 +- .../src/Components/AlterOperation.php | 19 +- .../sql-parser/src/Components/Condition.php | 1 + .../sql-parser/src/Components/Expression.php | 3 +- .../src/Components/SetOperation.php | 5 +- vendor/phpmyadmin/sql-parser/src/Lexer.php | 5 +- .../sql-parser/tests/Lexer/ContextTest.php | 5 + .../sql-parser/tests/Misc/BugsTest.php | 1 + .../tests/Parser/AlterStatementTest.php | 3 + .../tests/Parser/SelectStatementTest.php | 2 + .../tests/Parser/SetStatementTest.php | 1 + .../sql-parser/tests/data/bugs/gh508.in | 1 + .../sql-parser/tests/data/bugs/gh508.out | 60 +++ .../sql-parser/tests/data/lexer/lexNumber.in | 6 +- .../sql-parser/tests/data/lexer/lexNumber.out | 241 ++++++------ .../tests/data/parser/parseAlter9.out | 12 - .../parseAlterTableModifyColumnEnum1.in | 2 + .../parseAlterTableModifyColumnEnum1.out | 275 +++++++++++++ .../parseAlterTableModifyColumnEnum2.in | 2 + .../parseAlterTableModifyColumnEnum2.out | 275 +++++++++++++ .../parseAlterTableModifyColumnEnum3.in | 2 + .../parseAlterTableModifyColumnEnum3.out | 275 +++++++++++++ ...rseSelectAggregateWithPartitionAndAlias.in | 1 + ...seSelectAggregateWithPartitionAndAlias.out | 325 ++++++++++++++++ .../data/parser/parseSelectWhereCollate.in | 1 + .../data/parser/parseSelectWhereCollate.out | 368 ++++++++++++++++++ .../tests/data/parser/parseSetVariable2.in | 1 + .../tests/data/parser/parseSetVariable2.out | 133 +++++++ vendor/stella-maris/clock/.editorconfig | 15 - vendor/stella-maris/clock/LICENSE.md | 9 - vendor/stella-maris/clock/README.md | 66 ---- vendor/stella-maris/clock/composer.json | 27 -- .../stella-maris/clock/src/ClockInterface.php | 15 - 108 files changed, 3378 insertions(+), 877 deletions(-) mode change 100644 => 100755 vendor/bin/highlight-query delete mode 100644 vendor/bin/highlight-query.bat mode change 100644 => 100755 vendor/bin/lint-query delete mode 100644 vendor/bin/lint-query.bat mode change 100644 => 100755 vendor/bin/tokenize-query delete mode 100644 vendor/bin/tokenize-query.bat create mode 100644 vendor/lcobucci/jwt/src/Encoding/UnixTimestampDates.php create mode 100644 vendor/lcobucci/jwt/src/JwtFacade.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Blake2b.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha256.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha384.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha512.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Eddsa.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha256.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha384.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha512.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Rsa/UnsafeSha256.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Rsa/UnsafeSha384.php create mode 100644 vendor/lcobucci/jwt/src/Signer/Rsa/UnsafeSha512.php create mode 100644 vendor/lcobucci/jwt/src/Signer/UnsafeEcdsa.php create mode 100644 vendor/lcobucci/jwt/src/Signer/UnsafeRsa.php create mode 100644 vendor/lcobucci/jwt/src/SodiumBase64Polyfill.php create mode 100644 vendor/lcobucci/jwt/src/UnencryptedToken.php create mode 100644 vendor/lcobucci/jwt/src/Validation/Constraint/CannotValidateARegisteredClaim.php create mode 100644 vendor/lcobucci/jwt/src/Validation/Constraint/HasClaimWithValue.php create mode 100644 vendor/lcobucci/jwt/src/Validation/Constraint/LooseValidAt.php create mode 100644 vendor/lcobucci/jwt/src/Validation/Constraint/StrictValidAt.php create mode 100644 vendor/lcobucci/jwt/src/Validation/SignedWith.php create mode 100644 vendor/lcobucci/jwt/src/Validation/ValidAt.php mode change 100644 => 100755 vendor/phpmyadmin/sql-parser/bin/highlight-query mode change 100644 => 100755 vendor/phpmyadmin/sql-parser/bin/lint-query mode change 100644 => 100755 vendor/phpmyadmin/sql-parser/bin/tokenize-query create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.in create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.out create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.in create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.out create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.in create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.out create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.in create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.out create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.in create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.out create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.in create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.out create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.in create mode 100644 vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.out delete mode 100644 vendor/stella-maris/clock/.editorconfig delete mode 100644 vendor/stella-maris/clock/LICENSE.md delete mode 100644 vendor/stella-maris/clock/README.md delete mode 100644 vendor/stella-maris/clock/composer.json delete mode 100644 vendor/stella-maris/clock/src/ClockInterface.php diff --git a/vendor/autoload.php b/vendor/autoload.php index b3d186ee..579f082c 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -2,24 +2,6 @@ // autoload.php @generated by Composer -if (PHP_VERSION_ID < 50600) { - if (!headers_sent()) { - header('HTTP/1.1 500 Internal Server Error'); - } - $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; - if (!ini_get('display_errors')) { - if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { - fwrite(STDERR, $err); - } elseif (!headers_sent()) { - echo $err; - } - } - trigger_error( - $err, - E_USER_ERROR - ); -} - require_once __DIR__ . '/composer/autoload_real.php'; return ComposerAutoloaderInitab540f0684551bbb4b79f360b913ca88::getLoader(); diff --git a/vendor/bin/highlight-query b/vendor/bin/highlight-query old mode 100644 new mode 100755 index e9c9818d..f06af131 --- a/vendor/bin/highlight-query +++ b/vendor/bin/highlight-query @@ -108,12 +108,10 @@ if (PHP_VERSION_ID < 80000) { } } - if ( - (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) - || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) - ) { - return include("phpvfscomposer://" . __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/highlight-query'); + if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) { + include("phpvfscomposer://" . __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/highlight-query'); + exit(0); } } -return include __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/highlight-query'; +include __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/highlight-query'; diff --git a/vendor/bin/highlight-query.bat b/vendor/bin/highlight-query.bat deleted file mode 100644 index db151012..00000000 --- a/vendor/bin/highlight-query.bat +++ /dev/null @@ -1,5 +0,0 @@ -@ECHO OFF -setlocal DISABLEDELAYEDEXPANSION -SET BIN_TARGET=%~dp0/highlight-query -SET COMPOSER_RUNTIME_BIN_DIR=%~dp0 -php "%BIN_TARGET%" %* diff --git a/vendor/bin/lint-query b/vendor/bin/lint-query old mode 100644 new mode 100755 index 9cef5da4..1899debe --- a/vendor/bin/lint-query +++ b/vendor/bin/lint-query @@ -108,12 +108,10 @@ if (PHP_VERSION_ID < 80000) { } } - if ( - (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) - || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) - ) { - return include("phpvfscomposer://" . __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/lint-query'); + if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) { + include("phpvfscomposer://" . __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/lint-query'); + exit(0); } } -return include __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/lint-query'; +include __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/lint-query'; diff --git a/vendor/bin/lint-query.bat b/vendor/bin/lint-query.bat deleted file mode 100644 index e9283e24..00000000 --- a/vendor/bin/lint-query.bat +++ /dev/null @@ -1,5 +0,0 @@ -@ECHO OFF -setlocal DISABLEDELAYEDEXPANSION -SET BIN_TARGET=%~dp0/lint-query -SET COMPOSER_RUNTIME_BIN_DIR=%~dp0 -php "%BIN_TARGET%" %* diff --git a/vendor/bin/tokenize-query b/vendor/bin/tokenize-query old mode 100644 new mode 100755 index 8ffe9f3f..f831afbf --- a/vendor/bin/tokenize-query +++ b/vendor/bin/tokenize-query @@ -108,12 +108,10 @@ if (PHP_VERSION_ID < 80000) { } } - if ( - (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) - || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) - ) { - return include("phpvfscomposer://" . __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/tokenize-query'); + if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) { + include("phpvfscomposer://" . __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/tokenize-query'); + exit(0); } } -return include __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/tokenize-query'; +include __DIR__ . '/..'.'/phpmyadmin/sql-parser/bin/tokenize-query'; diff --git a/vendor/bin/tokenize-query.bat b/vendor/bin/tokenize-query.bat deleted file mode 100644 index 8e6c3ae6..00000000 --- a/vendor/bin/tokenize-query.bat +++ /dev/null @@ -1,5 +0,0 @@ -@ECHO OFF -setlocal DISABLEDELAYEDEXPANSION -SET BIN_TARGET=%~dp0/tokenize-query -SET COMPOSER_RUNTIME_BIN_DIR=%~dp0 -php "%BIN_TARGET%" %* diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php index 7824d8f7..afef3fa2 100644 --- a/vendor/composer/ClassLoader.php +++ b/vendor/composer/ClassLoader.php @@ -42,37 +42,35 @@ namespace Composer\Autoload; */ class ClassLoader { - /** @var \Closure(string):void */ - private static $includeFile; - - /** @var string|null */ + /** @var ?string */ private $vendorDir; // PSR-4 /** - * @var array> + * @var array[] + * @psalm-var array> */ private $prefixLengthsPsr4 = array(); /** - * @var array> + * @var array[] + * @psalm-var array> */ private $prefixDirsPsr4 = array(); /** - * @var list + * @var array[] + * @psalm-var array */ private $fallbackDirsPsr4 = array(); // PSR-0 /** - * List of PSR-0 prefixes - * - * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2'))) - * - * @var array>> + * @var array[] + * @psalm-var array> */ private $prefixesPsr0 = array(); /** - * @var list + * @var array[] + * @psalm-var array */ private $fallbackDirsPsr0 = array(); @@ -80,7 +78,8 @@ class ClassLoader private $useIncludePath = false; /** - * @var array + * @var string[] + * @psalm-var array */ private $classMap = array(); @@ -88,29 +87,29 @@ class ClassLoader private $classMapAuthoritative = false; /** - * @var array + * @var bool[] + * @psalm-var array */ private $missingClasses = array(); - /** @var string|null */ + /** @var ?string */ private $apcuPrefix; /** - * @var array + * @var self[] */ private static $registeredLoaders = array(); /** - * @param string|null $vendorDir + * @param ?string $vendorDir */ public function __construct($vendorDir = null) { $this->vendorDir = $vendorDir; - self::initializeIncludeClosure(); } /** - * @return array> + * @return string[] */ public function getPrefixes() { @@ -122,7 +121,8 @@ class ClassLoader } /** - * @return array> + * @return array[] + * @psalm-return array> */ public function getPrefixesPsr4() { @@ -130,7 +130,8 @@ class ClassLoader } /** - * @return list + * @return array[] + * @psalm-return array */ public function getFallbackDirs() { @@ -138,7 +139,8 @@ class ClassLoader } /** - * @return list + * @return array[] + * @psalm-return array */ public function getFallbackDirsPsr4() { @@ -146,7 +148,8 @@ class ClassLoader } /** - * @return array Array of classname => path + * @return string[] Array of classname => path + * @psalm-return array */ public function getClassMap() { @@ -154,7 +157,8 @@ class ClassLoader } /** - * @param array $classMap Class to filename map + * @param string[] $classMap Class to filename map + * @psalm-param array $classMap * * @return void */ @@ -171,25 +175,24 @@ class ClassLoader * Registers a set of PSR-0 directories for a given prefix, either * appending or prepending to the ones previously set for this prefix. * - * @param string $prefix The prefix - * @param list|string $paths The PSR-0 root directories - * @param bool $prepend Whether to prepend the directories + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories * * @return void */ public function add($prefix, $paths, $prepend = false) { - $paths = (array) $paths; if (!$prefix) { if ($prepend) { $this->fallbackDirsPsr0 = array_merge( - $paths, + (array) $paths, $this->fallbackDirsPsr0 ); } else { $this->fallbackDirsPsr0 = array_merge( $this->fallbackDirsPsr0, - $paths + (array) $paths ); } @@ -198,19 +201,19 @@ class ClassLoader $first = $prefix[0]; if (!isset($this->prefixesPsr0[$first][$prefix])) { - $this->prefixesPsr0[$first][$prefix] = $paths; + $this->prefixesPsr0[$first][$prefix] = (array) $paths; return; } if ($prepend) { $this->prefixesPsr0[$first][$prefix] = array_merge( - $paths, + (array) $paths, $this->prefixesPsr0[$first][$prefix] ); } else { $this->prefixesPsr0[$first][$prefix] = array_merge( $this->prefixesPsr0[$first][$prefix], - $paths + (array) $paths ); } } @@ -219,9 +222,9 @@ class ClassLoader * Registers a set of PSR-4 directories for a given namespace, either * appending or prepending to the ones previously set for this namespace. * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param list|string $paths The PSR-4 base directories - * @param bool $prepend Whether to prepend the directories + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories * * @throws \InvalidArgumentException * @@ -229,18 +232,17 @@ class ClassLoader */ public function addPsr4($prefix, $paths, $prepend = false) { - $paths = (array) $paths; if (!$prefix) { // Register directories for the root namespace. if ($prepend) { $this->fallbackDirsPsr4 = array_merge( - $paths, + (array) $paths, $this->fallbackDirsPsr4 ); } else { $this->fallbackDirsPsr4 = array_merge( $this->fallbackDirsPsr4, - $paths + (array) $paths ); } } elseif (!isset($this->prefixDirsPsr4[$prefix])) { @@ -250,18 +252,18 @@ class ClassLoader throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); } $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; - $this->prefixDirsPsr4[$prefix] = $paths; + $this->prefixDirsPsr4[$prefix] = (array) $paths; } elseif ($prepend) { // Prepend directories for an already registered namespace. $this->prefixDirsPsr4[$prefix] = array_merge( - $paths, + (array) $paths, $this->prefixDirsPsr4[$prefix] ); } else { // Append directories for an already registered namespace. $this->prefixDirsPsr4[$prefix] = array_merge( $this->prefixDirsPsr4[$prefix], - $paths + (array) $paths ); } } @@ -270,8 +272,8 @@ class ClassLoader * Registers a set of PSR-0 directories for a given prefix, * replacing any others previously set for this prefix. * - * @param string $prefix The prefix - * @param list|string $paths The PSR-0 base directories + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 base directories * * @return void */ @@ -288,8 +290,8 @@ class ClassLoader * Registers a set of PSR-4 directories for a given namespace, * replacing any others previously set for this namespace. * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param list|string $paths The PSR-4 base directories + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories * * @throws \InvalidArgumentException * @@ -423,8 +425,7 @@ class ClassLoader public function loadClass($class) { if ($file = $this->findFile($class)) { - $includeFile = self::$includeFile; - $includeFile($file); + includeFile($file); return true; } @@ -475,9 +476,9 @@ class ClassLoader } /** - * Returns the currently registered loaders keyed by their corresponding vendor directories. + * Returns the currently registered loaders indexed by their corresponding vendor directories. * - * @return array + * @return self[] */ public static function getRegisteredLoaders() { @@ -554,26 +555,18 @@ class ClassLoader return false; } - - /** - * @return void - */ - private static function initializeIncludeClosure() - { - if (self::$includeFile !== null) { - return; - } - - /** - * Scope isolated include. - * - * Prevents access to $this/self from included files. - * - * @param string $file - * @return void - */ - self::$includeFile = \Closure::bind(static function($file) { - include $file; - }, null, null); - } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * @return void + * @private + */ +function includeFile($file) +{ + include $file; } diff --git a/vendor/composer/InstalledVersions.php b/vendor/composer/InstalledVersions.php index 51e734a7..d50e0c9f 100644 --- a/vendor/composer/InstalledVersions.php +++ b/vendor/composer/InstalledVersions.php @@ -21,14 +21,12 @@ use Composer\Semver\VersionParser; * See also https://getcomposer.org/doc/07-runtime.md#installed-versions * * To require its presence, you can require `composer-runtime-api ^2.0` - * - * @final */ class InstalledVersions { /** * @var mixed[]|null - * @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}|array{}|null + * @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}|array{}|null */ private static $installed; @@ -39,7 +37,7 @@ class InstalledVersions /** * @var array[] - * @psalm-var array}> + * @psalm-var array}> */ private static $installedByVendor = array(); @@ -98,7 +96,7 @@ class InstalledVersions { foreach (self::getInstalled() as $installed) { if (isset($installed['versions'][$packageName])) { - return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; + return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']); } } @@ -119,7 +117,7 @@ class InstalledVersions */ public static function satisfies(VersionParser $parser, $packageName, $constraint) { - $constraint = $parser->parseConstraints((string) $constraint); + $constraint = $parser->parseConstraints($constraint); $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); return $provided->matches($constraint); @@ -243,7 +241,7 @@ class InstalledVersions /** * @return array - * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} + * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string} */ public static function getRootPackage() { @@ -257,7 +255,7 @@ class InstalledVersions * * @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. * @return array[] - * @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} + * @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} */ public static function getRawData() { @@ -280,7 +278,7 @@ class InstalledVersions * Returns the raw data of all installed.php which are currently loaded for custom implementations * * @return array[] - * @psalm-return list}> + * @psalm-return list}> */ public static function getAllRawData() { @@ -303,7 +301,7 @@ class InstalledVersions * @param array[] $data A vendor/composer/installed.php data set * @return void * - * @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} $data + * @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} $data */ public static function reload($data) { @@ -313,7 +311,7 @@ class InstalledVersions /** * @return array[] - * @psalm-return list}> + * @psalm-return list}> */ private static function getInstalled() { @@ -328,9 +326,7 @@ class InstalledVersions if (isset(self::$installedByVendor[$vendorDir])) { $installed[] = self::$installedByVendor[$vendorDir]; } elseif (is_file($vendorDir.'/composer/installed.php')) { - /** @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} $required */ - $required = require $vendorDir.'/composer/installed.php'; - $installed[] = self::$installedByVendor[$vendorDir] = $required; + $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { self::$installed = $installed[count($installed) - 1]; } @@ -342,17 +338,12 @@ class InstalledVersions // only require the installed.php file if this file is loaded from its dumped location, // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 if (substr(__DIR__, -8, 1) !== 'C') { - /** @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} $required */ - $required = require __DIR__ . '/installed.php'; - self::$installed = $required; + self::$installed = require __DIR__ . '/installed.php'; } else { self::$installed = array(); } } - - if (self::$installed !== array()) { - $installed[] = self::$installed; - } + $installed[] = self::$installed; return $installed; } diff --git a/vendor/composer/LICENSE b/vendor/composer/LICENSE index f27399a0..62ecfd8d 100644 --- a/vendor/composer/LICENSE +++ b/vendor/composer/LICENSE @@ -1,4 +1,3 @@ - Copyright (c) Nils Adermann, Jordi Boggiano Permission is hereby granted, free of charge, to any person obtaining a copy @@ -18,4 +17,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 5c169585..c1afe818 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -2,7 +2,7 @@ // autoload_classmap.php @generated by Composer -$vendorDir = dirname(__DIR__); +$vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( @@ -3880,9 +3880,12 @@ return array( 'Lcobucci\\JWT\\Encoding\\JoseEncoder' => $vendorDir . '/lcobucci/jwt/src/Encoding/JoseEncoder.php', 'Lcobucci\\JWT\\Encoding\\MicrosecondBasedDateConversion' => $vendorDir . '/lcobucci/jwt/src/Encoding/MicrosecondBasedDateConversion.php', 'Lcobucci\\JWT\\Encoding\\UnifyAudience' => $vendorDir . '/lcobucci/jwt/src/Encoding/UnifyAudience.php', + 'Lcobucci\\JWT\\Encoding\\UnixTimestampDates' => $vendorDir . '/lcobucci/jwt/src/Encoding/UnixTimestampDates.php', 'Lcobucci\\JWT\\Exception' => $vendorDir . '/lcobucci/jwt/src/Exception.php', + 'Lcobucci\\JWT\\JwtFacade' => $vendorDir . '/lcobucci/jwt/src/JwtFacade.php', 'Lcobucci\\JWT\\Parser' => $vendorDir . '/lcobucci/jwt/src/Parser.php', 'Lcobucci\\JWT\\Signer' => $vendorDir . '/lcobucci/jwt/src/Signer.php', + 'Lcobucci\\JWT\\Signer\\Blake2b' => $vendorDir . '/lcobucci/jwt/src/Signer/Blake2b.php', 'Lcobucci\\JWT\\Signer\\CannotSignPayload' => $vendorDir . '/lcobucci/jwt/src/Signer/CannotSignPayload.php', 'Lcobucci\\JWT\\Signer\\Ecdsa' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa.php', 'Lcobucci\\JWT\\Signer\\Ecdsa\\ConversionFailed' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa/ConversionFailed.php', @@ -3891,10 +3894,17 @@ return array( 'Lcobucci\\JWT\\Signer\\Ecdsa\\Sha384' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa/Sha384.php', 'Lcobucci\\JWT\\Signer\\Ecdsa\\Sha512' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php', 'Lcobucci\\JWT\\Signer\\Ecdsa\\SignatureConverter' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa/SignatureConverter.php', + 'Lcobucci\\JWT\\Signer\\Ecdsa\\UnsafeSha256' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha256.php', + 'Lcobucci\\JWT\\Signer\\Ecdsa\\UnsafeSha384' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha384.php', + 'Lcobucci\\JWT\\Signer\\Ecdsa\\UnsafeSha512' => $vendorDir . '/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha512.php', + 'Lcobucci\\JWT\\Signer\\Eddsa' => $vendorDir . '/lcobucci/jwt/src/Signer/Eddsa.php', 'Lcobucci\\JWT\\Signer\\Hmac' => $vendorDir . '/lcobucci/jwt/src/Signer/Hmac.php', 'Lcobucci\\JWT\\Signer\\Hmac\\Sha256' => $vendorDir . '/lcobucci/jwt/src/Signer/Hmac/Sha256.php', 'Lcobucci\\JWT\\Signer\\Hmac\\Sha384' => $vendorDir . '/lcobucci/jwt/src/Signer/Hmac/Sha384.php', 'Lcobucci\\JWT\\Signer\\Hmac\\Sha512' => $vendorDir . '/lcobucci/jwt/src/Signer/Hmac/Sha512.php', + 'Lcobucci\\JWT\\Signer\\Hmac\\UnsafeSha256' => $vendorDir . '/lcobucci/jwt/src/Signer/Hmac/UnsafeSha256.php', + 'Lcobucci\\JWT\\Signer\\Hmac\\UnsafeSha384' => $vendorDir . '/lcobucci/jwt/src/Signer/Hmac/UnsafeSha384.php', + 'Lcobucci\\JWT\\Signer\\Hmac\\UnsafeSha512' => $vendorDir . '/lcobucci/jwt/src/Signer/Hmac/UnsafeSha512.php', 'Lcobucci\\JWT\\Signer\\InvalidKeyProvided' => $vendorDir . '/lcobucci/jwt/src/Signer/InvalidKeyProvided.php', 'Lcobucci\\JWT\\Signer\\Key' => $vendorDir . '/lcobucci/jwt/src/Signer/Key.php', 'Lcobucci\\JWT\\Signer\\Key\\FileCouldNotBeRead' => $vendorDir . '/lcobucci/jwt/src/Signer/Key/FileCouldNotBeRead.php', @@ -3906,6 +3916,12 @@ return array( 'Lcobucci\\JWT\\Signer\\Rsa\\Sha256' => $vendorDir . '/lcobucci/jwt/src/Signer/Rsa/Sha256.php', 'Lcobucci\\JWT\\Signer\\Rsa\\Sha384' => $vendorDir . '/lcobucci/jwt/src/Signer/Rsa/Sha384.php', 'Lcobucci\\JWT\\Signer\\Rsa\\Sha512' => $vendorDir . '/lcobucci/jwt/src/Signer/Rsa/Sha512.php', + 'Lcobucci\\JWT\\Signer\\Rsa\\UnsafeSha256' => $vendorDir . '/lcobucci/jwt/src/Signer/Rsa/UnsafeSha256.php', + 'Lcobucci\\JWT\\Signer\\Rsa\\UnsafeSha384' => $vendorDir . '/lcobucci/jwt/src/Signer/Rsa/UnsafeSha384.php', + 'Lcobucci\\JWT\\Signer\\Rsa\\UnsafeSha512' => $vendorDir . '/lcobucci/jwt/src/Signer/Rsa/UnsafeSha512.php', + 'Lcobucci\\JWT\\Signer\\UnsafeEcdsa' => $vendorDir . '/lcobucci/jwt/src/Signer/UnsafeEcdsa.php', + 'Lcobucci\\JWT\\Signer\\UnsafeRsa' => $vendorDir . '/lcobucci/jwt/src/Signer/UnsafeRsa.php', + 'Lcobucci\\JWT\\SodiumBase64Polyfill' => $vendorDir . '/lcobucci/jwt/src/SodiumBase64Polyfill.php', 'Lcobucci\\JWT\\Token' => $vendorDir . '/lcobucci/jwt/src/Token.php', 'Lcobucci\\JWT\\Token\\Builder' => $vendorDir . '/lcobucci/jwt/src/Token/Builder.php', 'Lcobucci\\JWT\\Token\\DataSet' => $vendorDir . '/lcobucci/jwt/src/Token/DataSet.php', @@ -3916,17 +3932,24 @@ return array( 'Lcobucci\\JWT\\Token\\RegisteredClaims' => $vendorDir . '/lcobucci/jwt/src/Token/RegisteredClaims.php', 'Lcobucci\\JWT\\Token\\Signature' => $vendorDir . '/lcobucci/jwt/src/Token/Signature.php', 'Lcobucci\\JWT\\Token\\UnsupportedHeaderFound' => $vendorDir . '/lcobucci/jwt/src/Token/UnsupportedHeaderFound.php', + 'Lcobucci\\JWT\\UnencryptedToken' => $vendorDir . '/lcobucci/jwt/src/UnencryptedToken.php', 'Lcobucci\\JWT\\Validation\\Constraint' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint.php', 'Lcobucci\\JWT\\Validation\\ConstraintViolation' => $vendorDir . '/lcobucci/jwt/src/Validation/ConstraintViolation.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\CannotValidateARegisteredClaim' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/CannotValidateARegisteredClaim.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\HasClaimWithValue' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/HasClaimWithValue.php', 'Lcobucci\\JWT\\Validation\\Constraint\\IdentifiedBy' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/IdentifiedBy.php', 'Lcobucci\\JWT\\Validation\\Constraint\\IssuedBy' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/IssuedBy.php', 'Lcobucci\\JWT\\Validation\\Constraint\\LeewayCannotBeNegative' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/LeewayCannotBeNegative.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\LooseValidAt' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/LooseValidAt.php', 'Lcobucci\\JWT\\Validation\\Constraint\\PermittedFor' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/PermittedFor.php', 'Lcobucci\\JWT\\Validation\\Constraint\\RelatedTo' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/RelatedTo.php', 'Lcobucci\\JWT\\Validation\\Constraint\\SignedWith' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/SignedWith.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\StrictValidAt' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/StrictValidAt.php', 'Lcobucci\\JWT\\Validation\\Constraint\\ValidAt' => $vendorDir . '/lcobucci/jwt/src/Validation/Constraint/ValidAt.php', 'Lcobucci\\JWT\\Validation\\NoConstraintsGiven' => $vendorDir . '/lcobucci/jwt/src/Validation/NoConstraintsGiven.php', 'Lcobucci\\JWT\\Validation\\RequiredConstraintsViolated' => $vendorDir . '/lcobucci/jwt/src/Validation/RequiredConstraintsViolated.php', + 'Lcobucci\\JWT\\Validation\\SignedWith' => $vendorDir . '/lcobucci/jwt/src/Validation/SignedWith.php', + 'Lcobucci\\JWT\\Validation\\ValidAt' => $vendorDir . '/lcobucci/jwt/src/Validation/ValidAt.php', 'Lcobucci\\JWT\\Validation\\Validator' => $vendorDir . '/lcobucci/jwt/src/Validation/Validator.php', 'Lcobucci\\JWT\\Validator' => $vendorDir . '/lcobucci/jwt/src/Validator.php', 'League\\CommonMark\\CommonMarkConverter' => $vendorDir . '/league/commonmark/src/CommonMarkConverter.php', @@ -6867,7 +6890,6 @@ return array( 'Spipu\\Html2Pdf\\Tag\\Svg\\Polyline' => $vendorDir . '/spipu/html2pdf/src/Tag/Svg/Polyline.php', 'Spipu\\Html2Pdf\\Tag\\Svg\\Rect' => $vendorDir . '/spipu/html2pdf/src/Tag/Svg/Rect.php', 'Spipu\\Html2Pdf\\Tag\\TagInterface' => $vendorDir . '/spipu/html2pdf/src/Tag/TagInterface.php', - 'StellaMaris\\Clock\\ClockInterface' => $vendorDir . '/stella-maris/clock/src/ClockInterface.php', 'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 'Symfony\\Component\\Console\\Application' => $vendorDir . '/symfony/console/Application.php', 'Symfony\\Component\\Console\\Attribute\\AsCommand' => $vendorDir . '/symfony/console/Attribute/AsCommand.php', diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index bf4a0aa6..06dfb17f 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -2,27 +2,29 @@ // autoload_files.php @generated by Composer -$vendorDir = dirname(__DIR__); +$vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', - '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', - 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', - 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php', - '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', - '667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php', - '8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php', - '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php', - 'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php', - 'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php', - '662a729f963d39afe703c9d9b7ab4a8c' => $vendorDir . '/symfony/polyfill-php83/bootstrap.php', - 'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php', + '6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', + 'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php', '9b38cf48e83f5d8f60375221cd213eee' => $vendorDir . '/phpstan/phpstan/bootstrap.php', - '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', - '35a6ad97d21e794e7e22a17d806652e4' => $vendorDir . '/nunomaduro/termwind/src/Functions.php', + '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', + '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', + 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php', + '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php', + 'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php', + 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', + '662a729f963d39afe703c9d9b7ab4a8c' => $vendorDir . '/symfony/polyfill-php83/bootstrap.php', + '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', '09f6b20656683369174dd6fa83b7e5fb' => $vendorDir . '/symfony/polyfill-uuid/bootstrap.php', + '667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php', + 'c72349b1fe8d0deeedd3a52e8aa814d8' => $vendorDir . '/mockery/mockery/library/helpers.php', + 'ce9671a430e4846b44e1c68c7611f9f5' => $vendorDir . '/mockery/mockery/library/Mockery.php', + 'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php', + '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', + '35a6ad97d21e794e7e22a17d806652e4' => $vendorDir . '/nunomaduro/termwind/src/Functions.php', '47e1160838b5e5a10346ac4084b58c23' => $vendorDir . '/laravel/prompts/src/helpers.php', 'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php', '3bd81c9b8fcc150b69d8b63b4d2ccf23' => $vendorDir . '/spatie/flare-client-php/src/helpers.php', @@ -30,17 +32,15 @@ return array( 'c7a3c339e7e14b60e06a2d7fcce9476b' => $vendorDir . '/laravel/framework/src/Illuminate/Events/functions.php', 'f0906e6318348a765ffb6eb24e0d0938' => $vendorDir . '/laravel/framework/src/Illuminate/Foundation/helpers.php', '58571171fd5812e6e447dce228f52f4d' => $vendorDir . '/laravel/framework/src/Illuminate/Support/helpers.php', + '801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php', + '8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php', 'fe62ba7e10580d903cc46d808b5961a4' => $vendorDir . '/tightenco/collect/src/Collect/Support/helpers.php', 'caf31cc6ec7cf2241cb6f12c226c3846' => $vendorDir . '/tightenco/collect/src/Collect/Support/alias.php', - '6124b4c8570aa390c21fafd04a26c69f' => $vendorDir . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', 'dc1275c308c5b416beb314b6317daca2' => $vendorDir . '/overtrue/pinyin/src/const.php', - '801c31d8ed748cfa537fa45402288c95' => $vendorDir . '/psy/psysh/src/functions.php', + '320163ac6b93aebe3dc25b60a0533d56' => $vendorDir . '/spatie/laravel-ignition/src/helpers.php', + 'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php', '044fc72df35e84c745ee0d4120dc15d2' => $vendorDir . '/dcat/laravel-admin/src/Support/helpers.php', - 'c72349b1fe8d0deeedd3a52e8aa814d8' => $vendorDir . '/mockery/mockery/library/helpers.php', - 'ce9671a430e4846b44e1c68c7611f9f5' => $vendorDir . '/mockery/mockery/library/Mockery.php', 'b670c7ffff63265cc064eb6fd1051ae1' => $vendorDir . '/mosiboom/dcat-iframe-tab/src/helpers.php', 'a1cfe24d14977df6878b9bf804af2d1c' => $vendorDir . '/nunomaduro/collision/src/Adapters/Phpunit/Autoload.php', 'cda2d2f579338909929d3104d0afc501' => $vendorDir . '/overtrue/laravel-pinyin/src/helpers.php', - 'ec07570ca5a812141189b1fa81503674' => $vendorDir . '/phpunit/phpunit/src/Framework/Assert/Functions.php', - '320163ac6b93aebe3dc25b60a0533d56' => $vendorDir . '/spatie/laravel-ignition/src/helpers.php', ); diff --git a/vendor/composer/autoload_namespaces.php b/vendor/composer/autoload_namespaces.php index 40776082..98fdb6e9 100644 --- a/vendor/composer/autoload_namespaces.php +++ b/vendor/composer/autoload_namespaces.php @@ -2,7 +2,7 @@ // autoload_namespaces.php @generated by Composer -$vendorDir = dirname(__DIR__); +$vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index a51673e7..2a30bd7b 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -2,7 +2,7 @@ // autoload_psr4.php @generated by Composer -$vendorDir = dirname(__DIR__); +$vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( @@ -42,7 +42,6 @@ return array( 'Symfony\\Component\\ErrorHandler\\' => array($vendorDir . '/symfony/error-handler'), 'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'), 'Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'), - 'StellaMaris\\Clock\\' => array($vendorDir . '/stella-maris/clock/src'), 'Spipu\\Html2Pdf\\' => array($vendorDir . '/spipu/html2pdf/src'), 'Spatie\\LaravelPackageTools\\' => array($vendorDir . '/spatie/laravel-package-tools/src'), 'Spatie\\LaravelIgnition\\' => array($vendorDir . '/spatie/laravel-ignition/src'), diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 9c7b1174..a2740385 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -25,26 +25,56 @@ class ComposerAutoloaderInitab540f0684551bbb4b79f360b913ca88 require __DIR__ . '/platform_check.php'; spl_autoload_register(array('ComposerAutoloaderInitab540f0684551bbb4b79f360b913ca88', 'loadClassLoader'), true, true); - self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); + self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); spl_autoload_unregister(array('ComposerAutoloaderInitab540f0684551bbb4b79f360b913ca88', 'loadClassLoader')); - require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInitab540f0684551bbb4b79f360b913ca88::getInitializer($loader)); + $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); + if ($useStaticLoader) { + require __DIR__ . '/autoload_static.php'; + + call_user_func(\Composer\Autoload\ComposerStaticInitab540f0684551bbb4b79f360b913ca88::getInitializer($loader)); + } else { + $map = require __DIR__ . '/autoload_namespaces.php'; + foreach ($map as $namespace => $path) { + $loader->set($namespace, $path); + } + + $map = require __DIR__ . '/autoload_psr4.php'; + foreach ($map as $namespace => $path) { + $loader->setPsr4($namespace, $path); + } + + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + } $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInitab540f0684551bbb4b79f360b913ca88::$files; - $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; - - require $file; - } - }, null, null); - foreach ($filesToLoad as $fileIdentifier => $file) { - $requireFile($fileIdentifier, $file); + if ($useStaticLoader) { + $includeFiles = Composer\Autoload\ComposerStaticInitab540f0684551bbb4b79f360b913ca88::$files; + } else { + $includeFiles = require __DIR__ . '/autoload_files.php'; + } + foreach ($includeFiles as $fileIdentifier => $file) { + composerRequireab540f0684551bbb4b79f360b913ca88($fileIdentifier, $file); } return $loader; } } + +/** + * @param string $fileIdentifier + * @param string $file + * @return void + */ +function composerRequireab540f0684551bbb4b79f360b913ca88($fileIdentifier, $file) +{ + if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { + $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; + + require $file; + } +} diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index d4c1913d..040d366b 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -7,23 +7,25 @@ namespace Composer\Autoload; class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 { public static $files = array ( - '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', - '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', - 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', - 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', - '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', - '667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php', - '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php', - '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php', - 'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php', - 'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php', - '662a729f963d39afe703c9d9b7ab4a8c' => __DIR__ . '/..' . '/symfony/polyfill-php83/bootstrap.php', - 'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php', + '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', + 'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php', '9b38cf48e83f5d8f60375221cd213eee' => __DIR__ . '/..' . '/phpstan/phpstan/bootstrap.php', - '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', - '35a6ad97d21e794e7e22a17d806652e4' => __DIR__ . '/..' . '/nunomaduro/termwind/src/Functions.php', + '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', + '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', + 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', + '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php', + 'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php', + 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', + '662a729f963d39afe703c9d9b7ab4a8c' => __DIR__ . '/..' . '/symfony/polyfill-php83/bootstrap.php', + '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', '09f6b20656683369174dd6fa83b7e5fb' => __DIR__ . '/..' . '/symfony/polyfill-uuid/bootstrap.php', + '667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php', + 'c72349b1fe8d0deeedd3a52e8aa814d8' => __DIR__ . '/..' . '/mockery/mockery/library/helpers.php', + 'ce9671a430e4846b44e1c68c7611f9f5' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery.php', + 'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php', + '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', + '35a6ad97d21e794e7e22a17d806652e4' => __DIR__ . '/..' . '/nunomaduro/termwind/src/Functions.php', '47e1160838b5e5a10346ac4084b58c23' => __DIR__ . '/..' . '/laravel/prompts/src/helpers.php', 'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php', '3bd81c9b8fcc150b69d8b63b4d2ccf23' => __DIR__ . '/..' . '/spatie/flare-client-php/src/helpers.php', @@ -31,19 +33,17 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 'c7a3c339e7e14b60e06a2d7fcce9476b' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Events/functions.php', 'f0906e6318348a765ffb6eb24e0d0938' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Foundation/helpers.php', '58571171fd5812e6e447dce228f52f4d' => __DIR__ . '/..' . '/laravel/framework/src/Illuminate/Support/helpers.php', + '801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php', + '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php', 'fe62ba7e10580d903cc46d808b5961a4' => __DIR__ . '/..' . '/tightenco/collect/src/Collect/Support/helpers.php', 'caf31cc6ec7cf2241cb6f12c226c3846' => __DIR__ . '/..' . '/tightenco/collect/src/Collect/Support/alias.php', - '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php', 'dc1275c308c5b416beb314b6317daca2' => __DIR__ . '/..' . '/overtrue/pinyin/src/const.php', - '801c31d8ed748cfa537fa45402288c95' => __DIR__ . '/..' . '/psy/psysh/src/functions.php', + '320163ac6b93aebe3dc25b60a0533d56' => __DIR__ . '/..' . '/spatie/laravel-ignition/src/helpers.php', + 'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php', '044fc72df35e84c745ee0d4120dc15d2' => __DIR__ . '/..' . '/dcat/laravel-admin/src/Support/helpers.php', - 'c72349b1fe8d0deeedd3a52e8aa814d8' => __DIR__ . '/..' . '/mockery/mockery/library/helpers.php', - 'ce9671a430e4846b44e1c68c7611f9f5' => __DIR__ . '/..' . '/mockery/mockery/library/Mockery.php', 'b670c7ffff63265cc064eb6fd1051ae1' => __DIR__ . '/..' . '/mosiboom/dcat-iframe-tab/src/helpers.php', 'a1cfe24d14977df6878b9bf804af2d1c' => __DIR__ . '/..' . '/nunomaduro/collision/src/Adapters/Phpunit/Autoload.php', 'cda2d2f579338909929d3104d0afc501' => __DIR__ . '/..' . '/overtrue/laravel-pinyin/src/helpers.php', - 'ec07570ca5a812141189b1fa81503674' => __DIR__ . '/..' . '/phpunit/phpunit/src/Framework/Assert/Functions.php', - '320163ac6b93aebe3dc25b60a0533d56' => __DIR__ . '/..' . '/spatie/laravel-ignition/src/helpers.php', ); public static $prefixLengthsPsr4 = array ( @@ -94,7 +94,6 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 'Symfony\\Component\\ErrorHandler\\' => 31, 'Symfony\\Component\\CssSelector\\' => 30, 'Symfony\\Component\\Console\\' => 26, - 'StellaMaris\\Clock\\' => 18, 'Spipu\\Html2Pdf\\' => 15, 'Spatie\\LaravelPackageTools\\' => 27, 'Spatie\\LaravelIgnition\\' => 23, @@ -358,10 +357,6 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 array ( 0 => __DIR__ . '/..' . '/symfony/console', ), - 'StellaMaris\\Clock\\' => - array ( - 0 => __DIR__ . '/..' . '/stella-maris/clock/src', - ), 'Spipu\\Html2Pdf\\' => array ( 0 => __DIR__ . '/..' . '/spipu/html2pdf/src', @@ -4544,9 +4539,12 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 'Lcobucci\\JWT\\Encoding\\JoseEncoder' => __DIR__ . '/..' . '/lcobucci/jwt/src/Encoding/JoseEncoder.php', 'Lcobucci\\JWT\\Encoding\\MicrosecondBasedDateConversion' => __DIR__ . '/..' . '/lcobucci/jwt/src/Encoding/MicrosecondBasedDateConversion.php', 'Lcobucci\\JWT\\Encoding\\UnifyAudience' => __DIR__ . '/..' . '/lcobucci/jwt/src/Encoding/UnifyAudience.php', + 'Lcobucci\\JWT\\Encoding\\UnixTimestampDates' => __DIR__ . '/..' . '/lcobucci/jwt/src/Encoding/UnixTimestampDates.php', 'Lcobucci\\JWT\\Exception' => __DIR__ . '/..' . '/lcobucci/jwt/src/Exception.php', + 'Lcobucci\\JWT\\JwtFacade' => __DIR__ . '/..' . '/lcobucci/jwt/src/JwtFacade.php', 'Lcobucci\\JWT\\Parser' => __DIR__ . '/..' . '/lcobucci/jwt/src/Parser.php', 'Lcobucci\\JWT\\Signer' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer.php', + 'Lcobucci\\JWT\\Signer\\Blake2b' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Blake2b.php', 'Lcobucci\\JWT\\Signer\\CannotSignPayload' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/CannotSignPayload.php', 'Lcobucci\\JWT\\Signer\\Ecdsa' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa.php', 'Lcobucci\\JWT\\Signer\\Ecdsa\\ConversionFailed' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa/ConversionFailed.php', @@ -4555,10 +4553,17 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 'Lcobucci\\JWT\\Signer\\Ecdsa\\Sha384' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa/Sha384.php', 'Lcobucci\\JWT\\Signer\\Ecdsa\\Sha512' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php', 'Lcobucci\\JWT\\Signer\\Ecdsa\\SignatureConverter' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa/SignatureConverter.php', + 'Lcobucci\\JWT\\Signer\\Ecdsa\\UnsafeSha256' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha256.php', + 'Lcobucci\\JWT\\Signer\\Ecdsa\\UnsafeSha384' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha384.php', + 'Lcobucci\\JWT\\Signer\\Ecdsa\\UnsafeSha512' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha512.php', + 'Lcobucci\\JWT\\Signer\\Eddsa' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Eddsa.php', 'Lcobucci\\JWT\\Signer\\Hmac' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Hmac.php', 'Lcobucci\\JWT\\Signer\\Hmac\\Sha256' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Hmac/Sha256.php', 'Lcobucci\\JWT\\Signer\\Hmac\\Sha384' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Hmac/Sha384.php', 'Lcobucci\\JWT\\Signer\\Hmac\\Sha512' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Hmac/Sha512.php', + 'Lcobucci\\JWT\\Signer\\Hmac\\UnsafeSha256' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Hmac/UnsafeSha256.php', + 'Lcobucci\\JWT\\Signer\\Hmac\\UnsafeSha384' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Hmac/UnsafeSha384.php', + 'Lcobucci\\JWT\\Signer\\Hmac\\UnsafeSha512' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Hmac/UnsafeSha512.php', 'Lcobucci\\JWT\\Signer\\InvalidKeyProvided' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/InvalidKeyProvided.php', 'Lcobucci\\JWT\\Signer\\Key' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Key.php', 'Lcobucci\\JWT\\Signer\\Key\\FileCouldNotBeRead' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Key/FileCouldNotBeRead.php', @@ -4570,6 +4575,12 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 'Lcobucci\\JWT\\Signer\\Rsa\\Sha256' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Rsa/Sha256.php', 'Lcobucci\\JWT\\Signer\\Rsa\\Sha384' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Rsa/Sha384.php', 'Lcobucci\\JWT\\Signer\\Rsa\\Sha512' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Rsa/Sha512.php', + 'Lcobucci\\JWT\\Signer\\Rsa\\UnsafeSha256' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Rsa/UnsafeSha256.php', + 'Lcobucci\\JWT\\Signer\\Rsa\\UnsafeSha384' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Rsa/UnsafeSha384.php', + 'Lcobucci\\JWT\\Signer\\Rsa\\UnsafeSha512' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/Rsa/UnsafeSha512.php', + 'Lcobucci\\JWT\\Signer\\UnsafeEcdsa' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/UnsafeEcdsa.php', + 'Lcobucci\\JWT\\Signer\\UnsafeRsa' => __DIR__ . '/..' . '/lcobucci/jwt/src/Signer/UnsafeRsa.php', + 'Lcobucci\\JWT\\SodiumBase64Polyfill' => __DIR__ . '/..' . '/lcobucci/jwt/src/SodiumBase64Polyfill.php', 'Lcobucci\\JWT\\Token' => __DIR__ . '/..' . '/lcobucci/jwt/src/Token.php', 'Lcobucci\\JWT\\Token\\Builder' => __DIR__ . '/..' . '/lcobucci/jwt/src/Token/Builder.php', 'Lcobucci\\JWT\\Token\\DataSet' => __DIR__ . '/..' . '/lcobucci/jwt/src/Token/DataSet.php', @@ -4580,17 +4591,24 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 'Lcobucci\\JWT\\Token\\RegisteredClaims' => __DIR__ . '/..' . '/lcobucci/jwt/src/Token/RegisteredClaims.php', 'Lcobucci\\JWT\\Token\\Signature' => __DIR__ . '/..' . '/lcobucci/jwt/src/Token/Signature.php', 'Lcobucci\\JWT\\Token\\UnsupportedHeaderFound' => __DIR__ . '/..' . '/lcobucci/jwt/src/Token/UnsupportedHeaderFound.php', + 'Lcobucci\\JWT\\UnencryptedToken' => __DIR__ . '/..' . '/lcobucci/jwt/src/UnencryptedToken.php', 'Lcobucci\\JWT\\Validation\\Constraint' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint.php', 'Lcobucci\\JWT\\Validation\\ConstraintViolation' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/ConstraintViolation.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\CannotValidateARegisteredClaim' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/CannotValidateARegisteredClaim.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\HasClaimWithValue' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/HasClaimWithValue.php', 'Lcobucci\\JWT\\Validation\\Constraint\\IdentifiedBy' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/IdentifiedBy.php', 'Lcobucci\\JWT\\Validation\\Constraint\\IssuedBy' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/IssuedBy.php', 'Lcobucci\\JWT\\Validation\\Constraint\\LeewayCannotBeNegative' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/LeewayCannotBeNegative.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\LooseValidAt' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/LooseValidAt.php', 'Lcobucci\\JWT\\Validation\\Constraint\\PermittedFor' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/PermittedFor.php', 'Lcobucci\\JWT\\Validation\\Constraint\\RelatedTo' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/RelatedTo.php', 'Lcobucci\\JWT\\Validation\\Constraint\\SignedWith' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/SignedWith.php', + 'Lcobucci\\JWT\\Validation\\Constraint\\StrictValidAt' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/StrictValidAt.php', 'Lcobucci\\JWT\\Validation\\Constraint\\ValidAt' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Constraint/ValidAt.php', 'Lcobucci\\JWT\\Validation\\NoConstraintsGiven' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/NoConstraintsGiven.php', 'Lcobucci\\JWT\\Validation\\RequiredConstraintsViolated' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/RequiredConstraintsViolated.php', + 'Lcobucci\\JWT\\Validation\\SignedWith' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/SignedWith.php', + 'Lcobucci\\JWT\\Validation\\ValidAt' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/ValidAt.php', 'Lcobucci\\JWT\\Validation\\Validator' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validation/Validator.php', 'Lcobucci\\JWT\\Validator' => __DIR__ . '/..' . '/lcobucci/jwt/src/Validator.php', 'League\\CommonMark\\CommonMarkConverter' => __DIR__ . '/..' . '/league/commonmark/src/CommonMarkConverter.php', @@ -7531,7 +7549,6 @@ class ComposerStaticInitab540f0684551bbb4b79f360b913ca88 'Spipu\\Html2Pdf\\Tag\\Svg\\Polyline' => __DIR__ . '/..' . '/spipu/html2pdf/src/Tag/Svg/Polyline.php', 'Spipu\\Html2Pdf\\Tag\\Svg\\Rect' => __DIR__ . '/..' . '/spipu/html2pdf/src/Tag/Svg/Rect.php', 'Spipu\\Html2Pdf\\Tag\\TagInterface' => __DIR__ . '/..' . '/spipu/html2pdf/src/Tag/TagInterface.php', - 'StellaMaris\\Clock\\ClockInterface' => __DIR__ . '/..' . '/stella-maris/clock/src/ClockInterface.php', 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 'Symfony\\Component\\Console\\Application' => __DIR__ . '/..' . '/symfony/console/Application.php', 'Symfony\\Component\\Console\\Attribute\\AsCommand' => __DIR__ . '/..' . '/symfony/console/Attribute/AsCommand.php', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index e18cfcf1..4299a08f 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2567,22 +2567,22 @@ }, { "name": "lcobucci/clock", - "version": "2.3.0", - "version_normalized": "2.3.0.0", + "version": "3.0.0", + "version_normalized": "3.0.0.0", "source": { "type": "git", "url": "https://github.com/lcobucci/clock.git", - "reference": "c7aadcd6fd97ed9e199114269c0be3f335e38876" + "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/clock/zipball/c7aadcd6fd97ed9e199114269c0be3f335e38876", - "reference": "c7aadcd6fd97ed9e199114269c0be3f335e38876", + "url": "https://api.github.com/repos/lcobucci/clock/zipball/039ef98c6b57b101d10bd11d8fdfda12cbd996dc", + "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc", "shasum": "" }, "require": { "php": "~8.1.0 || ~8.2.0", - "stella-maris/clock": "^0.1.7" + "psr/clock": "^1.0" }, "provide": { "psr/clock-implementation": "1.0" @@ -2597,7 +2597,7 @@ "phpstan/phpstan-strict-rules": "^1.4.4", "phpunit/phpunit": "^9.5.27" }, - "time": "2022-12-19T14:38:11+00:00", + "time": "2022-12-19T15:00:24+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -2618,7 +2618,7 @@ "description": "Yet another clock abstraction", "support": { "issues": "https://github.com/lcobucci/clock/issues", - "source": "https://github.com/lcobucci/clock/tree/2.3.0" + "source": "https://github.com/lcobucci/clock/tree/3.0.0" }, "funding": [ { @@ -2634,45 +2634,43 @@ }, { "name": "lcobucci/jwt", - "version": "4.0.4", - "version_normalized": "4.0.4.0", + "version": "4.3.0", + "version_normalized": "4.3.0.0", "source": { "type": "git", "url": "https://github.com/lcobucci/jwt.git", - "reference": "55564265fddf810504110bd68ca311932324b0e9" + "reference": "4d7de2fe0d51a96418c0d04004986e410e87f6b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/jwt/zipball/55564265fddf810504110bd68ca311932324b0e9", - "reference": "55564265fddf810504110bd68ca311932324b0e9", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/4d7de2fe0d51a96418c0d04004986e410e87f6b4", + "reference": "4d7de2fe0d51a96418c0d04004986e410e87f6b4", "shasum": "" }, "require": { + "ext-hash": "*", + "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", - "lcobucci/clock": "^2.0", + "ext-sodium": "*", + "lcobucci/clock": "^2.0 || ^3.0", "php": "^7.4 || ^8.0" }, "require-dev": { - "infection/infection": "^0.20", + "infection/infection": "^0.21", "lcobucci/coding-standard": "^6.0", - "mikey179/vfsstream": "^1.6", - "phpbench/phpbench": "^0.17", + "mikey179/vfsstream": "^1.6.7", + "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", "phpunit/php-invoker": "^3.1", - "phpunit/phpunit": "^9.4" + "phpunit/phpunit": "^9.5" }, - "time": "2021-09-28T19:18:28+00:00", + "time": "2023-01-02T13:28:00+00:00", "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, "installation-source": "dist", "autoload": { "psr-4": { @@ -2697,7 +2695,7 @@ ], "support": { "issues": "https://github.com/lcobucci/jwt/issues", - "source": "https://github.com/lcobucci/jwt/tree/4.0.4" + "source": "https://github.com/lcobucci/jwt/tree/4.3.0" }, "funding": [ { @@ -4361,17 +4359,17 @@ }, { "name": "phpmyadmin/sql-parser", - "version": "5.8.0", - "version_normalized": "5.8.0.0", + "version": "5.8.1", + "version_normalized": "5.8.1.0", "source": { "type": "git", "url": "https://github.com/phpmyadmin/sql-parser.git", - "reference": "db1b3069b5dbc220d393d67ff911e0ae76732755" + "reference": "b877ee6262a00f0f498da5e01335e8a5dc01d203" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/db1b3069b5dbc220d393d67ff911e0ae76732755", - "reference": "db1b3069b5dbc220d393d67ff911e0ae76732755", + "url": "https://api.github.com/repos/phpmyadmin/sql-parser/zipball/b877ee6262a00f0f498da5e01335e8a5dc01d203", + "reference": "b877ee6262a00f0f498da5e01335e8a5dc01d203", "shasum": "" }, "require": { @@ -4393,13 +4391,13 @@ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "psalm/plugin-phpunit": "^0.16.1", "vimeo/psalm": "^4.11", - "zumba/json-serializer": "^3.0" + "zumba/json-serializer": "~3.0.2" }, "suggest": { "ext-mbstring": "For best performance", "phpmyadmin/motranslator": "Translate messages to your favorite locale" }, - "time": "2023-06-05T18:19:38+00:00", + "time": "2023-09-15T18:21:22+00:00", "bin": [ "bin/highlight-query", "bin/lint-query", @@ -7363,56 +7361,6 @@ }, "install-path": "../spipu/html2pdf" }, - { - "name": "stella-maris/clock", - "version": "0.1.7", - "version_normalized": "0.1.7.0", - "source": { - "type": "git", - "url": "https://github.com/stella-maris-solutions/clock.git", - "reference": "fa23ce16019289a18bb3446fdecd45befcdd94f8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/stella-maris-solutions/clock/zipball/fa23ce16019289a18bb3446fdecd45befcdd94f8", - "reference": "fa23ce16019289a18bb3446fdecd45befcdd94f8", - "shasum": "" - }, - "require": { - "php": "^7.0|^8.0", - "psr/clock": "^1.0" - }, - "time": "2022-11-25T16:15:06+00:00", - "type": "library", - "installation-source": "dist", - "autoload": { - "psr-4": { - "StellaMaris\\Clock\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Andreas Heigl", - "role": "Maintainer" - } - ], - "description": "A pre-release of the proposed PSR-20 Clock-Interface", - "homepage": "https://gitlab.com/stella-maris/clock", - "keywords": [ - "clock", - "datetime", - "point in time", - "psr20" - ], - "support": { - "source": "https://github.com/stella-maris-solutions/clock/tree/0.1.7" - }, - "install-path": "../stella-maris/clock" - }, { "name": "symfony/console", "version": "v6.3.4", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 75042beb..2743a0f7 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,69 +1,69 @@ array( - 'name' => 'celaraze/chemex', 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => 'be88c913e771ea7ba8c1f4489cafc1fb507db0dc', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), + 'reference' => 'f7569774a761f4d250164880c59437e98c4300e8', + 'name' => 'celaraze/chemex', 'dev' => true, ), 'versions' => array( 'adldap2/adldap2' => array( 'pretty_version' => 'v10.5.0', 'version' => '10.5.0.0', - 'reference' => 'e400eecb7bd7de8ee79aae320b54ad70d37f86b1', 'type' => 'library', 'install_path' => __DIR__ . '/../adldap2/adldap2', 'aliases' => array(), + 'reference' => 'e400eecb7bd7de8ee79aae320b54ad70d37f86b1', 'dev_requirement' => false, ), 'adldap2/adldap2-laravel' => array( 'pretty_version' => 'v6.1.7', 'version' => '6.1.7.0', - 'reference' => 'd587c4dea4ffefbbbea7601958c125216ea43452', 'type' => 'project', 'install_path' => __DIR__ . '/../adldap2/adldap2-laravel', 'aliases' => array(), + 'reference' => 'd587c4dea4ffefbbbea7601958c125216ea43452', 'dev_requirement' => false, ), 'box/spout' => array( 'pretty_version' => 'v3.3.0', 'version' => '3.3.0.0', - 'reference' => '9bdb027d312b732515b884a341c0ad70372c6295', 'type' => 'library', 'install_path' => __DIR__ . '/../box/spout', 'aliases' => array(), + 'reference' => '9bdb027d312b732515b884a341c0ad70372c6295', 'dev_requirement' => false, ), 'brick/math' => array( 'pretty_version' => '0.11.0', 'version' => '0.11.0.0', - 'reference' => '0ad82ce168c82ba30d1c01ec86116ab52f589478', 'type' => 'library', 'install_path' => __DIR__ . '/../brick/math', 'aliases' => array(), + 'reference' => '0ad82ce168c82ba30d1c01ec86116ab52f589478', 'dev_requirement' => false, ), 'celaraze/chemex' => array( 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => 'be88c913e771ea7ba8c1f4489cafc1fb507db0dc', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), + 'reference' => 'f7569774a761f4d250164880c59437e98c4300e8', 'dev_requirement' => false, ), 'celaraze/laravel-ace' => array( 'pretty_version' => 'dev-main', 'version' => 'dev-main', - 'reference' => '35e9285e7c1104382913bf153f4e5d2490f89c17', 'type' => 'library', 'install_path' => __DIR__ . '/../celaraze/laravel-ace', 'aliases' => array( 0 => '9999999-dev', ), + 'reference' => '35e9285e7c1104382913bf153f4e5d2490f89c17', 'dev_requirement' => false, ), 'cordoval/hamcrest-php' => array( @@ -81,199 +81,199 @@ 'dcat/easy-excel' => array( 'pretty_version' => '1.1.0', 'version' => '1.1.0.0', - 'reference' => '20ee838b07f1f5d9c075b84e6f4807cbb21c44b0', 'type' => 'library', 'install_path' => __DIR__ . '/../dcat/easy-excel', 'aliases' => array(), + 'reference' => '20ee838b07f1f5d9c075b84e6f4807cbb21c44b0', 'dev_requirement' => false, ), 'dcat/laravel-admin' => array( 'pretty_version' => '2.0.x-dev', 'version' => '2.0.9999999.9999999-dev', - 'reference' => 'f8ef27cc4d6a79dc346f89d0efb925d4e28ee763', 'type' => 'library', 'install_path' => __DIR__ . '/../dcat/laravel-admin', 'aliases' => array(), + 'reference' => 'f8ef27cc4d6a79dc346f89d0efb925d4e28ee763', 'dev_requirement' => false, ), 'dflydev/dot-access-data' => array( 'pretty_version' => 'v3.0.2', 'version' => '3.0.2.0', - 'reference' => 'f41715465d65213d644d3141a6a93081be5d3549', 'type' => 'library', 'install_path' => __DIR__ . '/../dflydev/dot-access-data', 'aliases' => array(), + 'reference' => 'f41715465d65213d644d3141a6a93081be5d3549', 'dev_requirement' => false, ), 'doctrine/cache' => array( 'pretty_version' => '2.2.0', 'version' => '2.2.0.0', - 'reference' => '1ca8f21980e770095a31456042471a57bc4c68fb', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/cache', 'aliases' => array(), + 'reference' => '1ca8f21980e770095a31456042471a57bc4c68fb', 'dev_requirement' => false, ), 'doctrine/dbal' => array( 'pretty_version' => '3.6.6', 'version' => '3.6.6.0', - 'reference' => '63646ffd71d1676d2f747f871be31b7e921c7864', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/dbal', 'aliases' => array(), + 'reference' => '63646ffd71d1676d2f747f871be31b7e921c7864', 'dev_requirement' => false, ), 'doctrine/deprecations' => array( 'pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', - 'reference' => '612a3ee5ab0d5dd97b7cf3874a6efe24325efac3', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/deprecations', 'aliases' => array(), + 'reference' => '612a3ee5ab0d5dd97b7cf3874a6efe24325efac3', 'dev_requirement' => false, ), 'doctrine/event-manager' => array( 'pretty_version' => '2.0.0', 'version' => '2.0.0.0', - 'reference' => '750671534e0241a7c50ea5b43f67e23eb5c96f32', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/event-manager', 'aliases' => array(), + 'reference' => '750671534e0241a7c50ea5b43f67e23eb5c96f32', 'dev_requirement' => false, ), 'doctrine/inflector' => array( 'pretty_version' => '2.0.8', 'version' => '2.0.8.0', - 'reference' => 'f9301a5b2fb1216b2b08f02ba04dc45423db6bff', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), + 'reference' => 'f9301a5b2fb1216b2b08f02ba04dc45423db6bff', 'dev_requirement' => false, ), 'doctrine/lexer' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '84a527db05647743d50373e0ec53a152f2cde568', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/lexer', 'aliases' => array(), + 'reference' => '84a527db05647743d50373e0ec53a152f2cde568', 'dev_requirement' => false, ), 'dragonmantank/cron-expression' => array( 'pretty_version' => 'v3.3.3', 'version' => '3.3.3.0', - 'reference' => 'adfb1f505deb6384dc8b39804c5065dd3c8c8c0a', 'type' => 'library', 'install_path' => __DIR__ . '/../dragonmantank/cron-expression', 'aliases' => array(), + 'reference' => 'adfb1f505deb6384dc8b39804c5065dd3c8c8c0a', 'dev_requirement' => false, ), 'egulias/email-validator' => array( 'pretty_version' => '4.0.1', 'version' => '4.0.1.0', - 'reference' => '3a85486b709bc384dae8eb78fb2eec649bdb64ff', 'type' => 'library', 'install_path' => __DIR__ . '/../egulias/email-validator', 'aliases' => array(), + 'reference' => '3a85486b709bc384dae8eb78fb2eec649bdb64ff', 'dev_requirement' => false, ), 'enlightn/enlightn' => array( 'pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', - 'reference' => '1b5aecf2869f54444404eb2df397618e6e2fc425', 'type' => 'library', 'install_path' => __DIR__ . '/../enlightn/enlightn', 'aliases' => array(), + 'reference' => '1b5aecf2869f54444404eb2df397618e6e2fc425', 'dev_requirement' => false, ), 'enlightn/security-checker' => array( 'pretty_version' => 'v1.10.0', 'version' => '1.10.0.0', - 'reference' => '196bacc76e7a72a63d0e1220926dbb190272db97', 'type' => 'library', 'install_path' => __DIR__ . '/../enlightn/security-checker', 'aliases' => array(), + 'reference' => '196bacc76e7a72a63d0e1220926dbb190272db97', 'dev_requirement' => false, ), 'fakerphp/faker' => array( 'pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', - 'reference' => 'e3daa170d00fde61ea7719ef47bb09bb8f1d9b01', 'type' => 'library', 'install_path' => __DIR__ . '/../fakerphp/faker', 'aliases' => array(), + 'reference' => 'e3daa170d00fde61ea7719ef47bb09bb8f1d9b01', 'dev_requirement' => true, ), 'filp/whoops' => array( 'pretty_version' => '2.15.3', 'version' => '2.15.3.0', - 'reference' => 'c83e88a30524f9360b11f585f71e6b17313b7187', 'type' => 'library', 'install_path' => __DIR__ . '/../filp/whoops', 'aliases' => array(), + 'reference' => 'c83e88a30524f9360b11f585f71e6b17313b7187', 'dev_requirement' => true, ), 'fruitcake/php-cors' => array( 'pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', - 'reference' => '58571acbaa5f9f462c9c77e911700ac66f446d4e', 'type' => 'library', 'install_path' => __DIR__ . '/../fruitcake/php-cors', 'aliases' => array(), + 'reference' => '58571acbaa5f9f462c9c77e911700ac66f446d4e', 'dev_requirement' => false, ), 'graham-campbell/result-type' => array( 'pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', - 'reference' => '672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831', 'type' => 'library', 'install_path' => __DIR__ . '/../graham-campbell/result-type', 'aliases' => array(), + 'reference' => '672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831', 'dev_requirement' => false, ), 'guzzlehttp/guzzle' => array( 'pretty_version' => '7.8.0', 'version' => '7.8.0.0', - 'reference' => '1110f66a6530a40fe7aea0378fe608ee2b2248f9', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), + 'reference' => '1110f66a6530a40fe7aea0378fe608ee2b2248f9', 'dev_requirement' => false, ), 'guzzlehttp/promises' => array( 'pretty_version' => '2.0.1', 'version' => '2.0.1.0', - 'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), + 'reference' => '111166291a0f8130081195ac4556a5587d7f1b5d', 'dev_requirement' => false, ), 'guzzlehttp/psr7' => array( 'pretty_version' => '2.6.1', 'version' => '2.6.1.0', - 'reference' => 'be45764272e8873c72dbe3d2edcfdfcc3bc9f727', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), + 'reference' => 'be45764272e8873c72dbe3d2edcfdfcc3bc9f727', 'dev_requirement' => false, ), 'guzzlehttp/uri-template' => array( 'pretty_version' => 'v1.0.2', 'version' => '1.0.2.0', - 'reference' => '61bf437fc2197f587f6857d3ff903a24f1731b5d', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/uri-template', 'aliases' => array(), + 'reference' => '61bf437fc2197f587f6857d3ff903a24f1731b5d', 'dev_requirement' => false, ), 'hamcrest/hamcrest-php' => array( 'pretty_version' => 'v2.0.1', 'version' => '2.0.1.0', - 'reference' => '8c3d0a3f6af734494ad8f6fbbee0ba92422859f3', 'type' => 'library', 'install_path' => __DIR__ . '/../hamcrest/hamcrest-php', 'aliases' => array(), + 'reference' => '8c3d0a3f6af734494ad8f6fbbee0ba92422859f3', 'dev_requirement' => true, ), 'illuminate/auth' => array( @@ -483,136 +483,136 @@ 'laravel/framework' => array( 'pretty_version' => 'v10.23.1', 'version' => '10.23.1.0', - 'reference' => 'dbfd495557678759153e8d71cc2f6027686ca51e', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/framework', 'aliases' => array(), + 'reference' => 'dbfd495557678759153e8d71cc2f6027686ca51e', 'dev_requirement' => false, ), 'laravel/prompts' => array( 'pretty_version' => 'v0.1.7', 'version' => '0.1.7.0', - 'reference' => '554e7d855a22e87942753d68e23b327ad79b2070', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/prompts', 'aliases' => array(), + 'reference' => '554e7d855a22e87942753d68e23b327ad79b2070', 'dev_requirement' => false, ), 'laravel/sanctum' => array( 'pretty_version' => 'v3.3.1', 'version' => '3.3.1.0', - 'reference' => '338f633e6487e76b255470d3373fbc29228aa971', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/sanctum', 'aliases' => array(), + 'reference' => '338f633e6487e76b255470d3373fbc29228aa971', 'dev_requirement' => false, ), 'laravel/serializable-closure' => array( 'pretty_version' => 'v1.3.1', 'version' => '1.3.1.0', - 'reference' => 'e5a3057a5591e1cfe8183034b0203921abe2c902', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), + 'reference' => 'e5a3057a5591e1cfe8183034b0203921abe2c902', 'dev_requirement' => false, ), 'laravel/tinker' => array( 'pretty_version' => 'v2.8.2', 'version' => '2.8.2.0', - 'reference' => 'b936d415b252b499e8c3b1f795cd4fc20f57e1f3', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/tinker', 'aliases' => array(), + 'reference' => 'b936d415b252b499e8c3b1f795cd4fc20f57e1f3', 'dev_requirement' => false, ), 'lcobucci/clock' => array( - 'pretty_version' => '2.3.0', - 'version' => '2.3.0.0', - 'reference' => 'c7aadcd6fd97ed9e199114269c0be3f335e38876', + 'pretty_version' => '3.0.0', + 'version' => '3.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../lcobucci/clock', 'aliases' => array(), + 'reference' => '039ef98c6b57b101d10bd11d8fdfda12cbd996dc', 'dev_requirement' => false, ), 'lcobucci/jwt' => array( - 'pretty_version' => '4.0.4', - 'version' => '4.0.4.0', - 'reference' => '55564265fddf810504110bd68ca311932324b0e9', + 'pretty_version' => '4.3.0', + 'version' => '4.3.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../lcobucci/jwt', 'aliases' => array(), + 'reference' => '4d7de2fe0d51a96418c0d04004986e410e87f6b4', 'dev_requirement' => false, ), 'league/commonmark' => array( 'pretty_version' => '2.4.1', 'version' => '2.4.1.0', - 'reference' => '3669d6d5f7a47a93c08ddff335e6d945481a1dd5', 'type' => 'library', 'install_path' => __DIR__ . '/../league/commonmark', 'aliases' => array(), + 'reference' => '3669d6d5f7a47a93c08ddff335e6d945481a1dd5', 'dev_requirement' => false, ), 'league/config' => array( 'pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', - 'reference' => '754b3604fb2984c71f4af4a9cbe7b57f346ec1f3', 'type' => 'library', 'install_path' => __DIR__ . '/../league/config', 'aliases' => array(), + 'reference' => '754b3604fb2984c71f4af4a9cbe7b57f346ec1f3', 'dev_requirement' => false, ), 'league/flysystem' => array( 'pretty_version' => '3.16.0', 'version' => '3.16.0.0', - 'reference' => '4fdf372ca6b63c6e281b1c01a624349ccb757729', 'type' => 'library', 'install_path' => __DIR__ . '/../league/flysystem', 'aliases' => array(), + 'reference' => '4fdf372ca6b63c6e281b1c01a624349ccb757729', 'dev_requirement' => false, ), 'league/flysystem-local' => array( 'pretty_version' => '3.16.0', 'version' => '3.16.0.0', - 'reference' => 'ec7383f25642e6fd4bb0c9554fc2311245391781', 'type' => 'library', 'install_path' => __DIR__ . '/../league/flysystem-local', 'aliases' => array(), + 'reference' => 'ec7383f25642e6fd4bb0c9554fc2311245391781', 'dev_requirement' => false, ), 'league/mime-type-detection' => array( 'pretty_version' => '1.13.0', 'version' => '1.13.0.0', - 'reference' => 'a6dfb1194a2946fcdc1f38219445234f65b35c96', 'type' => 'library', 'install_path' => __DIR__ . '/../league/mime-type-detection', 'aliases' => array(), + 'reference' => 'a6dfb1194a2946fcdc1f38219445234f65b35c96', 'dev_requirement' => false, ), 'mockery/mockery' => array( 'pretty_version' => '1.6.6', 'version' => '1.6.6.0', - 'reference' => 'b8e0bb7d8c604046539c1115994632c74dcb361e', 'type' => 'library', 'install_path' => __DIR__ . '/../mockery/mockery', 'aliases' => array(), + 'reference' => 'b8e0bb7d8c604046539c1115994632c74dcb361e', 'dev_requirement' => true, ), 'monolog/monolog' => array( 'pretty_version' => '3.4.0', 'version' => '3.4.0.0', - 'reference' => 'e2392369686d420ca32df3803de28b5d6f76867d', 'type' => 'library', 'install_path' => __DIR__ . '/../monolog/monolog', 'aliases' => array(), + 'reference' => 'e2392369686d420ca32df3803de28b5d6f76867d', 'dev_requirement' => false, ), 'mosiboom/dcat-iframe-tab' => array( 'pretty_version' => '1.2.1', 'version' => '1.2.1.0', - 'reference' => '805adbc8af578dbde103b5cf81f04348113980ce', 'type' => 'laravel-extension', 'install_path' => __DIR__ . '/../mosiboom/dcat-iframe-tab', 'aliases' => array(), + 'reference' => '805adbc8af578dbde103b5cf81f04348113980ce', 'dev_requirement' => false, ), 'mtdowling/cron-expression' => array( @@ -624,226 +624,226 @@ 'myclabs/deep-copy' => array( 'pretty_version' => '1.11.1', 'version' => '1.11.1.0', - 'reference' => '7284c22080590fb39f2ffa3e9057f10a4ddd0e0c', 'type' => 'library', 'install_path' => __DIR__ . '/../myclabs/deep-copy', 'aliases' => array(), + 'reference' => '7284c22080590fb39f2ffa3e9057f10a4ddd0e0c', 'dev_requirement' => true, ), 'nesbot/carbon' => array( 'pretty_version' => '2.70.0', 'version' => '2.70.0.0', - 'reference' => 'd3298b38ea8612e5f77d38d1a99438e42f70341d', 'type' => 'library', 'install_path' => __DIR__ . '/../nesbot/carbon', 'aliases' => array(), + 'reference' => 'd3298b38ea8612e5f77d38d1a99438e42f70341d', 'dev_requirement' => false, ), 'nette/schema' => array( 'pretty_version' => 'v1.2.4', 'version' => '1.2.4.0', - 'reference' => 'c9ff517a53903b3d4e29ec547fb20feecb05b8ab', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/schema', 'aliases' => array(), + 'reference' => 'c9ff517a53903b3d4e29ec547fb20feecb05b8ab', 'dev_requirement' => false, ), 'nette/utils' => array( 'pretty_version' => 'v4.0.1', 'version' => '4.0.1.0', - 'reference' => '9124157137da01b1f5a5a22d6486cb975f26db7e', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), + 'reference' => '9124157137da01b1f5a5a22d6486cb975f26db7e', 'dev_requirement' => false, ), 'nikic/php-parser' => array( 'pretty_version' => 'v4.17.1', 'version' => '4.17.1.0', - 'reference' => 'a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), + 'reference' => 'a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d', 'dev_requirement' => false, ), 'nunomaduro/collision' => array( 'pretty_version' => 'v7.8.1', 'version' => '7.8.1.0', - 'reference' => '61553ad3260845d7e3e49121b7074619233d361b', 'type' => 'library', 'install_path' => __DIR__ . '/../nunomaduro/collision', 'aliases' => array(), + 'reference' => '61553ad3260845d7e3e49121b7074619233d361b', 'dev_requirement' => true, ), 'nunomaduro/larastan' => array( 'pretty_version' => 'v2.6.4', 'version' => '2.6.4.0', - 'reference' => '6c5e8820f3db6397546f3ce48520af9d312aed27', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../nunomaduro/larastan', 'aliases' => array(), + 'reference' => '6c5e8820f3db6397546f3ce48520af9d312aed27', 'dev_requirement' => false, ), 'nunomaduro/termwind' => array( 'pretty_version' => 'v1.15.1', 'version' => '1.15.1.0', - 'reference' => '8ab0b32c8caa4a2e09700ea32925441385e4a5dc', 'type' => 'library', 'install_path' => __DIR__ . '/../nunomaduro/termwind', 'aliases' => array(), + 'reference' => '8ab0b32c8caa4a2e09700ea32925441385e4a5dc', 'dev_requirement' => false, ), 'orangehill/iseed' => array( 'pretty_version' => 'v3.0.3', 'version' => '3.0.3.0', - 'reference' => '92b98c8bda6280afa0fac016b1b49caf6f57f18d', 'type' => 'library', 'install_path' => __DIR__ . '/../orangehill/iseed', 'aliases' => array(), + 'reference' => '92b98c8bda6280afa0fac016b1b49caf6f57f18d', 'dev_requirement' => false, ), 'overtrue/laravel-pinyin' => array( 'pretty_version' => '4.0.0', 'version' => '4.0.0.0', - 'reference' => 'c0b15aa49eac08bff80122010b91a0b3fe0f1e21', 'type' => 'library', 'install_path' => __DIR__ . '/../overtrue/laravel-pinyin', 'aliases' => array(), + 'reference' => 'c0b15aa49eac08bff80122010b91a0b3fe0f1e21', 'dev_requirement' => false, ), 'overtrue/pinyin' => array( 'pretty_version' => '4.1.0', 'version' => '4.1.0.0', - 'reference' => '4d0fb4f27f0c79e81c9489e0c0ae4a4f8837eae7', 'type' => 'library', 'install_path' => __DIR__ . '/../overtrue/pinyin', 'aliases' => array(), + 'reference' => '4d0fb4f27f0c79e81c9489e0c0ae4a4f8837eae7', 'dev_requirement' => false, ), 'phar-io/manifest' => array( 'pretty_version' => '2.0.3', 'version' => '2.0.3.0', - 'reference' => '97803eca37d319dfa7826cc2437fc020857acb53', 'type' => 'library', 'install_path' => __DIR__ . '/../phar-io/manifest', 'aliases' => array(), + 'reference' => '97803eca37d319dfa7826cc2437fc020857acb53', 'dev_requirement' => true, ), 'phar-io/version' => array( 'pretty_version' => '3.2.1', 'version' => '3.2.1.0', - 'reference' => '4f7fd7836c6f332bb2933569e566a0d6c4cbed74', 'type' => 'library', 'install_path' => __DIR__ . '/../phar-io/version', 'aliases' => array(), + 'reference' => '4f7fd7836c6f332bb2933569e566a0d6c4cbed74', 'dev_requirement' => true, ), 'phpmyadmin/sql-parser' => array( - 'pretty_version' => '5.8.0', - 'version' => '5.8.0.0', - 'reference' => 'db1b3069b5dbc220d393d67ff911e0ae76732755', + 'pretty_version' => '5.8.1', + 'version' => '5.8.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpmyadmin/sql-parser', 'aliases' => array(), + 'reference' => 'b877ee6262a00f0f498da5e01335e8a5dc01d203', 'dev_requirement' => false, ), 'phpoption/phpoption' => array( 'pretty_version' => '1.9.1', 'version' => '1.9.1.0', - 'reference' => 'dd3a383e599f49777d8b628dadbb90cae435b87e', 'type' => 'library', 'install_path' => __DIR__ . '/../phpoption/phpoption', 'aliases' => array(), + 'reference' => 'dd3a383e599f49777d8b628dadbb90cae435b87e', 'dev_requirement' => false, ), 'phpstan/phpstan' => array( 'pretty_version' => '1.10.34', 'version' => '1.10.34.0', - 'reference' => '7f806b6f1403e6914c778140e2ba07c293cb4901', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), + 'reference' => '7f806b6f1403e6914c778140e2ba07c293cb4901', 'dev_requirement' => false, ), 'phpstan/phpstan-deprecation-rules' => array( 'pretty_version' => '1.1.4', 'version' => '1.1.4.0', - 'reference' => '089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-deprecation-rules', 'aliases' => array(), + 'reference' => '089d8a8258ed0aeefdc7b68b6c3d25572ebfdbaa', 'dev_requirement' => false, ), 'phpunit/php-code-coverage' => array( 'pretty_version' => '10.1.5', 'version' => '10.1.5.0', - 'reference' => '1df504e42a88044c27a90136910f0b3fe9e91939', 'type' => 'library', 'install_path' => __DIR__ . '/../phpunit/php-code-coverage', 'aliases' => array(), + 'reference' => '1df504e42a88044c27a90136910f0b3fe9e91939', 'dev_requirement' => true, ), 'phpunit/php-file-iterator' => array( 'pretty_version' => '4.1.0', 'version' => '4.1.0.0', - 'reference' => 'a95037b6d9e608ba092da1b23931e537cadc3c3c', 'type' => 'library', 'install_path' => __DIR__ . '/../phpunit/php-file-iterator', 'aliases' => array(), + 'reference' => 'a95037b6d9e608ba092da1b23931e537cadc3c3c', 'dev_requirement' => true, ), 'phpunit/php-invoker' => array( 'pretty_version' => '4.0.0', 'version' => '4.0.0.0', - 'reference' => 'f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7', 'type' => 'library', 'install_path' => __DIR__ . '/../phpunit/php-invoker', 'aliases' => array(), + 'reference' => 'f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7', 'dev_requirement' => true, ), 'phpunit/php-text-template' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => '0c7b06ff49e3d5072f057eb1fa59258bf287a748', 'type' => 'library', 'install_path' => __DIR__ . '/../phpunit/php-text-template', 'aliases' => array(), + 'reference' => '0c7b06ff49e3d5072f057eb1fa59258bf287a748', 'dev_requirement' => true, ), 'phpunit/php-timer' => array( 'pretty_version' => '6.0.0', 'version' => '6.0.0.0', - 'reference' => 'e2a2d67966e740530f4a3343fe2e030ffdc1161d', 'type' => 'library', 'install_path' => __DIR__ . '/../phpunit/php-timer', 'aliases' => array(), + 'reference' => 'e2a2d67966e740530f4a3343fe2e030ffdc1161d', 'dev_requirement' => true, ), 'phpunit/phpunit' => array( 'pretty_version' => '10.3.4', 'version' => '10.3.4.0', - 'reference' => 'b8d59476f19115c9774b3b447f78131781c6c32b', 'type' => 'library', 'install_path' => __DIR__ . '/../phpunit/phpunit', 'aliases' => array(), + 'reference' => 'b8d59476f19115c9774b3b447f78131781c6c32b', 'dev_requirement' => true, ), 'psr/cache' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), + 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'dev_requirement' => false, ), 'psr/clock' => array( 'pretty_version' => '1.0.0', 'version' => '1.0.0.0', - 'reference' => 'e41a24703d4560fd0acb709162f73b8adfc3aa0d', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/clock', 'aliases' => array(), + 'reference' => 'e41a24703d4560fd0acb709162f73b8adfc3aa0d', 'dev_requirement' => false, ), 'psr/clock-implementation' => array( @@ -855,10 +855,10 @@ 'psr/container' => array( 'pretty_version' => '2.0.2', 'version' => '2.0.2.0', - 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), + 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', 'dev_requirement' => false, ), 'psr/container-implementation' => array( @@ -870,10 +870,10 @@ 'psr/event-dispatcher' => array( 'pretty_version' => '1.0.0', 'version' => '1.0.0.0', - 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), + 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'dev_requirement' => false, ), 'psr/event-dispatcher-implementation' => array( @@ -885,10 +885,10 @@ 'psr/http-client' => array( 'pretty_version' => '1.0.2', 'version' => '1.0.2.0', - 'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), + 'reference' => '0955afe48220520692d2d09f7ab7e0f93ffd6a31', 'dev_requirement' => false, ), 'psr/http-client-implementation' => array( @@ -900,10 +900,10 @@ 'psr/http-factory' => array( 'pretty_version' => '1.0.2', 'version' => '1.0.2.0', - 'reference' => 'e616d01114759c4c489f93b099585439f795fe35', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), + 'reference' => 'e616d01114759c4c489f93b099585439f795fe35', 'dev_requirement' => false, ), 'psr/http-factory-implementation' => array( @@ -915,10 +915,10 @@ 'psr/http-message' => array( 'pretty_version' => '2.0', 'version' => '2.0.0.0', - 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), + 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'dev_requirement' => false, ), 'psr/http-message-implementation' => array( @@ -930,10 +930,10 @@ 'psr/log' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => 'fe5ea303b0887d5caefd3d431c3e61ad47037001', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), + 'reference' => 'fe5ea303b0887d5caefd3d431c3e61ad47037001', 'dev_requirement' => false, ), 'psr/log-implementation' => array( @@ -946,10 +946,10 @@ 'psr/simple-cache' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '764e0b3939f5ca87cb904f570ef9be2d78a07865', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/simple-cache', 'aliases' => array(), + 'reference' => '764e0b3939f5ca87cb904f570ef9be2d78a07865', 'dev_requirement' => false, ), 'psr/simple-cache-implementation' => array( @@ -961,37 +961,37 @@ 'psy/psysh' => array( 'pretty_version' => 'v0.11.20', 'version' => '0.11.20.0', - 'reference' => '0fa27040553d1d280a67a4393194df5228afea5b', 'type' => 'library', 'install_path' => __DIR__ . '/../psy/psysh', 'aliases' => array(), + 'reference' => '0fa27040553d1d280a67a4393194df5228afea5b', 'dev_requirement' => false, ), 'ralouphie/getallheaders' => array( 'pretty_version' => '3.0.3', 'version' => '3.0.3.0', - 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), + 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'dev_requirement' => false, ), 'ramsey/collection' => array( 'pretty_version' => '2.0.0', 'version' => '2.0.0.0', - 'reference' => 'a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5', 'type' => 'library', 'install_path' => __DIR__ . '/../ramsey/collection', 'aliases' => array(), + 'reference' => 'a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5', 'dev_requirement' => false, ), 'ramsey/uuid' => array( 'pretty_version' => '4.7.4', 'version' => '4.7.4.0', - 'reference' => '60a4c63ab724854332900504274f6150ff26d286', 'type' => 'library', 'install_path' => __DIR__ . '/../ramsey/uuid', 'aliases' => array(), + 'reference' => '60a4c63ab724854332900504274f6150ff26d286', 'dev_requirement' => false, ), 'rhumsaa/uuid' => array( @@ -1003,262 +1003,253 @@ 'sebastian/cli-parser' => array( 'pretty_version' => '2.0.0', 'version' => '2.0.0.0', - 'reference' => 'efdc130dbbbb8ef0b545a994fd811725c5282cae', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/cli-parser', 'aliases' => array(), + 'reference' => 'efdc130dbbbb8ef0b545a994fd811725c5282cae', 'dev_requirement' => true, ), 'sebastian/code-unit' => array( 'pretty_version' => '2.0.0', 'version' => '2.0.0.0', - 'reference' => 'a81fee9eef0b7a76af11d121767abc44c104e503', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/code-unit', 'aliases' => array(), + 'reference' => 'a81fee9eef0b7a76af11d121767abc44c104e503', 'dev_requirement' => true, ), 'sebastian/code-unit-reverse-lookup' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '5e3a687f7d8ae33fb362c5c0743794bbb2420a1d', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/code-unit-reverse-lookup', 'aliases' => array(), + 'reference' => '5e3a687f7d8ae33fb362c5c0743794bbb2420a1d', 'dev_requirement' => true, ), 'sebastian/comparator' => array( 'pretty_version' => '5.0.1', 'version' => '5.0.1.0', - 'reference' => '2db5010a484d53ebf536087a70b4a5423c102372', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/comparator', 'aliases' => array(), + 'reference' => '2db5010a484d53ebf536087a70b4a5423c102372', 'dev_requirement' => true, ), 'sebastian/complexity' => array( 'pretty_version' => '3.0.1', 'version' => '3.0.1.0', - 'reference' => 'c70b73893e10757af9c6a48929fa6a333b56a97a', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/complexity', 'aliases' => array(), + 'reference' => 'c70b73893e10757af9c6a48929fa6a333b56a97a', 'dev_requirement' => true, ), 'sebastian/diff' => array( 'pretty_version' => '5.0.3', 'version' => '5.0.3.0', - 'reference' => '912dc2fbe3e3c1e7873313cc801b100b6c68c87b', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), + 'reference' => '912dc2fbe3e3c1e7873313cc801b100b6c68c87b', 'dev_requirement' => true, ), 'sebastian/environment' => array( 'pretty_version' => '6.0.1', 'version' => '6.0.1.0', - 'reference' => '43c751b41d74f96cbbd4e07b7aec9675651e2951', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/environment', 'aliases' => array(), + 'reference' => '43c751b41d74f96cbbd4e07b7aec9675651e2951', 'dev_requirement' => true, ), 'sebastian/exporter' => array( 'pretty_version' => '5.0.1', 'version' => '5.0.1.0', - 'reference' => '32ff03d078fed1279c4ec9a407d08c5e9febb480', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/exporter', 'aliases' => array(), + 'reference' => '32ff03d078fed1279c4ec9a407d08c5e9febb480', 'dev_requirement' => true, ), 'sebastian/global-state' => array( 'pretty_version' => '6.0.1', 'version' => '6.0.1.0', - 'reference' => '7ea9ead78f6d380d2a667864c132c2f7b83055e4', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/global-state', 'aliases' => array(), + 'reference' => '7ea9ead78f6d380d2a667864c132c2f7b83055e4', 'dev_requirement' => true, ), 'sebastian/lines-of-code' => array( 'pretty_version' => '2.0.1', 'version' => '2.0.1.0', - 'reference' => '649e40d279e243d985aa8fb6e74dd5bb28dc185d', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/lines-of-code', 'aliases' => array(), + 'reference' => '649e40d279e243d985aa8fb6e74dd5bb28dc185d', 'dev_requirement' => true, ), 'sebastian/object-enumerator' => array( 'pretty_version' => '5.0.0', 'version' => '5.0.0.0', - 'reference' => '202d0e344a580d7f7d04b3fafce6933e59dae906', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/object-enumerator', 'aliases' => array(), + 'reference' => '202d0e344a580d7f7d04b3fafce6933e59dae906', 'dev_requirement' => true, ), 'sebastian/object-reflector' => array( 'pretty_version' => '3.0.0', 'version' => '3.0.0.0', - 'reference' => '24ed13d98130f0e7122df55d06c5c4942a577957', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/object-reflector', 'aliases' => array(), + 'reference' => '24ed13d98130f0e7122df55d06c5c4942a577957', 'dev_requirement' => true, ), 'sebastian/recursion-context' => array( 'pretty_version' => '5.0.0', 'version' => '5.0.0.0', - 'reference' => '05909fb5bc7df4c52992396d0116aed689f93712', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/recursion-context', 'aliases' => array(), + 'reference' => '05909fb5bc7df4c52992396d0116aed689f93712', 'dev_requirement' => true, ), 'sebastian/type' => array( 'pretty_version' => '4.0.0', 'version' => '4.0.0.0', - 'reference' => '462699a16464c3944eefc02ebdd77882bd3925bf', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/type', 'aliases' => array(), + 'reference' => '462699a16464c3944eefc02ebdd77882bd3925bf', 'dev_requirement' => true, ), 'sebastian/version' => array( 'pretty_version' => '4.0.1', 'version' => '4.0.1.0', - 'reference' => 'c51fa83a5d8f43f1402e3f32a005e6262244ef17', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/version', 'aliases' => array(), + 'reference' => 'c51fa83a5d8f43f1402e3f32a005e6262244ef17', 'dev_requirement' => true, ), 'spatie/backtrace' => array( 'pretty_version' => '1.5.3', 'version' => '1.5.3.0', - 'reference' => '483f76a82964a0431aa836b6ed0edde0c248e3ab', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/backtrace', 'aliases' => array(), + 'reference' => '483f76a82964a0431aa836b6ed0edde0c248e3ab', 'dev_requirement' => true, ), 'spatie/eloquent-sortable' => array( 'pretty_version' => '4.0.2', 'version' => '4.0.2.0', - 'reference' => '74994d10a17d15d2cdb319d6b2ad7cb6fa067c0a', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/eloquent-sortable', 'aliases' => array(), + 'reference' => '74994d10a17d15d2cdb319d6b2ad7cb6fa067c0a', 'dev_requirement' => false, ), 'spatie/flare-client-php' => array( 'pretty_version' => '1.4.2', 'version' => '1.4.2.0', - 'reference' => '5f2c6a7a0d2c1d90c12559dc7828fd942911a544', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/flare-client-php', 'aliases' => array(), + 'reference' => '5f2c6a7a0d2c1d90c12559dc7828fd942911a544', 'dev_requirement' => true, ), 'spatie/ignition' => array( 'pretty_version' => '1.10.1', 'version' => '1.10.1.0', - 'reference' => 'd92b9a081e99261179b63a858c7a4b01541e7dd1', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/ignition', 'aliases' => array(), + 'reference' => 'd92b9a081e99261179b63a858c7a4b01541e7dd1', 'dev_requirement' => true, ), 'spatie/laravel-ignition' => array( 'pretty_version' => '2.3.0', 'version' => '2.3.0.0', - 'reference' => '4ed813d16edb5a1ab0d7f4b1d116c37ee8cdf3c0', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/laravel-ignition', 'aliases' => array(), + 'reference' => '4ed813d16edb5a1ab0d7f4b1d116c37ee8cdf3c0', 'dev_requirement' => true, ), 'spatie/laravel-package-tools' => array( 'pretty_version' => '1.16.1', 'version' => '1.16.1.0', - 'reference' => 'cc7c991555a37f9fa6b814aa03af73f88026a83d', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/laravel-package-tools', 'aliases' => array(), + 'reference' => 'cc7c991555a37f9fa6b814aa03af73f88026a83d', 'dev_requirement' => false, ), 'spipu/html2pdf' => array( 'pretty_version' => 'v5.2.8', 'version' => '5.2.8.0', - 'reference' => '6c94dcd48c94c6c73f206629839c1ebd81e8c726', 'type' => 'library', 'install_path' => __DIR__ . '/../spipu/html2pdf', 'aliases' => array(), - 'dev_requirement' => false, - ), - 'stella-maris/clock' => array( - 'pretty_version' => '0.1.7', - 'version' => '0.1.7.0', - 'reference' => 'fa23ce16019289a18bb3446fdecd45befcdd94f8', - 'type' => 'library', - 'install_path' => __DIR__ . '/../stella-maris/clock', - 'aliases' => array(), + 'reference' => '6c94dcd48c94c6c73f206629839c1ebd81e8c726', 'dev_requirement' => false, ), 'symfony/console' => array( 'pretty_version' => 'v6.3.4', 'version' => '6.3.4.0', - 'reference' => 'eca495f2ee845130855ddf1cf18460c38966c8b6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), + 'reference' => 'eca495f2ee845130855ddf1cf18460c38966c8b6', 'dev_requirement' => false, ), 'symfony/css-selector' => array( 'pretty_version' => 'v6.3.2', 'version' => '6.3.2.0', - 'reference' => '883d961421ab1709877c10ac99451632a3d6fa57', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/css-selector', 'aliases' => array(), + 'reference' => '883d961421ab1709877c10ac99451632a3d6fa57', 'dev_requirement' => false, ), 'symfony/deprecation-contracts' => array( 'pretty_version' => 'v3.3.0', 'version' => '3.3.0.0', - 'reference' => '7c3aff79d10325257a001fcf92d991f24fc967cf', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), + 'reference' => '7c3aff79d10325257a001fcf92d991f24fc967cf', 'dev_requirement' => false, ), 'symfony/error-handler' => array( 'pretty_version' => 'v6.3.2', 'version' => '6.3.2.0', - 'reference' => '85fd65ed295c4078367c784e8a5a6cee30348b7a', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/error-handler', 'aliases' => array(), + 'reference' => '85fd65ed295c4078367c784e8a5a6cee30348b7a', 'dev_requirement' => false, ), 'symfony/event-dispatcher' => array( 'pretty_version' => 'v6.3.2', 'version' => '6.3.2.0', - 'reference' => 'adb01fe097a4ee930db9258a3cc906b5beb5cf2e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/event-dispatcher', 'aliases' => array(), + 'reference' => 'adb01fe097a4ee930db9258a3cc906b5beb5cf2e', 'dev_requirement' => false, ), 'symfony/event-dispatcher-contracts' => array( 'pretty_version' => 'v3.3.0', 'version' => '3.3.0.0', - 'reference' => 'a76aed96a42d2b521153fb382d418e30d18b59df', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/event-dispatcher-contracts', 'aliases' => array(), + 'reference' => 'a76aed96a42d2b521153fb382d418e30d18b59df', 'dev_requirement' => false, ), 'symfony/event-dispatcher-implementation' => array( @@ -1270,181 +1261,181 @@ 'symfony/finder' => array( 'pretty_version' => 'v6.3.3', 'version' => '6.3.3.0', - 'reference' => '9915db259f67d21eefee768c1abcf1cc61b1fc9e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), + 'reference' => '9915db259f67d21eefee768c1abcf1cc61b1fc9e', 'dev_requirement' => false, ), 'symfony/http-foundation' => array( 'pretty_version' => 'v6.3.4', 'version' => '6.3.4.0', - 'reference' => 'cac1556fdfdf6719668181974104e6fcfa60e844', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/http-foundation', 'aliases' => array(), + 'reference' => 'cac1556fdfdf6719668181974104e6fcfa60e844', 'dev_requirement' => false, ), 'symfony/http-kernel' => array( 'pretty_version' => 'v6.3.4', 'version' => '6.3.4.0', - 'reference' => '36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/http-kernel', 'aliases' => array(), + 'reference' => '36abb425b4af863ae1fe54d8a8b8b4c76a2bccdb', 'dev_requirement' => false, ), 'symfony/mailer' => array( 'pretty_version' => 'v6.3.0', 'version' => '6.3.0.0', - 'reference' => '7b03d9be1dea29bfec0a6c7b603f5072a4c97435', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/mailer', 'aliases' => array(), + 'reference' => '7b03d9be1dea29bfec0a6c7b603f5072a4c97435', 'dev_requirement' => false, ), 'symfony/mime' => array( 'pretty_version' => 'v6.3.3', 'version' => '6.3.3.0', - 'reference' => '9a0cbd52baa5ba5a5b1f0cacc59466f194730f98', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/mime', 'aliases' => array(), + 'reference' => '9a0cbd52baa5ba5a5b1f0cacc59466f194730f98', 'dev_requirement' => false, ), 'symfony/polyfill-ctype' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => 'ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), + 'reference' => 'ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb', 'dev_requirement' => false, ), 'symfony/polyfill-intl-grapheme' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => '875e90aeea2777b6f135677f618529449334a612', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme', 'aliases' => array(), + 'reference' => '875e90aeea2777b6f135677f618529449334a612', 'dev_requirement' => false, ), 'symfony/polyfill-intl-idn' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => 'ecaafce9f77234a6a449d29e49267ba10499116d', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-idn', 'aliases' => array(), + 'reference' => 'ecaafce9f77234a6a449d29e49267ba10499116d', 'dev_requirement' => false, ), 'symfony/polyfill-intl-normalizer' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => '8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), + 'reference' => '8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92', 'dev_requirement' => false, ), 'symfony/polyfill-mbstring' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => '42292d99c55abe617799667f454222c54c60e229', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), + 'reference' => '42292d99c55abe617799667f454222c54c60e229', 'dev_requirement' => false, ), 'symfony/polyfill-php72' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => '70f4aebd92afca2f865444d30a4d2151c13c3179', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php72', 'aliases' => array(), + 'reference' => '70f4aebd92afca2f865444d30a4d2151c13c3179', 'dev_requirement' => false, ), 'symfony/polyfill-php80' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => '6caa57379c4aec19c0a12a38b59b26487dcfe4b5', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), + 'reference' => '6caa57379c4aec19c0a12a38b59b26487dcfe4b5', 'dev_requirement' => false, ), 'symfony/polyfill-php83' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => 'b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php83', 'aliases' => array(), + 'reference' => 'b0f46ebbeeeda3e9d2faebdfbf4b4eae9b59fa11', 'dev_requirement' => false, ), 'symfony/polyfill-uuid' => array( 'pretty_version' => 'v1.28.0', 'version' => '1.28.0.0', - 'reference' => '9c44518a5aff8da565c8a55dbe85d2769e6f630e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-uuid', 'aliases' => array(), + 'reference' => '9c44518a5aff8da565c8a55dbe85d2769e6f630e', 'dev_requirement' => false, ), 'symfony/process' => array( 'pretty_version' => 'v6.3.4', 'version' => '6.3.4.0', - 'reference' => '0b5c29118f2e980d455d2e34a5659f4579847c54', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/process', 'aliases' => array(), + 'reference' => '0b5c29118f2e980d455d2e34a5659f4579847c54', 'dev_requirement' => false, ), 'symfony/routing' => array( 'pretty_version' => 'v6.3.3', 'version' => '6.3.3.0', - 'reference' => 'e7243039ab663822ff134fbc46099b5fdfa16f6a', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/routing', 'aliases' => array(), + 'reference' => 'e7243039ab663822ff134fbc46099b5fdfa16f6a', 'dev_requirement' => false, ), 'symfony/service-contracts' => array( 'pretty_version' => 'v3.3.0', 'version' => '3.3.0.0', - 'reference' => '40da9cc13ec349d9e4966ce18b5fbcd724ab10a4', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/service-contracts', 'aliases' => array(), + 'reference' => '40da9cc13ec349d9e4966ce18b5fbcd724ab10a4', 'dev_requirement' => false, ), 'symfony/string' => array( 'pretty_version' => 'v6.3.2', 'version' => '6.3.2.0', - 'reference' => '53d1a83225002635bca3482fcbf963001313fb68', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), + 'reference' => '53d1a83225002635bca3482fcbf963001313fb68', 'dev_requirement' => false, ), 'symfony/translation' => array( 'pretty_version' => 'v6.3.3', 'version' => '6.3.3.0', - 'reference' => '3ed078c54bc98bbe4414e1e9b2d5e85ed5a5c8bd', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation', 'aliases' => array(), + 'reference' => '3ed078c54bc98bbe4414e1e9b2d5e85ed5a5c8bd', 'dev_requirement' => false, ), 'symfony/translation-contracts' => array( 'pretty_version' => 'v3.3.0', 'version' => '3.3.0.0', - 'reference' => '02c24deb352fb0d79db5486c0c79905a85e37e86', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation-contracts', 'aliases' => array(), + 'reference' => '02c24deb352fb0d79db5486c0c79905a85e37e86', 'dev_requirement' => false, ), 'symfony/translation-implementation' => array( @@ -1456,100 +1447,100 @@ 'symfony/uid' => array( 'pretty_version' => 'v6.3.0', 'version' => '6.3.0.0', - 'reference' => '01b0f20b1351d997711c56f1638f7a8c3061e384', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/uid', 'aliases' => array(), + 'reference' => '01b0f20b1351d997711c56f1638f7a8c3061e384', 'dev_requirement' => false, ), 'symfony/var-dumper' => array( 'pretty_version' => 'v6.3.4', 'version' => '6.3.4.0', - 'reference' => '2027be14f8ae8eae999ceadebcda5b4909b81d45', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/var-dumper', 'aliases' => array(), + 'reference' => '2027be14f8ae8eae999ceadebcda5b4909b81d45', 'dev_requirement' => false, ), 'symfony/yaml' => array( 'pretty_version' => 'v6.3.3', 'version' => '6.3.3.0', - 'reference' => 'e23292e8c07c85b971b44c1c4b87af52133e2add', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), + 'reference' => 'e23292e8c07c85b971b44c1c4b87af52133e2add', 'dev_requirement' => false, ), 'tecnickcom/tcpdf' => array( 'pretty_version' => '6.6.5', 'version' => '6.6.5.0', - 'reference' => '5fce932fcee4371865314ab7f6c0d85423c5c7ce', 'type' => 'library', 'install_path' => __DIR__ . '/../tecnickcom/tcpdf', 'aliases' => array(), + 'reference' => '5fce932fcee4371865314ab7f6c0d85423c5c7ce', 'dev_requirement' => false, ), 'theseer/tokenizer' => array( 'pretty_version' => '1.2.1', 'version' => '1.2.1.0', - 'reference' => '34a41e998c2183e22995f158c581e7b5e755ab9e', 'type' => 'library', 'install_path' => __DIR__ . '/../theseer/tokenizer', 'aliases' => array(), + 'reference' => '34a41e998c2183e22995f158c581e7b5e755ab9e', 'dev_requirement' => true, ), 'tightenco/collect' => array( 'pretty_version' => 'v9.52.7', 'version' => '9.52.7.0', - 'reference' => 'b15143cd11fe01a700fcc449df61adc64452fa6d', 'type' => 'library', 'install_path' => __DIR__ . '/../tightenco/collect', 'aliases' => array(), + 'reference' => 'b15143cd11fe01a700fcc449df61adc64452fa6d', 'dev_requirement' => false, ), 'tijsverkoyen/css-to-inline-styles' => array( 'pretty_version' => '2.2.6', 'version' => '2.2.6.0', - 'reference' => 'c42125b83a4fa63b187fdf29f9c93cb7733da30c', 'type' => 'library', 'install_path' => __DIR__ . '/../tijsverkoyen/css-to-inline-styles', 'aliases' => array(), + 'reference' => 'c42125b83a4fa63b187fdf29f9c93cb7733da30c', 'dev_requirement' => false, ), 'tymon/jwt-auth' => array( 'pretty_version' => '2.0.0', 'version' => '2.0.0.0', - 'reference' => 'b0868a5b00801889a9e0c81a737963d8004e708c', 'type' => 'library', 'install_path' => __DIR__ . '/../tymon/jwt-auth', 'aliases' => array(), + 'reference' => 'b0868a5b00801889a9e0c81a737963d8004e708c', 'dev_requirement' => false, ), 'vlucas/phpdotenv' => array( 'pretty_version' => 'v5.5.0', 'version' => '5.5.0.0', - 'reference' => '1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7', 'type' => 'library', 'install_path' => __DIR__ . '/../vlucas/phpdotenv', 'aliases' => array(), + 'reference' => '1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7', 'dev_requirement' => false, ), 'voku/portable-ascii' => array( 'pretty_version' => '2.0.1', 'version' => '2.0.1.0', - 'reference' => 'b56450eed252f6801410d810c8e1727224ae0743', 'type' => 'library', 'install_path' => __DIR__ . '/../voku/portable-ascii', 'aliases' => array(), + 'reference' => 'b56450eed252f6801410d810c8e1727224ae0743', 'dev_requirement' => false, ), 'webmozart/assert' => array( 'pretty_version' => '1.11.0', 'version' => '1.11.0.0', - 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), + 'reference' => '11cb2199493b2f8a3b53e7f19068fc6aac760991', 'dev_requirement' => false, ), ), diff --git a/vendor/lcobucci/clock/composer.json b/vendor/lcobucci/clock/composer.json index 32dfab9d..4a3ec572 100644 --- a/vendor/lcobucci/clock/composer.json +++ b/vendor/lcobucci/clock/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": "~8.1.0 || ~8.2.0", - "stella-maris/clock": "^0.1.7" + "psr/clock": "^1.0" }, "require-dev": { "infection/infection": "^0.26", diff --git a/vendor/lcobucci/clock/src/Clock.php b/vendor/lcobucci/clock/src/Clock.php index 529a3c36..45a033b8 100644 --- a/vendor/lcobucci/clock/src/Clock.php +++ b/vendor/lcobucci/clock/src/Clock.php @@ -4,7 +4,7 @@ declare(strict_types=1); namespace Lcobucci\Clock; use DateTimeImmutable; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; interface Clock extends ClockInterface { diff --git a/vendor/lcobucci/jwt/composer.json b/vendor/lcobucci/jwt/composer.json index b6788da6..6c53e4c3 100644 --- a/vendor/lcobucci/jwt/composer.json +++ b/vendor/lcobucci/jwt/composer.json @@ -1,7 +1,14 @@ { "name": "lcobucci/jwt", "description": "A simple library to work with JSON Web Token and JSON Web Signature", + "license": [ + "BSD-3-Clause" + ], "type": "library", + "keywords": [ + "JWT", + "JWS" + ], "authors": [ { "name": "Luís Cobucci", @@ -9,31 +16,27 @@ "role": "Developer" } ], - "keywords": [ - "JWT", - "JWS" - ], - "license": [ - "BSD-3-Clause" - ], "require": { "php": "^7.4 || ^8.0", + "ext-hash": "*", + "ext-json": "*", "ext-mbstring": "*", "ext-openssl": "*", - "lcobucci/clock": "^2.0" + "ext-sodium": "*", + "lcobucci/clock": "^2.0 || ^3.0" }, "require-dev": { - "infection/infection": "^0.20", + "infection/infection": "^0.21", "lcobucci/coding-standard": "^6.0", - "mikey179/vfsstream": "^1.6", - "phpbench/phpbench": "^0.17", + "mikey179/vfsstream": "^1.6.7", + "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-deprecation-rules": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", "phpunit/php-invoker": "^3.1", - "phpunit/phpunit": "^9.4" + "phpunit/phpunit": "^9.5" }, "autoload": { "psr-4": { @@ -51,12 +54,13 @@ } }, "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true, + "phpstan/extension-installer": true, + "infection/extension-installer": true, + "ocramius/package-versions": true + }, "preferred-install": "dist", "sort-packages": true - }, - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } } } diff --git a/vendor/lcobucci/jwt/src/Configuration.php b/vendor/lcobucci/jwt/src/Configuration.php index 8da1c8af..c1769f7c 100644 --- a/vendor/lcobucci/jwt/src/Configuration.php +++ b/vendor/lcobucci/jwt/src/Configuration.php @@ -80,6 +80,7 @@ final class Configuration ); } + /** @deprecated Deprecated since v4.3 */ public static function forUnsecuredSigner( ?Encoder $encoder = null, ?Decoder $decoder = null diff --git a/vendor/lcobucci/jwt/src/Encoding/ChainedFormatter.php b/vendor/lcobucci/jwt/src/Encoding/ChainedFormatter.php index 8eed7e79..1670138b 100644 --- a/vendor/lcobucci/jwt/src/Encoding/ChainedFormatter.php +++ b/vendor/lcobucci/jwt/src/Encoding/ChainedFormatter.php @@ -20,6 +20,11 @@ final class ChainedFormatter implements ClaimsFormatter return new self(new UnifyAudience(), new MicrosecondBasedDateConversion()); } + public static function withUnixTimestampDates(): self + { + return new self(new UnifyAudience(), new UnixTimestampDates()); + } + /** @inheritdoc */ public function formatClaims(array $claims): array { diff --git a/vendor/lcobucci/jwt/src/Encoding/JoseEncoder.php b/vendor/lcobucci/jwt/src/Encoding/JoseEncoder.php index 9cb49c42..597d15f9 100644 --- a/vendor/lcobucci/jwt/src/Encoding/JoseEncoder.php +++ b/vendor/lcobucci/jwt/src/Encoding/JoseEncoder.php @@ -6,14 +6,10 @@ namespace Lcobucci\JWT\Encoding; use JsonException; use Lcobucci\JWT\Decoder; use Lcobucci\JWT\Encoder; +use Lcobucci\JWT\SodiumBase64Polyfill; -use function base64_decode; -use function base64_encode; -use function is_string; use function json_decode; use function json_encode; -use function rtrim; -use function strtr; use const JSON_THROW_ON_ERROR; use const JSON_UNESCAPED_SLASHES; @@ -48,18 +44,17 @@ final class JoseEncoder implements Encoder, Decoder public function base64UrlEncode(string $data): string { - return rtrim(strtr(base64_encode($data), '+/', '-_'), '='); + return SodiumBase64Polyfill::bin2base64( + $data, + SodiumBase64Polyfill::SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING + ); } public function base64UrlDecode(string $data): string { - // Padding isn't added back because it isn't strictly necessary for decoding with PHP - $decodedContent = base64_decode(strtr($data, '-_', '+/'), true); - - if (! is_string($decodedContent)) { - throw CannotDecodeContent::invalidBase64String(); - } - - return $decodedContent; + return SodiumBase64Polyfill::base642bin( + $data, + SodiumBase64Polyfill::SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING + ); } } diff --git a/vendor/lcobucci/jwt/src/Encoding/UnixTimestampDates.php b/vendor/lcobucci/jwt/src/Encoding/UnixTimestampDates.php new file mode 100644 index 00000000..7d58389b --- /dev/null +++ b/vendor/lcobucci/jwt/src/Encoding/UnixTimestampDates.php @@ -0,0 +1,32 @@ +convertDate($claims[$claim]); + } + + return $claims; + } + + private function convertDate(DateTimeImmutable $date): int + { + return $date->getTimestamp(); + } +} diff --git a/vendor/lcobucci/jwt/src/JwtFacade.php b/vendor/lcobucci/jwt/src/JwtFacade.php new file mode 100644 index 00000000..45c52a1f --- /dev/null +++ b/vendor/lcobucci/jwt/src/JwtFacade.php @@ -0,0 +1,66 @@ +parser = $parser ?? new Token\Parser(new JoseEncoder()); + $this->clock = $clock ?? SystemClock::fromSystemTimezone(); + } + + /** @param Closure(Builder, DateTimeImmutable):Builder $customiseBuilder */ + public function issue( + Signer $signer, + Key $signingKey, + Closure $customiseBuilder + ): UnencryptedToken { + $builder = new Token\Builder(new JoseEncoder(), ChainedFormatter::withUnixTimestampDates()); + + $now = $this->clock->now(); + $builder + ->issuedAt($now) + ->canOnlyBeUsedAfter($now) + ->expiresAt($now->modify('+5 minutes')); + + return $customiseBuilder($builder, $now)->getToken($signer, $signingKey); + } + + public function parse( + string $jwt, + SignedWith $signedWith, + ValidAt $validAt, + Constraint ...$constraints + ): UnencryptedToken { + $token = $this->parser->parse($jwt); + assert($token instanceof UnencryptedToken); + + (new Validator())->assert( + $token, + $signedWith, + $validAt, + ...$constraints + ); + + return $token; + } +} diff --git a/vendor/lcobucci/jwt/src/Signer/Blake2b.php b/vendor/lcobucci/jwt/src/Signer/Blake2b.php new file mode 100644 index 00000000..71f2d9dd --- /dev/null +++ b/vendor/lcobucci/jwt/src/Signer/Blake2b.php @@ -0,0 +1,36 @@ +contents()); + + if ($actualKeyLength < self::MINIMUM_KEY_LENGTH_IN_BITS) { + throw InvalidKeyProvided::tooShort(self::MINIMUM_KEY_LENGTH_IN_BITS, $actualKeyLength); + } + + return sodium_crypto_generichash($payload, $key->contents()); + } + + public function verify(string $expected, string $payload, Key $key): bool + { + return hash_equals($expected, $this->sign($payload, $key)); + } +} diff --git a/vendor/lcobucci/jwt/src/Signer/CannotSignPayload.php b/vendor/lcobucci/jwt/src/Signer/CannotSignPayload.php index 418a8dce..35cc4d6d 100644 --- a/vendor/lcobucci/jwt/src/Signer/CannotSignPayload.php +++ b/vendor/lcobucci/jwt/src/Signer/CannotSignPayload.php @@ -10,6 +10,6 @@ final class CannotSignPayload extends InvalidArgumentException implements Except { public static function errorHappened(string $error): self { - return new self('There was an error while creating the signature: ' . $error); + return new self('There was an error while creating the signature:' . $error); } } diff --git a/vendor/lcobucci/jwt/src/Signer/Ecdsa.php b/vendor/lcobucci/jwt/src/Signer/Ecdsa.php index f8ada157..886e0691 100644 --- a/vendor/lcobucci/jwt/src/Signer/Ecdsa.php +++ b/vendor/lcobucci/jwt/src/Signer/Ecdsa.php @@ -12,42 +12,58 @@ abstract class Ecdsa extends OpenSSL { private SignatureConverter $converter; - public function __construct(SignatureConverter $converter) + public function __construct(?SignatureConverter $converter = null) { - $this->converter = $converter; + $this->converter = $converter ?? new MultibyteStringConverter(); } + /** @deprecated */ public static function create(): Ecdsa { - return new static(new MultibyteStringConverter()); // @phpstan-ignore-line + return new static(); // @phpstan-ignore-line } final public function sign(string $payload, Key $key): string { return $this->converter->fromAsn1( $this->createSignature($key->contents(), $key->passphrase(), $payload), - $this->keyLength() + $this->pointLength() ); } final public function verify(string $expected, string $payload, Key $key): bool { return $this->verifySignature( - $this->converter->toAsn1($expected, $this->keyLength()), + $this->converter->toAsn1($expected, $this->pointLength()), $payload, $key->contents() ); } - final public function keyType(): int + /** {@inheritdoc} */ + final protected function guardAgainstIncompatibleKey(int $type, int $lengthInBits): void { - return OPENSSL_KEYTYPE_EC; + if ($type !== OPENSSL_KEYTYPE_EC) { + throw InvalidKeyProvided::incompatibleKeyType( + self::KEY_TYPE_MAP[OPENSSL_KEYTYPE_EC], + self::KEY_TYPE_MAP[$type], + ); + } + + $expectedKeyLength = $this->expectedKeyLength(); + + if ($lengthInBits !== $expectedKeyLength) { + throw InvalidKeyProvided::incompatibleKeyLength($expectedKeyLength, $lengthInBits); + } } + /** @internal */ + abstract public function expectedKeyLength(): int; + /** * Returns the length of each point in the signature, so that we can calculate and verify R and S points properly * * @internal */ - abstract public function keyLength(): int; + abstract public function pointLength(): int; } diff --git a/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha256.php b/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha256.php index 36f6ec12..ff00f4d4 100644 --- a/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha256.php +++ b/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha256.php @@ -19,8 +19,13 @@ final class Sha256 extends Ecdsa return OPENSSL_ALGO_SHA256; } - public function keyLength(): int + public function pointLength(): int { return 64; } + + public function expectedKeyLength(): int + { + return 256; + } } diff --git a/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha384.php b/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha384.php index d3c5dbce..fa6dd657 100644 --- a/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha384.php +++ b/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha384.php @@ -19,8 +19,13 @@ final class Sha384 extends Ecdsa return OPENSSL_ALGO_SHA384; } - public function keyLength(): int + public function pointLength(): int { return 96; } + + public function expectedKeyLength(): int + { + return 384; + } } diff --git a/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php b/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php index 1495d13b..35857869 100644 --- a/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php +++ b/vendor/lcobucci/jwt/src/Signer/Ecdsa/Sha512.php @@ -19,8 +19,13 @@ final class Sha512 extends Ecdsa return OPENSSL_ALGO_SHA512; } - public function keyLength(): int + public function pointLength(): int { return 132; } + + public function expectedKeyLength(): int + { + return 521; + } } diff --git a/vendor/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha256.php b/vendor/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha256.php new file mode 100644 index 00000000..6f2699d0 --- /dev/null +++ b/vendor/lcobucci/jwt/src/Signer/Ecdsa/UnsafeSha256.php @@ -0,0 +1,27 @@ +contents()); + } catch (SodiumException $sodiumException) { + throw new InvalidKeyProvided($sodiumException->getMessage(), 0, $sodiumException); + } + } + + public function verify(string $expected, string $payload, Key $key): bool + { + try { + return sodium_crypto_sign_verify_detached($expected, $payload, $key->contents()); + } catch (SodiumException $sodiumException) { + throw new InvalidKeyProvided($sodiumException->getMessage(), 0, $sodiumException); + } + } +} diff --git a/vendor/lcobucci/jwt/src/Signer/Hmac.php b/vendor/lcobucci/jwt/src/Signer/Hmac.php index 05b46bcb..6ba5165d 100644 --- a/vendor/lcobucci/jwt/src/Signer/Hmac.php +++ b/vendor/lcobucci/jwt/src/Signer/Hmac.php @@ -7,11 +7,18 @@ use Lcobucci\JWT\Signer; use function hash_equals; use function hash_hmac; +use function strlen; abstract class Hmac implements Signer { final public function sign(string $payload, Key $key): string { + $actualKeyLength = 8 * strlen($key->contents()); + $expectedKeyLength = $this->minimumBitsLengthForKey(); + if ($actualKeyLength < $expectedKeyLength) { + throw InvalidKeyProvided::tooShort($expectedKeyLength, $actualKeyLength); + } + return hash_hmac($this->algorithm(), $payload, $key->contents(), true); } @@ -21,4 +28,7 @@ abstract class Hmac implements Signer } abstract public function algorithm(): string; + + /** @return positive-int */ + abstract public function minimumBitsLengthForKey(): int; } diff --git a/vendor/lcobucci/jwt/src/Signer/Hmac/Sha256.php b/vendor/lcobucci/jwt/src/Signer/Hmac/Sha256.php index 4be692e5..e19992ec 100644 --- a/vendor/lcobucci/jwt/src/Signer/Hmac/Sha256.php +++ b/vendor/lcobucci/jwt/src/Signer/Hmac/Sha256.php @@ -16,4 +16,9 @@ final class Sha256 extends Hmac { return 'sha256'; } + + public function minimumBitsLengthForKey(): int + { + return 256; + } } diff --git a/vendor/lcobucci/jwt/src/Signer/Hmac/Sha384.php b/vendor/lcobucci/jwt/src/Signer/Hmac/Sha384.php index 4cf044ee..ab795bc3 100644 --- a/vendor/lcobucci/jwt/src/Signer/Hmac/Sha384.php +++ b/vendor/lcobucci/jwt/src/Signer/Hmac/Sha384.php @@ -16,4 +16,9 @@ final class Sha384 extends Hmac { return 'sha384'; } + + public function minimumBitsLengthForKey(): int + { + return 384; + } } diff --git a/vendor/lcobucci/jwt/src/Signer/Hmac/Sha512.php b/vendor/lcobucci/jwt/src/Signer/Hmac/Sha512.php index b9ff72c2..69716122 100644 --- a/vendor/lcobucci/jwt/src/Signer/Hmac/Sha512.php +++ b/vendor/lcobucci/jwt/src/Signer/Hmac/Sha512.php @@ -16,4 +16,9 @@ final class Sha512 extends Hmac { return 'sha512'; } + + public function minimumBitsLengthForKey(): int + { + return 512; + } } diff --git a/vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha256.php b/vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha256.php new file mode 100644 index 00000000..3b66132d --- /dev/null +++ b/vendor/lcobucci/jwt/src/Signer/Hmac/UnsafeSha256.php @@ -0,0 +1,25 @@ +contents = $contents; $this->passphrase = $passphrase; } + /** @deprecated Deprecated since v4.3 */ public static function empty(): self { - return new self('', ''); + $emptyKey = new self('empty', 'empty'); + $emptyKey->contents = ''; + $emptyKey->passphrase = ''; + + return $emptyKey; } + /** @param non-empty-string $contents */ public static function plainText(string $contents, string $passphrase = ''): self { return new self($contents, $passphrase); } + /** @param non-empty-string $contents */ public static function base64Encoded(string $contents, string $passphrase = ''): self { - $decoded = base64_decode($contents, true); - - if ($decoded === false) { - throw CannotDecodeContent::invalidBase64String(); - } + $decoded = SodiumBase64Polyfill::base642bin( + $contents, + SodiumBase64Polyfill::SODIUM_BASE64_VARIANT_ORIGINAL + ); + // @phpstan-ignore-next-line return new self($decoded, $passphrase); } @@ -55,6 +68,7 @@ final class InMemory implements Key $contents = $file->fread($file->getSize()); assert(is_string($contents)); + assert($contents !== ''); return new self($contents, $passphrase); } diff --git a/vendor/lcobucci/jwt/src/Signer/None.php b/vendor/lcobucci/jwt/src/Signer/None.php index 4e6ecb17..29d0ed79 100644 --- a/vendor/lcobucci/jwt/src/Signer/None.php +++ b/vendor/lcobucci/jwt/src/Signer/None.php @@ -5,6 +5,7 @@ namespace Lcobucci\JWT\Signer; use Lcobucci\JWT\Signer; +/** @deprecated Deprecated since v4.3 */ final class None implements Signer { public function algorithmId(): string diff --git a/vendor/lcobucci/jwt/src/Signer/OpenSSL.php b/vendor/lcobucci/jwt/src/Signer/OpenSSL.php index b030e75a..0af618f7 100644 --- a/vendor/lcobucci/jwt/src/Signer/OpenSSL.php +++ b/vendor/lcobucci/jwt/src/Signer/OpenSSL.php @@ -10,7 +10,7 @@ use function array_key_exists; use function assert; use function is_array; use function is_bool; -use function is_string; +use function is_int; use function openssl_error_string; use function openssl_free_key; use function openssl_pkey_get_details; @@ -19,8 +19,21 @@ use function openssl_pkey_get_public; use function openssl_sign; use function openssl_verify; +use const OPENSSL_KEYTYPE_DH; +use const OPENSSL_KEYTYPE_DSA; +use const OPENSSL_KEYTYPE_EC; +use const OPENSSL_KEYTYPE_RSA; +use const PHP_EOL; + abstract class OpenSSL implements Signer { + protected const KEY_TYPE_MAP = [ + OPENSSL_KEYTYPE_RSA => 'RSA', + OPENSSL_KEYTYPE_DSA => 'DSA', + OPENSSL_KEYTYPE_DH => 'DH', + OPENSSL_KEYTYPE_EC => 'EC', + ]; + /** * @throws CannotSignPayload * @throws InvalidKeyProvided @@ -36,10 +49,7 @@ abstract class OpenSSL implements Signer $signature = ''; if (! openssl_sign($payload, $signature, $key, $this->algorithm())) { - $error = openssl_error_string(); - assert(is_string($error)); - - throw CannotSignPayload::errorHappened($error); + throw CannotSignPayload::errorHappened($this->fullOpenSSLErrorString()); } return $signature; @@ -97,20 +107,34 @@ abstract class OpenSSL implements Signer private function validateKey($key): void { if (is_bool($key)) { - $error = openssl_error_string(); - assert(is_string($error)); - - throw InvalidKeyProvided::cannotBeParsed($error); + throw InvalidKeyProvided::cannotBeParsed($this->fullOpenSSLErrorString()); } $details = openssl_pkey_get_details($key); assert(is_array($details)); - if (! array_key_exists('key', $details) || $details['type'] !== $this->keyType()) { - throw InvalidKeyProvided::incompatibleKey(); - } + assert(array_key_exists('bits', $details)); + assert(is_int($details['bits'])); + assert(array_key_exists('type', $details)); + assert(is_int($details['type'])); + + $this->guardAgainstIncompatibleKey($details['type'], $details['bits']); } + private function fullOpenSSLErrorString(): string + { + $error = ''; + + while ($msg = openssl_error_string()) { + $error .= PHP_EOL . '* ' . $msg; + } + + return $error; + } + + /** @throws InvalidKeyProvided */ + abstract protected function guardAgainstIncompatibleKey(int $type, int $lengthInBits): void; + /** @param resource|OpenSSLAsymmetricKey $key */ private function freeKey($key): void { @@ -121,13 +145,6 @@ abstract class OpenSSL implements Signer openssl_free_key($key); // Deprecated and no longer necessary as of PHP >= 8.0 } - /** - * Returns the type of key to be used to create/verify the signature (using OpenSSL constants) - * - * @internal - */ - abstract public function keyType(): int; - /** * Returns which algorithm to be used to create/verify the signature (using OpenSSL constants) * diff --git a/vendor/lcobucci/jwt/src/Signer/Rsa.php b/vendor/lcobucci/jwt/src/Signer/Rsa.php index ff54dd32..ba7d72d5 100644 --- a/vendor/lcobucci/jwt/src/Signer/Rsa.php +++ b/vendor/lcobucci/jwt/src/Signer/Rsa.php @@ -7,6 +7,8 @@ use const OPENSSL_KEYTYPE_RSA; abstract class Rsa extends OpenSSL { + private const MINIMUM_KEY_LENGTH = 2048; + final public function sign(string $payload, Key $key): string { return $this->createSignature($key->contents(), $key->passphrase(), $payload); @@ -17,8 +19,17 @@ abstract class Rsa extends OpenSSL return $this->verifySignature($expected, $payload, $key->contents()); } - final public function keyType(): int + final protected function guardAgainstIncompatibleKey(int $type, int $lengthInBits): void { - return OPENSSL_KEYTYPE_RSA; + if ($type !== OPENSSL_KEYTYPE_RSA) { + throw InvalidKeyProvided::incompatibleKeyType( + self::KEY_TYPE_MAP[OPENSSL_KEYTYPE_RSA], + self::KEY_TYPE_MAP[$type], + ); + } + + if ($lengthInBits < self::MINIMUM_KEY_LENGTH) { + throw InvalidKeyProvided::tooShort(self::MINIMUM_KEY_LENGTH, $lengthInBits); + } } } diff --git a/vendor/lcobucci/jwt/src/Signer/Rsa/UnsafeSha256.php b/vendor/lcobucci/jwt/src/Signer/Rsa/UnsafeSha256.php new file mode 100644 index 00000000..e6e67f29 --- /dev/null +++ b/vendor/lcobucci/jwt/src/Signer/Rsa/UnsafeSha256.php @@ -0,0 +1,22 @@ +converter = $converter; + } + + public static function create(): UnsafeEcdsa + { + return new static(new MultibyteStringConverter()); // @phpstan-ignore-line + } + + final public function sign(string $payload, Key $key): string + { + return $this->converter->fromAsn1( + $this->createSignature($key->contents(), $key->passphrase(), $payload), + $this->pointLength() + ); + } + + final public function verify(string $expected, string $payload, Key $key): bool + { + return $this->verifySignature( + $this->converter->toAsn1($expected, $this->pointLength()), + $payload, + $key->contents() + ); + } + + // phpcs:ignore SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter + final protected function guardAgainstIncompatibleKey(int $type, int $lengthInBits): void + { + if ($type !== OPENSSL_KEYTYPE_EC) { + throw InvalidKeyProvided::incompatibleKeyType( + self::KEY_TYPE_MAP[OPENSSL_KEYTYPE_EC], + self::KEY_TYPE_MAP[$type], + ); + } + } + + /** + * Returns the length of each point in the signature, so that we can calculate and verify R and S points properly + * + * @internal + */ + abstract public function pointLength(): int; +} diff --git a/vendor/lcobucci/jwt/src/Signer/UnsafeRsa.php b/vendor/lcobucci/jwt/src/Signer/UnsafeRsa.php new file mode 100644 index 00000000..182ef806 --- /dev/null +++ b/vendor/lcobucci/jwt/src/Signer/UnsafeRsa.php @@ -0,0 +1,31 @@ +createSignature($key->contents(), $key->passphrase(), $payload); + } + + final public function verify(string $expected, string $payload, Key $key): bool + { + return $this->verifySignature($expected, $payload, $key->contents()); + } + + // phpcs:ignore SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter + final protected function guardAgainstIncompatibleKey(int $type, int $lengthInBits): void + { + if ($type !== OPENSSL_KEYTYPE_RSA) { + throw InvalidKeyProvided::incompatibleKeyType( + self::KEY_TYPE_MAP[OPENSSL_KEYTYPE_RSA], + self::KEY_TYPE_MAP[$type], + ); + } + } +} diff --git a/vendor/lcobucci/jwt/src/SodiumBase64Polyfill.php b/vendor/lcobucci/jwt/src/SodiumBase64Polyfill.php new file mode 100644 index 00000000..a00068db --- /dev/null +++ b/vendor/lcobucci/jwt/src/SodiumBase64Polyfill.php @@ -0,0 +1,88 @@ + $data */ public function __construct(array $data, string $encoded) { $this->data = $data; @@ -33,7 +33,7 @@ final class DataSet return array_key_exists($name, $this->data); } - /** @return mixed[] */ + /** @return array */ public function all(): array { return $this->data; diff --git a/vendor/lcobucci/jwt/src/Token/Plain.php b/vendor/lcobucci/jwt/src/Token/Plain.php index 1a7b4cd4..8903e6ae 100644 --- a/vendor/lcobucci/jwt/src/Token/Plain.php +++ b/vendor/lcobucci/jwt/src/Token/Plain.php @@ -4,11 +4,11 @@ declare(strict_types=1); namespace Lcobucci\JWT\Token; use DateTimeInterface; -use Lcobucci\JWT\Token as TokenInterface; +use Lcobucci\JWT\UnencryptedToken; use function in_array; -final class Plain implements TokenInterface +final class Plain implements UnencryptedToken { private DataSet $headers; private DataSet $claims; diff --git a/vendor/lcobucci/jwt/src/Token/Signature.php b/vendor/lcobucci/jwt/src/Token/Signature.php index 80d90a60..3949e754 100644 --- a/vendor/lcobucci/jwt/src/Token/Signature.php +++ b/vendor/lcobucci/jwt/src/Token/Signature.php @@ -14,6 +14,7 @@ final class Signature $this->encoded = $encoded; } + /** @deprecated Deprecated since v4.3 */ public static function fromEmptyData(): self { return new self('', ''); diff --git a/vendor/lcobucci/jwt/src/UnencryptedToken.php b/vendor/lcobucci/jwt/src/UnencryptedToken.php new file mode 100644 index 00000000..d177059a --- /dev/null +++ b/vendor/lcobucci/jwt/src/UnencryptedToken.php @@ -0,0 +1,25 @@ +claim = $claim; + $this->expectedValue = $expectedValue; + } + + public function assert(Token $token): void + { + if (! $token instanceof UnencryptedToken) { + throw ConstraintViolation::error('You should pass a plain token', $this); + } + + $claims = $token->claims(); + + if (! $claims->has($this->claim)) { + throw ConstraintViolation::error('The token does not have the claim "' . $this->claim . '"', $this); + } + + if ($claims->get($this->claim) !== $this->expectedValue) { + throw ConstraintViolation::error( + 'The claim "' . $this->claim . '" does not have the expected value', + $this + ); + } + } +} diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/IdentifiedBy.php b/vendor/lcobucci/jwt/src/Validation/Constraint/IdentifiedBy.php index 0d3a1940..c0ad8a01 100644 --- a/vendor/lcobucci/jwt/src/Validation/Constraint/IdentifiedBy.php +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/IdentifiedBy.php @@ -19,8 +19,9 @@ final class IdentifiedBy implements Constraint public function assert(Token $token): void { if (! $token->isIdentifiedBy($this->id)) { - throw new ConstraintViolation( - 'The token is not identified with the expected ID' + throw ConstraintViolation::error( + 'The token is not identified with the expected ID', + $this ); } } diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/IssuedBy.php b/vendor/lcobucci/jwt/src/Validation/Constraint/IssuedBy.php index 5f5346e3..c4628150 100644 --- a/vendor/lcobucci/jwt/src/Validation/Constraint/IssuedBy.php +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/IssuedBy.php @@ -20,8 +20,9 @@ final class IssuedBy implements Constraint public function assert(Token $token): void { if (! $token->hasBeenIssuedBy(...$this->issuers)) { - throw new ConstraintViolation( - 'The token was not issued by the given issuers' + throw ConstraintViolation::error( + 'The token was not issued by the given issuers', + $this ); } } diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/LooseValidAt.php b/vendor/lcobucci/jwt/src/Validation/Constraint/LooseValidAt.php new file mode 100644 index 00000000..22e0930d --- /dev/null +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/LooseValidAt.php @@ -0,0 +1,69 @@ +clock = $clock; + $this->leeway = $this->guardLeeway($leeway); + } + + private function guardLeeway(?DateInterval $leeway): DateInterval + { + if ($leeway === null) { + return new DateInterval('PT0S'); + } + + if ($leeway->invert === 1) { + throw LeewayCannotBeNegative::create(); + } + + return $leeway; + } + + public function assert(Token $token): void + { + $now = $this->clock->now(); + + $this->assertIssueTime($token, $now->add($this->leeway)); + $this->assertMinimumTime($token, $now->add($this->leeway)); + $this->assertExpiration($token, $now->sub($this->leeway)); + } + + /** @throws ConstraintViolation */ + private function assertExpiration(Token $token, DateTimeInterface $now): void + { + if ($token->isExpired($now)) { + throw ConstraintViolation::error('The token is expired', $this); + } + } + + /** @throws ConstraintViolation */ + private function assertMinimumTime(Token $token, DateTimeInterface $now): void + { + if (! $token->isMinimumTimeBefore($now)) { + throw ConstraintViolation::error('The token cannot be used yet', $this); + } + } + + /** @throws ConstraintViolation */ + private function assertIssueTime(Token $token, DateTimeInterface $now): void + { + if (! $token->hasBeenIssuedBefore($now)) { + throw ConstraintViolation::error('The token was issued in the future', $this); + } + } +} diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/PermittedFor.php b/vendor/lcobucci/jwt/src/Validation/Constraint/PermittedFor.php index 1155697a..ed2ce8ee 100644 --- a/vendor/lcobucci/jwt/src/Validation/Constraint/PermittedFor.php +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/PermittedFor.php @@ -19,8 +19,9 @@ final class PermittedFor implements Constraint public function assert(Token $token): void { if (! $token->isPermittedFor($this->audience)) { - throw new ConstraintViolation( - 'The token is not allowed to be used by this audience' + throw ConstraintViolation::error( + 'The token is not allowed to be used by this audience', + $this ); } } diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/RelatedTo.php b/vendor/lcobucci/jwt/src/Validation/Constraint/RelatedTo.php index 8beecd70..dc2461a2 100644 --- a/vendor/lcobucci/jwt/src/Validation/Constraint/RelatedTo.php +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/RelatedTo.php @@ -19,8 +19,9 @@ final class RelatedTo implements Constraint public function assert(Token $token): void { if (! $token->isRelatedTo($this->subject)) { - throw new ConstraintViolation( - 'The token is not related to the expected subject' + throw ConstraintViolation::error( + 'The token is not related to the expected subject', + $this ); } } diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/SignedWith.php b/vendor/lcobucci/jwt/src/Validation/Constraint/SignedWith.php index 56acb2ef..150b6a38 100644 --- a/vendor/lcobucci/jwt/src/Validation/Constraint/SignedWith.php +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/SignedWith.php @@ -5,10 +5,11 @@ namespace Lcobucci\JWT\Validation\Constraint; use Lcobucci\JWT\Signer; use Lcobucci\JWT\Token; -use Lcobucci\JWT\Validation\Constraint; +use Lcobucci\JWT\UnencryptedToken; use Lcobucci\JWT\Validation\ConstraintViolation; +use Lcobucci\JWT\Validation\SignedWith as SignedWithInterface; -final class SignedWith implements Constraint +final class SignedWith implements SignedWithInterface { private Signer $signer; private Signer\Key $key; @@ -21,16 +22,16 @@ final class SignedWith implements Constraint public function assert(Token $token): void { - if (! $token instanceof Token\Plain) { - throw new ConstraintViolation('You should pass a plain token'); + if (! $token instanceof UnencryptedToken) { + throw ConstraintViolation::error('You should pass a plain token', $this); } if ($token->headers()->get('alg') !== $this->signer->algorithmId()) { - throw new ConstraintViolation('Token signer mismatch'); + throw ConstraintViolation::error('Token signer mismatch', $this); } if (! $this->signer->verify($token->signature()->hash(), $token->payload(), $this->key)) { - throw new ConstraintViolation('Token signature mismatch'); + throw ConstraintViolation::error('Token signature mismatch', $this); } } } diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/StrictValidAt.php b/vendor/lcobucci/jwt/src/Validation/Constraint/StrictValidAt.php new file mode 100644 index 00000000..5a1738a1 --- /dev/null +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/StrictValidAt.php @@ -0,0 +1,86 @@ +clock = $clock; + $this->leeway = $this->guardLeeway($leeway); + } + + private function guardLeeway(?DateInterval $leeway): DateInterval + { + if ($leeway === null) { + return new DateInterval('PT0S'); + } + + if ($leeway->invert === 1) { + throw LeewayCannotBeNegative::create(); + } + + return $leeway; + } + + public function assert(Token $token): void + { + if (! $token instanceof UnencryptedToken) { + throw ConstraintViolation::error('You should pass a plain token', $this); + } + + $now = $this->clock->now(); + + $this->assertIssueTime($token, $now->add($this->leeway)); + $this->assertMinimumTime($token, $now->add($this->leeway)); + $this->assertExpiration($token, $now->sub($this->leeway)); + } + + /** @throws ConstraintViolation */ + private function assertExpiration(UnencryptedToken $token, DateTimeInterface $now): void + { + if (! $token->claims()->has(Token\RegisteredClaims::EXPIRATION_TIME)) { + throw ConstraintViolation::error('"Expiration Time" claim missing', $this); + } + + if ($token->isExpired($now)) { + throw ConstraintViolation::error('The token is expired', $this); + } + } + + /** @throws ConstraintViolation */ + private function assertMinimumTime(UnencryptedToken $token, DateTimeInterface $now): void + { + if (! $token->claims()->has(Token\RegisteredClaims::NOT_BEFORE)) { + throw ConstraintViolation::error('"Not Before" claim missing', $this); + } + + if (! $token->isMinimumTimeBefore($now)) { + throw ConstraintViolation::error('The token cannot be used yet', $this); + } + } + + /** @throws ConstraintViolation */ + private function assertIssueTime(UnencryptedToken $token, DateTimeInterface $now): void + { + if (! $token->claims()->has(Token\RegisteredClaims::ISSUED_AT)) { + throw ConstraintViolation::error('"Issued At" claim missing', $this); + } + + if (! $token->hasBeenIssuedBefore($now)) { + throw ConstraintViolation::error('The token was issued in the future', $this); + } + } +} diff --git a/vendor/lcobucci/jwt/src/Validation/Constraint/ValidAt.php b/vendor/lcobucci/jwt/src/Validation/Constraint/ValidAt.php index 61866864..db7f6baf 100644 --- a/vendor/lcobucci/jwt/src/Validation/Constraint/ValidAt.php +++ b/vendor/lcobucci/jwt/src/Validation/Constraint/ValidAt.php @@ -4,66 +4,22 @@ declare(strict_types=1); namespace Lcobucci\JWT\Validation\Constraint; use DateInterval; -use DateTimeInterface; use Lcobucci\Clock\Clock; use Lcobucci\JWT\Token; use Lcobucci\JWT\Validation\Constraint; -use Lcobucci\JWT\Validation\ConstraintViolation; +/** @deprecated Use \Lcobucci\JWT\Validation\Constraint\LooseValidAt */ final class ValidAt implements Constraint { - private Clock $clock; - private DateInterval $leeway; + private LooseValidAt $constraint; public function __construct(Clock $clock, ?DateInterval $leeway = null) { - $this->clock = $clock; - $this->leeway = $this->guardLeeway($leeway); - } - - private function guardLeeway(?DateInterval $leeway): DateInterval - { - if ($leeway === null) { - return new DateInterval('PT0S'); - } - - if ($leeway->invert === 1) { - throw LeewayCannotBeNegative::create(); - } - - return $leeway; + $this->constraint = new LooseValidAt($clock, $leeway); } public function assert(Token $token): void { - $now = $this->clock->now(); - - $this->assertIssueTime($token, $now->add($this->leeway)); - $this->assertMinimumTime($token, $now->add($this->leeway)); - $this->assertExpiration($token, $now->sub($this->leeway)); - } - - /** @throws ConstraintViolation */ - private function assertExpiration(Token $token, DateTimeInterface $now): void - { - if ($token->isExpired($now)) { - throw new ConstraintViolation('The token is expired'); - } - } - - /** @throws ConstraintViolation */ - private function assertMinimumTime(Token $token, DateTimeInterface $now): void - { - if (! $token->isMinimumTimeBefore($now)) { - throw new ConstraintViolation('The token cannot be used yet'); - } - } - - /** @throws ConstraintViolation */ - private function assertIssueTime(Token $token, DateTimeInterface $now): void - { - if (! $token->hasBeenIssuedBefore($now)) { - throw new ConstraintViolation('The token was issued in the future'); - } + $this->constraint->assert($token); } } diff --git a/vendor/lcobucci/jwt/src/Validation/ConstraintViolation.php b/vendor/lcobucci/jwt/src/Validation/ConstraintViolation.php index 39a56edc..cb1abeb7 100644 --- a/vendor/lcobucci/jwt/src/Validation/ConstraintViolation.php +++ b/vendor/lcobucci/jwt/src/Validation/ConstraintViolation.php @@ -6,6 +6,21 @@ namespace Lcobucci\JWT\Validation; use Lcobucci\JWT\Exception; use RuntimeException; +use function get_class; + final class ConstraintViolation extends RuntimeException implements Exception { + /** + * @readonly + * @var class-string|null + */ + public ?string $constraint = null; + + public static function error(string $message, Constraint $constraint): self + { + $exception = new self($message); + $exception->constraint = get_class($constraint); + + return $exception; + } } diff --git a/vendor/lcobucci/jwt/src/Validation/SignedWith.php b/vendor/lcobucci/jwt/src/Validation/SignedWith.php new file mode 100644 index 00000000..e721095f --- /dev/null +++ b/vendor/lcobucci/jwt/src/Validation/SignedWith.php @@ -0,0 +1,8 @@ +')` is being wrongly parsed (#234) +- Fix `ALTER TABLE … MODIFY … ENUM('')` is being wrongly parsed (#478) +- Fix MariaDB window function with alias gives bad linting errors (#283) +- Fix unrecognized keyword `COLLATE` in `WHERE` clauses (#491) +- Fix invalid hexadecimal prefix 0X (#508) + ## [5.8.0] - 2023-06-05 - Fix `ALTER EVENT RENAME TO` to use expression instead of var (#419) diff --git a/vendor/phpmyadmin/sql-parser/bin/highlight-query b/vendor/phpmyadmin/sql-parser/bin/highlight-query old mode 100644 new mode 100755 diff --git a/vendor/phpmyadmin/sql-parser/bin/lint-query b/vendor/phpmyadmin/sql-parser/bin/lint-query old mode 100644 new mode 100755 diff --git a/vendor/phpmyadmin/sql-parser/bin/tokenize-query b/vendor/phpmyadmin/sql-parser/bin/tokenize-query old mode 100644 new mode 100755 diff --git a/vendor/phpmyadmin/sql-parser/composer.json b/vendor/phpmyadmin/sql-parser/composer.json index 072430d3..15b94e51 100644 --- a/vendor/phpmyadmin/sql-parser/composer.json +++ b/vendor/phpmyadmin/sql-parser/composer.json @@ -37,7 +37,7 @@ "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", "psalm/plugin-phpunit": "^0.16.1", "vimeo/psalm": "^4.11", - "zumba/json-serializer": "^3.0" + "zumba/json-serializer": "~3.0.2" }, "conflict": { "phpmyadmin/motranslator": "<3.0" diff --git a/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php b/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php index 545d8852..b28e451b 100644 --- a/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php +++ b/vendor/phpmyadmin/sql-parser/src/Components/AlterOperation.php @@ -427,25 +427,32 @@ class AlterOperation extends Component break; } } elseif (! self::checkIfTokenQuotedSymbol($token)) { - if (! empty(Parser::$STATEMENT_PARSERS[$token->value])) { + // If the current token is "SET" or "ENUM", we want to avoid the token between their parenthesis in + // the unknown tokens. + if (in_array($token->value, ['SET', 'ENUM'], true)) { $list->idx++; // Ignore the current token $nextToken = $list->getNext(); - if ($token->value === 'SET' && $nextToken !== null && $nextToken->value === '(') { - // To avoid adding the tokens between the SET() parentheses to the unknown tokens + if ($nextToken !== null && $nextToken->value === '(') { $list->getNextOfTypeAndValue(Token::TYPE_OPERATOR, ')'); - } elseif ($token->value === 'SET' && $nextToken !== null && $nextToken->value === 'DEFAULT') { + } elseif ($nextToken !== null && $nextToken->value === 'DEFAULT') { // to avoid adding the `DEFAULT` token to the unknown tokens. ++$list->idx; } else { - // We have reached the end of ALTER operation and suddenly found - // a start to new statement, but have not find a delimiter between them $parser->error( 'A new statement was found, but no delimiter between it and the previous one.', $token ); break; } + } elseif (! empty(Parser::$STATEMENT_PARSERS[$token->value])) { + // We have reached the end of ALTER operation and suddenly found + // a start to new statement, but have not found a delimiter between them + $parser->error( + 'A new statement was found, but no delimiter between it and the previous one.', + $token + ); + break; } elseif ( (array_key_exists($arrayKey, self::$DB_OPTIONS) || array_key_exists($arrayKey, self::$TABLE_OPTIONS)) diff --git a/vendor/phpmyadmin/sql-parser/src/Components/Condition.php b/vendor/phpmyadmin/sql-parser/src/Components/Condition.php index 78c005d6..2948fcdd 100644 --- a/vendor/phpmyadmin/sql-parser/src/Components/Condition.php +++ b/vendor/phpmyadmin/sql-parser/src/Components/Condition.php @@ -43,6 +43,7 @@ class Condition extends Component 'ALL' => 1, 'AND' => 1, 'BETWEEN' => 1, + 'COLLATE' => 1, 'EXISTS' => 1, 'IF' => 1, 'IN' => 1, diff --git a/vendor/phpmyadmin/sql-parser/src/Components/Expression.php b/vendor/phpmyadmin/sql-parser/src/Components/Expression.php index b0fd6b0c..980f5972 100644 --- a/vendor/phpmyadmin/sql-parser/src/Components/Expression.php +++ b/vendor/phpmyadmin/sql-parser/src/Components/Expression.php @@ -367,7 +367,8 @@ class Expression extends Component && (($prev[1]->type === Token::TYPE_STRING) || ($prev[1]->type === Token::TYPE_SYMBOL && ! ($prev[1]->flags & Token::FLAG_SYMBOL_VARIABLE)) - || ($prev[1]->type === Token::TYPE_NONE)) + || ($prev[1]->type === Token::TYPE_NONE + && $prev[1]->token !== 'OVER')) ) { if (! empty($ret->alias)) { $parser->error('An alias was previously found.', $token); diff --git a/vendor/phpmyadmin/sql-parser/src/Components/SetOperation.php b/vendor/phpmyadmin/sql-parser/src/Components/SetOperation.php index 78abbd2c..2faf0c61 100644 --- a/vendor/phpmyadmin/sql-parser/src/Components/SetOperation.php +++ b/vendor/phpmyadmin/sql-parser/src/Components/SetOperation.php @@ -10,6 +10,7 @@ use PhpMyAdmin\SqlParser\Token; use PhpMyAdmin\SqlParser\TokensList; use function implode; +use function in_array; use function is_array; use function trim; @@ -63,7 +64,7 @@ class SetOperation extends Component * Below are the states of the parser. * * 0 ---------------------[ col_name ]--------------------> 0 - * 0 ------------------------[ = ]------------------------> 1 + * 0 ---------------------[ = or := ]---------------------> 1 * 1 -----------------------[ value ]---------------------> 1 * 1 ------------------------[ , ]------------------------> 0 * @@ -104,7 +105,7 @@ class SetOperation extends Component } if ($state === 0) { - if ($token->token === '=') { + if (in_array($token->token, ['=', ':='], true)) { $state = 1; } elseif ($token->value !== ',') { $expr->column .= $token->token; diff --git a/vendor/phpmyadmin/sql-parser/src/Lexer.php b/vendor/phpmyadmin/sql-parser/src/Lexer.php index befaf497..73b5aa06 100644 --- a/vendor/phpmyadmin/sql-parser/src/Lexer.php +++ b/vendor/phpmyadmin/sql-parser/src/Lexer.php @@ -851,10 +851,7 @@ class Lexer extends Core } elseif ( $this->last + 1 < $this->len && $this->str[$this->last] === '0' - && ( - $this->str[$this->last + 1] === 'x' - || $this->str[$this->last + 1] === 'X' - ) + && $this->str[$this->last + 1] === 'x' ) { $token .= $this->str[$this->last++]; $state = 2; diff --git a/vendor/phpmyadmin/sql-parser/tests/Lexer/ContextTest.php b/vendor/phpmyadmin/sql-parser/tests/Lexer/ContextTest.php index ade8db0d..6a479eee 100644 --- a/vendor/phpmyadmin/sql-parser/tests/Lexer/ContextTest.php +++ b/vendor/phpmyadmin/sql-parser/tests/Lexer/ContextTest.php @@ -12,6 +12,11 @@ use function class_exists; class ContextTest extends TestCase { + public static function tearDownAfterClass(): void + { + Context::setMode(); + } + public function testLoad(): void { // Default context is 5.7.0. diff --git a/vendor/phpmyadmin/sql-parser/tests/Misc/BugsTest.php b/vendor/phpmyadmin/sql-parser/tests/Misc/BugsTest.php index f457f4cd..f012cacc 100644 --- a/vendor/phpmyadmin/sql-parser/tests/Misc/BugsTest.php +++ b/vendor/phpmyadmin/sql-parser/tests/Misc/BugsTest.php @@ -26,6 +26,7 @@ class BugsTest extends TestCase ['bugs/gh14'], ['bugs/gh16'], ['bugs/gh317'], + ['bugs/gh508'], ['bugs/pma11800'], ['bugs/pma11836'], ['bugs/pma11843'], diff --git a/vendor/phpmyadmin/sql-parser/tests/Parser/AlterStatementTest.php b/vendor/phpmyadmin/sql-parser/tests/Parser/AlterStatementTest.php index 7baeb2fc..ac21fe11 100644 --- a/vendor/phpmyadmin/sql-parser/tests/Parser/AlterStatementTest.php +++ b/vendor/phpmyadmin/sql-parser/tests/Parser/AlterStatementTest.php @@ -49,6 +49,9 @@ class AlterStatementTest extends TestCase ['parser/parseAlterTableDropAddIndex1'], ['parser/parseAlterTableDropColumn1'], ['parser/parseAlterTableModifyColumn'], + ['parser/parseAlterTableModifyColumnEnum1'], + ['parser/parseAlterTableModifyColumnEnum2'], + ['parser/parseAlterTableModifyColumnEnum3'], ['parser/parseAlterWithInvisible'], ['parser/parseAlterTableCharacterSet1'], ['parser/parseAlterTableCharacterSet2'], diff --git a/vendor/phpmyadmin/sql-parser/tests/Parser/SelectStatementTest.php b/vendor/phpmyadmin/sql-parser/tests/Parser/SelectStatementTest.php index 309a6092..f8e290ef 100644 --- a/vendor/phpmyadmin/sql-parser/tests/Parser/SelectStatementTest.php +++ b/vendor/phpmyadmin/sql-parser/tests/Parser/SelectStatementTest.php @@ -46,6 +46,7 @@ class SelectStatementTest extends TestCase ['parser/parseSelect14'], ['parser/parseSelect15'], ['parser/parseSelect16'], + ['parser/parseSelectAggregateWithPartitionAndAlias'], ['parser/parseSelectErr1'], ['parser/parseSelectErr2'], ['parser/parseSelectNested'], @@ -89,6 +90,7 @@ class SelectStatementTest extends TestCase ['parser/parseSelectUnion'], ['parser/parseSelectUnion2'], ['parser/parseSelectWhere'], + ['parser/parseSelectWhereCollate'], ['parser/parseSelectIndexHint1'], ['parser/parseSelectIndexHint2'], ['parser/parseSelectOrderByIsNull'], diff --git a/vendor/phpmyadmin/sql-parser/tests/Parser/SetStatementTest.php b/vendor/phpmyadmin/sql-parser/tests/Parser/SetStatementTest.php index 4fe72c52..e0ce2a42 100644 --- a/vendor/phpmyadmin/sql-parser/tests/Parser/SetStatementTest.php +++ b/vendor/phpmyadmin/sql-parser/tests/Parser/SetStatementTest.php @@ -32,6 +32,7 @@ class SetStatementTest extends TestCase ['parser/parseSetError1'], ['parser/parseInsertIntoSet'], ['parser/parseSetVariable'], + ['parser/parseSetVariable2'], ['parser/parseSetGlobalVariable'], ]; } diff --git a/vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.in b/vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.in new file mode 100644 index 00000000..bef3a359 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.in @@ -0,0 +1 @@ +0X0F \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.out b/vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.out new file mode 100644 index 00000000..085f75e6 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/bugs/gh508.out @@ -0,0 +1,60 @@ +{ + "query": "0X0F", + "lexer": { + "@type": "PhpMyAdmin\\SqlParser\\Lexer", + "str": "0X0F", + "len": 4, + "last": 4, + "list": { + "@type": "PhpMyAdmin\\SqlParser\\TokensList", + "tokens": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "0X0F", + "value": "0X0F", + "keyword": null, + "type": 0, + "flags": 0, + "position": 0 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": null, + "value": null, + "keyword": null, + "type": 9, + "flags": 0, + "position": null + } + ], + "count": 2, + "idx": 2 + }, + "delimiter": ";", + "delimiterLen": 1, + "strict": false, + "errors": [] + }, + "parser": { + "@type": "PhpMyAdmin\\SqlParser\\Parser", + "list": { + "@type": "@1" + }, + "statements": [], + "brackets": 0, + "strict": false, + "errors": [] + }, + "errors": { + "lexer": [], + "parser": [ + [ + "Unexpected beginning of statement.", + { + "@type": "@2" + }, + 0 + ] + ] + } +} \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.in b/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.in index 6fe38851..5751b098 100644 --- a/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.in +++ b/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.in @@ -1,3 +1,3 @@ -SELECT 12, 34, 5.67, 0x89, -10, --11, +12, .15, 0xFFa, 0xfFA, 0XFfA, -0xFFa, -0xfFA, -0XFfA, 1e-10, 1e10, .5e10, b'10'; --- invalid number -SELECT 12ex10, b'15'; \ No newline at end of file +SELECT 12, 34, 5.67, 0x89, -10, --11, +12, .15, 0xFFa, 0xfFA, -0xFFa, -0xfFA, 1e-10, 1e10, .5e10, b'10'; +-- invalid numbers +SELECT 12ex10, b'15', 0XFfA, -0XFfA; \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.out b/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.out index f28612d8..2609bb42 100644 --- a/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.out +++ b/vendor/phpmyadmin/sql-parser/tests/data/lexer/lexNumber.out @@ -1,10 +1,10 @@ { - "query": "SELECT 12, 34, 5.67, 0x89, -10, --11, +12, .15, 0xFFa, 0xfFA, 0XFfA, -0xFFa, -0xfFA, -0XFfA, 1e-10, 1e10, .5e10, b'10';\n-- invalid number\nSELECT 12ex10, b'15';", + "query": "SELECT 12, 34, 5.67, 0x89, -10, --11, +12, .15, 0xFFa, 0xfFA, -0xFFa, -0xfFA, 1e-10, 1e10, .5e10, b'10';\n-- invalid numbers\nSELECT 12ex10, b'15', 0XFfA, -0XFfA;", "lexer": { "@type": "PhpMyAdmin\\SqlParser\\Lexer", - "str": "SELECT 12, 34, 5.67, 0x89, -10, --11, +12, .15, 0xFFa, 0xfFA, 0XFfA, -0xFFa, -0xfFA, -0XFfA, 1e-10, 1e10, .5e10, b'10';\n-- invalid number\nSELECT 12ex10, b'15';", - "len": 159, - "last": 159, + "str": "SELECT 12, 34, 5.67, 0x89, -10, --11, +12, .15, 0xFFa, 0xfFA, -0xFFa, -0xfFA, 1e-10, 1e10, .5e10, b'10';\n-- invalid numbers\nSELECT 12ex10, b'15', 0XFfA, -0XFfA;", + "len": 160, + "last": 160, "list": { "@type": "PhpMyAdmin\\SqlParser\\TokensList", "tokens": [ @@ -298,11 +298,11 @@ }, { "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "0XFfA", - "value": 4090, + "token": "-0xFFa", + "value": -4090, "keyword": null, "type": 6, - "flags": 1, + "flags": 9, "position": 62 }, { @@ -312,35 +312,8 @@ "keyword": null, "type": 2, "flags": 16, - "position": 67 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": " ", - "value": " ", - "keyword": null, - "type": 3, - "flags": 0, "position": 68 }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "-0xFFa", - "value": -4090, - "keyword": null, - "type": 6, - "flags": 9, - "position": 69 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": ",", - "value": ",", - "keyword": null, - "type": 2, - "flags": 16, - "position": 75 - }, { "@type": "PhpMyAdmin\\SqlParser\\Token", "token": " ", @@ -348,7 +321,7 @@ "keyword": null, "type": 3, "flags": 0, - "position": 76 + "position": 69 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -357,8 +330,35 @@ "keyword": null, "type": 6, "flags": 9, + "position": 70 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ",", + "value": ",", + "keyword": null, + "type": 2, + "flags": 16, + "position": 76 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, "position": 77 }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "1e-10", + "value": 1.0e-10, + "keyword": null, + "type": 6, + "flags": 4, + "position": 78 + }, { "@type": "PhpMyAdmin\\SqlParser\\Token", "token": ",", @@ -379,11 +379,11 @@ }, { "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "-0XFfA", - "value": -4090, + "token": "1e10", + "value": 10000000000.0, "keyword": null, "type": 6, - "flags": 9, + "flags": 4, "position": 85 }, { @@ -393,7 +393,7 @@ "keyword": null, "type": 2, "flags": 16, - "position": 91 + "position": 89 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -402,61 +402,7 @@ "keyword": null, "type": 3, "flags": 0, - "position": 92 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "1e-10", - "value": 1.0e-10, - "keyword": null, - "type": 6, - "flags": 4, - "position": 93 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": ",", - "value": ",", - "keyword": null, - "type": 2, - "flags": 16, - "position": 98 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": " ", - "value": " ", - "keyword": null, - "type": 3, - "flags": 0, - "position": 99 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "1e10", - "value": 10000000000.0, - "keyword": null, - "type": 6, - "flags": 4, - "position": 100 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": ",", - "value": ",", - "keyword": null, - "type": 2, - "flags": 16, - "position": 104 - }, - { - "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": " ", - "value": " ", - "keyword": null, - "type": 3, - "flags": 0, - "position": 105 + "position": 90 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -465,7 +411,7 @@ "keyword": null, "type": 6, "flags": 6, - "position": 106 + "position": 91 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -474,7 +420,7 @@ "keyword": null, "type": 2, "flags": 16, - "position": 111 + "position": 96 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -483,7 +429,7 @@ "keyword": null, "type": 3, "flags": 0, - "position": 112 + "position": 97 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -492,7 +438,7 @@ "keyword": null, "type": 6, "flags": 16, - "position": 113 + "position": 98 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -501,7 +447,7 @@ "keyword": null, "type": 9, "flags": 0, - "position": 118 + "position": 103 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -510,16 +456,16 @@ "keyword": null, "type": 3, "flags": 0, - "position": 119 + "position": 104 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "-- invalid number", - "value": "-- invalid number", + "token": "-- invalid numbers", + "value": "-- invalid numbers", "keyword": null, "type": 4, "flags": 4, - "position": 120 + "position": 105 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -528,7 +474,7 @@ "keyword": null, "type": 3, "flags": 0, - "position": 137 + "position": 123 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -537,7 +483,7 @@ "keyword": "SELECT", "type": 1, "flags": 3, - "position": 138 + "position": 124 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -546,7 +492,7 @@ "keyword": null, "type": 3, "flags": 0, - "position": 144 + "position": 130 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -555,8 +501,71 @@ "keyword": null, "type": 0, "flags": 0, + "position": 131 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ",", + "value": ",", + "keyword": null, + "type": 2, + "flags": 16, + "position": 137 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 138 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "b", + "value": "b", + "keyword": null, + "type": 0, + "flags": 0, + "position": 139 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "'15'", + "value": "15", + "keyword": null, + "type": 7, + "flags": 1, + "position": 140 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ",", + "value": ",", + "keyword": null, + "type": 2, + "flags": 16, + "position": 144 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, "position": 145 }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "0XFfA", + "value": "0XFfA", + "keyword": null, + "type": 0, + "flags": 0, + "position": 146 + }, { "@type": "PhpMyAdmin\\SqlParser\\Token", "token": ",", @@ -577,20 +586,20 @@ }, { "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "b", - "value": "b", + "token": "-", + "value": "-", "keyword": null, - "type": 0, - "flags": 0, + "type": 2, + "flags": 1, "position": 153 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", - "token": "'15'", - "value": "15", + "token": "0XFfA", + "value": "0XFfA", "keyword": null, - "type": 7, - "flags": 1, + "type": 0, + "flags": 0, "position": 154 }, { @@ -600,7 +609,7 @@ "keyword": null, "type": 9, "flags": 0, - "position": 158 + "position": 159 }, { "@type": "PhpMyAdmin\\SqlParser\\Token", @@ -612,7 +621,7 @@ "position": null } ], - "count": 67, + "count": 68, "idx": 0 }, "delimiter": ";", diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlter9.out b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlter9.out index 61cb8f4d..18f7e0ca 100644 --- a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlter9.out +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlter9.out @@ -336,18 +336,6 @@ { "@type": "@16" }, - { - "@type": "@17" - }, - { - "@type": "@18" - }, - { - "@type": "@19" - }, - { - "@type": "@20" - }, { "@type": "@21" }, diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.in b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.in new file mode 100644 index 00000000..59e4cc8c --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.in @@ -0,0 +1,2 @@ +-- ENUM with a string that is a database option. +ALTER TABLE `test_table` MODIFY `COL` ENUM("COLLATE") NULL; diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.out b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.out new file mode 100644 index 00000000..9feab1a0 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum1.out @@ -0,0 +1,275 @@ +{ + "query": "-- ENUM with a string that is a database option.\nALTER TABLE `test_table` MODIFY `COL` ENUM(\"COLLATE\") NULL;\n", + "lexer": { + "@type": "PhpMyAdmin\\SqlParser\\Lexer", + "str": "-- ENUM with a string that is a database option.\nALTER TABLE `test_table` MODIFY `COL` ENUM(\"COLLATE\") NULL;\n", + "len": 109, + "last": 109, + "list": { + "@type": "PhpMyAdmin\\SqlParser\\TokensList", + "tokens": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "-- ENUM with a string that is a database option.", + "value": "-- ENUM with a string that is a database option.", + "keyword": null, + "type": 4, + "flags": 4, + "position": 0 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 48 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "ALTER", + "value": "ALTER", + "keyword": "ALTER", + "type": 1, + "flags": 3, + "position": 49 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 54 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "TABLE", + "value": "TABLE", + "keyword": "TABLE", + "type": 1, + "flags": 3, + "position": 55 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 60 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`test_table`", + "value": "test_table", + "keyword": null, + "type": 8, + "flags": 2, + "position": 61 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 73 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "MODIFY", + "value": "MODIFY", + "keyword": "MODIFY", + "type": 1, + "flags": 1, + "position": 74 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 80 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`COL`", + "value": "COL", + "keyword": null, + "type": 8, + "flags": 2, + "position": 81 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 86 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "ENUM", + "value": "ENUM", + "keyword": "ENUM", + "type": 1, + "flags": 9, + "position": 87 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "(", + "value": "(", + "keyword": null, + "type": 2, + "flags": 16, + "position": 91 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\"COLLATE\"", + "value": "COLLATE", + "keyword": null, + "type": 7, + "flags": 2, + "position": 92 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ")", + "value": ")", + "keyword": null, + "type": 2, + "flags": 16, + "position": 101 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 102 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "NULL", + "value": "NULL", + "keyword": "NULL", + "type": 1, + "flags": 3, + "position": 103 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ";", + "value": ";", + "keyword": null, + "type": 9, + "flags": 0, + "position": 107 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 108 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": null, + "value": null, + "keyword": null, + "type": 9, + "flags": 0, + "position": null + } + ], + "count": 21, + "idx": 21 + }, + "delimiter": ";", + "delimiterLen": 1, + "strict": false, + "errors": [] + }, + "parser": { + "@type": "PhpMyAdmin\\SqlParser\\Parser", + "list": { + "@type": "@1" + }, + "statements": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Statements\\AlterStatement", + "table": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": "test_table", + "column": null, + "expr": "`test_table`", + "alias": null, + "function": null, + "subquery": null + }, + "altered": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\AlterOperation", + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": { + "1": "MODIFY" + } + }, + "field": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": null, + "column": "COL", + "expr": "`COL`", + "alias": null, + "function": null, + "subquery": null + }, + "partitions": null, + "unknown": [ + { + "@type": "@14" + }, + { + "@type": "@19" + } + ] + } + ], + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": { + "3": "TABLE" + } + }, + "first": 0, + "last": 18 + } + ], + "brackets": 0, + "strict": false, + "errors": [] + }, + "errors": { + "lexer": [], + "parser": [] + } +} \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.in b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.in new file mode 100644 index 00000000..af5b1fb3 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.in @@ -0,0 +1,2 @@ +-- ENUM with a string that is a table option. +ALTER TABLE `test_table` MODIFY `COL` ENUM("LOCK") NULL; diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.out b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.out new file mode 100644 index 00000000..3fa5eba6 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum2.out @@ -0,0 +1,275 @@ +{ + "query": "-- ENUM with a string that is a table option.\nALTER TABLE `test_table` MODIFY `COL` ENUM(\"LOCK\") NULL;\n", + "lexer": { + "@type": "PhpMyAdmin\\SqlParser\\Lexer", + "str": "-- ENUM with a string that is a table option.\nALTER TABLE `test_table` MODIFY `COL` ENUM(\"LOCK\") NULL;\n", + "len": 103, + "last": 103, + "list": { + "@type": "PhpMyAdmin\\SqlParser\\TokensList", + "tokens": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "-- ENUM with a string that is a table option.", + "value": "-- ENUM with a string that is a table option.", + "keyword": null, + "type": 4, + "flags": 4, + "position": 0 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 45 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "ALTER", + "value": "ALTER", + "keyword": "ALTER", + "type": 1, + "flags": 3, + "position": 46 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 51 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "TABLE", + "value": "TABLE", + "keyword": "TABLE", + "type": 1, + "flags": 3, + "position": 52 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 57 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`test_table`", + "value": "test_table", + "keyword": null, + "type": 8, + "flags": 2, + "position": 58 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 70 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "MODIFY", + "value": "MODIFY", + "keyword": "MODIFY", + "type": 1, + "flags": 1, + "position": 71 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 77 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`COL`", + "value": "COL", + "keyword": null, + "type": 8, + "flags": 2, + "position": 78 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 83 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "ENUM", + "value": "ENUM", + "keyword": "ENUM", + "type": 1, + "flags": 9, + "position": 84 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "(", + "value": "(", + "keyword": null, + "type": 2, + "flags": 16, + "position": 88 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\"LOCK\"", + "value": "LOCK", + "keyword": null, + "type": 7, + "flags": 2, + "position": 89 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ")", + "value": ")", + "keyword": null, + "type": 2, + "flags": 16, + "position": 95 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 96 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "NULL", + "value": "NULL", + "keyword": "NULL", + "type": 1, + "flags": 3, + "position": 97 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ";", + "value": ";", + "keyword": null, + "type": 9, + "flags": 0, + "position": 101 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 102 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": null, + "value": null, + "keyword": null, + "type": 9, + "flags": 0, + "position": null + } + ], + "count": 21, + "idx": 21 + }, + "delimiter": ";", + "delimiterLen": 1, + "strict": false, + "errors": [] + }, + "parser": { + "@type": "PhpMyAdmin\\SqlParser\\Parser", + "list": { + "@type": "@1" + }, + "statements": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Statements\\AlterStatement", + "table": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": "test_table", + "column": null, + "expr": "`test_table`", + "alias": null, + "function": null, + "subquery": null + }, + "altered": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\AlterOperation", + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": { + "1": "MODIFY" + } + }, + "field": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": null, + "column": "COL", + "expr": "`COL`", + "alias": null, + "function": null, + "subquery": null + }, + "partitions": null, + "unknown": [ + { + "@type": "@14" + }, + { + "@type": "@19" + } + ] + } + ], + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": { + "3": "TABLE" + } + }, + "first": 0, + "last": 18 + } + ], + "brackets": 0, + "strict": false, + "errors": [] + }, + "errors": { + "lexer": [], + "parser": [] + } +} \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.in b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.in new file mode 100644 index 00000000..f5e1ca1c --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.in @@ -0,0 +1,2 @@ +-- ENUM with a string that is a statement. +ALTER TABLE `test_table` MODIFY `COL` ENUM("INSERT") NULL; diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.out b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.out new file mode 100644 index 00000000..f24978a5 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseAlterTableModifyColumnEnum3.out @@ -0,0 +1,275 @@ +{ + "query": "-- ENUM with a string that is a statement.\nALTER TABLE `test_table` MODIFY `COL` ENUM(\"INSERT\") NULL;\n", + "lexer": { + "@type": "PhpMyAdmin\\SqlParser\\Lexer", + "str": "-- ENUM with a string that is a statement.\nALTER TABLE `test_table` MODIFY `COL` ENUM(\"INSERT\") NULL;\n", + "len": 102, + "last": 102, + "list": { + "@type": "PhpMyAdmin\\SqlParser\\TokensList", + "tokens": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "-- ENUM with a string that is a statement.", + "value": "-- ENUM with a string that is a statement.", + "keyword": null, + "type": 4, + "flags": 4, + "position": 0 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 42 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "ALTER", + "value": "ALTER", + "keyword": "ALTER", + "type": 1, + "flags": 3, + "position": 43 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 48 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "TABLE", + "value": "TABLE", + "keyword": "TABLE", + "type": 1, + "flags": 3, + "position": 49 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 54 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`test_table`", + "value": "test_table", + "keyword": null, + "type": 8, + "flags": 2, + "position": 55 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 67 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "MODIFY", + "value": "MODIFY", + "keyword": "MODIFY", + "type": 1, + "flags": 1, + "position": 68 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 74 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`COL`", + "value": "COL", + "keyword": null, + "type": 8, + "flags": 2, + "position": 75 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 80 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "ENUM", + "value": "ENUM", + "keyword": "ENUM", + "type": 1, + "flags": 9, + "position": 81 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "(", + "value": "(", + "keyword": null, + "type": 2, + "flags": 16, + "position": 85 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\"INSERT\"", + "value": "INSERT", + "keyword": null, + "type": 7, + "flags": 2, + "position": 86 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ")", + "value": ")", + "keyword": null, + "type": 2, + "flags": 16, + "position": 94 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 95 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "NULL", + "value": "NULL", + "keyword": "NULL", + "type": 1, + "flags": 3, + "position": 96 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ";", + "value": ";", + "keyword": null, + "type": 9, + "flags": 0, + "position": 100 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 101 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": null, + "value": null, + "keyword": null, + "type": 9, + "flags": 0, + "position": null + } + ], + "count": 21, + "idx": 21 + }, + "delimiter": ";", + "delimiterLen": 1, + "strict": false, + "errors": [] + }, + "parser": { + "@type": "PhpMyAdmin\\SqlParser\\Parser", + "list": { + "@type": "@1" + }, + "statements": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Statements\\AlterStatement", + "table": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": "test_table", + "column": null, + "expr": "`test_table`", + "alias": null, + "function": null, + "subquery": null + }, + "altered": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\AlterOperation", + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": { + "1": "MODIFY" + } + }, + "field": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": null, + "column": "COL", + "expr": "`COL`", + "alias": null, + "function": null, + "subquery": null + }, + "partitions": null, + "unknown": [ + { + "@type": "@14" + }, + { + "@type": "@19" + } + ] + } + ], + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": { + "3": "TABLE" + } + }, + "first": 0, + "last": 18 + } + ], + "brackets": 0, + "strict": false, + "errors": [] + }, + "errors": { + "lexer": [], + "parser": [] + } +} \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.in b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.in new file mode 100644 index 00000000..56d4b523 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.in @@ -0,0 +1 @@ +SELECT *, COUNT(*) OVER(PARTITION BY `REGION`) AS "count(REGION)" FROM `world_borders` diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.out b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.out new file mode 100644 index 00000000..3fcc0454 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectAggregateWithPartitionAndAlias.out @@ -0,0 +1,325 @@ +{ + "query": "SELECT *, COUNT(*) OVER(PARTITION BY `REGION`) AS \"count(REGION)\" FROM `world_borders`\n", + "lexer": { + "@type": "PhpMyAdmin\\SqlParser\\Lexer", + "str": "SELECT *, COUNT(*) OVER(PARTITION BY `REGION`) AS \"count(REGION)\" FROM `world_borders`\n", + "len": 87, + "last": 87, + "list": { + "@type": "PhpMyAdmin\\SqlParser\\TokensList", + "tokens": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "SELECT", + "value": "SELECT", + "keyword": "SELECT", + "type": 1, + "flags": 3, + "position": 0 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 6 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "*", + "value": "*", + "keyword": null, + "type": 2, + "flags": 16, + "position": 7 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ",", + "value": ",", + "keyword": null, + "type": 2, + "flags": 16, + "position": 8 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 9 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "COUNT", + "value": "COUNT", + "keyword": "COUNT", + "type": 1, + "flags": 33, + "position": 10 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "(", + "value": "(", + "keyword": null, + "type": 2, + "flags": 16, + "position": 15 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "*", + "value": "*", + "keyword": null, + "type": 2, + "flags": 16, + "position": 16 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ")", + "value": ")", + "keyword": null, + "type": 2, + "flags": 16, + "position": 17 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 18 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "OVER", + "value": "OVER", + "keyword": null, + "type": 0, + "flags": 0, + "position": 19 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "(", + "value": "(", + "keyword": null, + "type": 2, + "flags": 16, + "position": 23 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "PARTITION BY", + "value": "PARTITION BY", + "keyword": "PARTITION BY", + "type": 1, + "flags": 7, + "position": 24 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 36 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`REGION`", + "value": "REGION", + "keyword": null, + "type": 8, + "flags": 2, + "position": 37 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ")", + "value": ")", + "keyword": null, + "type": 2, + "flags": 16, + "position": 45 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 46 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "AS", + "value": "AS", + "keyword": "AS", + "type": 1, + "flags": 3, + "position": 47 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 49 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\"count(REGION)\"", + "value": "count(REGION)", + "keyword": null, + "type": 7, + "flags": 2, + "position": 50 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 65 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "FROM", + "value": "FROM", + "keyword": "FROM", + "type": 1, + "flags": 3, + "position": 66 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 70 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "`world_borders`", + "value": "world_borders", + "keyword": null, + "type": 8, + "flags": 2, + "position": 71 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 86 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": null, + "value": null, + "keyword": null, + "type": 9, + "flags": 0, + "position": null + } + ], + "count": 26, + "idx": 26 + }, + "delimiter": ";", + "delimiterLen": 1, + "strict": false, + "errors": [] + }, + "parser": { + "@type": "PhpMyAdmin\\SqlParser\\Parser", + "list": { + "@type": "@1" + }, + "statements": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Statements\\SelectStatement", + "expr": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": null, + "column": null, + "expr": "*", + "alias": null, + "function": null, + "subquery": null + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": null, + "column": null, + "expr": "COUNT(*) OVER(PARTITION BY `REGION`)", + "alias": "count(REGION)", + "function": "COUNT", + "subquery": null + } + ], + "from": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": "world_borders", + "column": null, + "expr": "`world_borders`", + "alias": null, + "function": null, + "subquery": null + } + ], + "index_hints": null, + "partition": null, + "where": null, + "group": null, + "group_options": null, + "having": null, + "order": null, + "limit": null, + "procedure": null, + "into": null, + "join": null, + "union": [], + "end_options": null, + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": [] + }, + "first": 0, + "last": 24 + } + ], + "brackets": 0, + "strict": false, + "errors": [] + }, + "errors": { + "lexer": [], + "parser": [] + } +} \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.in b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.in new file mode 100644 index 00000000..a1c97b9a --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.in @@ -0,0 +1 @@ +SELECT 1 FROM my_table WHERE first_col = 'foo' AND second_col COLLATE utf8_bin = 'bar'; \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.out b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.out new file mode 100644 index 00000000..7e3fd10b --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSelectWhereCollate.out @@ -0,0 +1,368 @@ +{ + "query": "SELECT 1 FROM my_table WHERE first_col = 'foo' AND second_col COLLATE utf8_bin = 'bar';", + "lexer": { + "@type": "PhpMyAdmin\\SqlParser\\Lexer", + "str": "SELECT 1 FROM my_table WHERE first_col = 'foo' AND second_col COLLATE utf8_bin = 'bar';", + "len": 96, + "last": 96, + "list": { + "@type": "PhpMyAdmin\\SqlParser\\TokensList", + "tokens": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "SELECT", + "value": "SELECT", + "keyword": "SELECT", + "type": 1, + "flags": 3, + "position": 0 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 6 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "1", + "value": 1, + "keyword": null, + "type": 6, + "flags": 0, + "position": 8 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 9 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "FROM", + "value": "FROM", + "keyword": "FROM", + "type": 1, + "flags": 3, + "position": 10 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 14 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "my_table", + "value": "my_table", + "keyword": null, + "type": 0, + "flags": 0, + "position": 17 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 25 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "WHERE", + "value": "WHERE", + "keyword": "WHERE", + "type": 1, + "flags": 3, + "position": 26 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 31 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "first_col", + "value": "first_col", + "keyword": null, + "type": 0, + "flags": 0, + "position": 34 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 43 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "=", + "value": "=", + "keyword": null, + "type": 2, + "flags": 2, + "position": 44 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 45 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "'foo'", + "value": "foo", + "keyword": null, + "type": 7, + "flags": 1, + "position": 46 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 51 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "AND", + "value": "AND", + "keyword": "AND", + "type": 1, + "flags": 3, + "position": 52 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 55 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "second_col", + "value": "second_col", + "keyword": null, + "type": 0, + "flags": 0, + "position": 60 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 70 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "COLLATE", + "value": "COLLATE", + "keyword": "COLLATE", + "type": 1, + "flags": 3, + "position": 71 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 78 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "utf8_bin", + "value": "utf8_bin", + "keyword": null, + "type": 0, + "flags": 0, + "position": 79 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 87 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "=", + "value": "=", + "keyword": null, + "type": 2, + "flags": 2, + "position": 88 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 89 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "'bar'", + "value": "bar", + "keyword": null, + "type": 7, + "flags": 1, + "position": 90 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ";", + "value": ";", + "keyword": null, + "type": 9, + "flags": 0, + "position": 95 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": null, + "value": null, + "keyword": null, + "type": 9, + "flags": 0, + "position": null + } + ], + "count": 29, + "idx": 29 + }, + "delimiter": ";", + "delimiterLen": 1, + "strict": false, + "errors": [] + }, + "parser": { + "@type": "PhpMyAdmin\\SqlParser\\Parser", + "list": { + "@type": "@1" + }, + "statements": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Statements\\SelectStatement", + "expr": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": null, + "column": null, + "expr": "1", + "alias": null, + "function": null, + "subquery": null + } + ], + "from": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Expression", + "database": null, + "table": "my_table", + "column": null, + "expr": "my_table", + "alias": null, + "function": null, + "subquery": null + } + ], + "index_hints": null, + "partition": null, + "where": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Condition", + "identifiers": [ + "first_col", + "foo" + ], + "isOperator": false, + "expr": "first_col = 'foo'" + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Condition", + "identifiers": [], + "isOperator": true, + "expr": "AND" + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\Condition", + "identifiers": [ + "second_col", + "utf8_bin", + "bar" + ], + "isOperator": false, + "expr": "second_col COLLATE utf8_bin = 'bar'" + } + ], + "group": null, + "group_options": null, + "having": null, + "order": null, + "limit": null, + "procedure": null, + "into": null, + "join": null, + "union": [], + "end_options": null, + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": [] + }, + "first": 0, + "last": 26 + } + ], + "brackets": 0, + "strict": false, + "errors": [] + }, + "errors": { + "lexer": [], + "parser": [] + } +} \ No newline at end of file diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.in b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.in new file mode 100644 index 00000000..a1e851a2 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.in @@ -0,0 +1 @@ +SET @foo := 1 diff --git a/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.out b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.out new file mode 100644 index 00000000..73d10f04 --- /dev/null +++ b/vendor/phpmyadmin/sql-parser/tests/data/parser/parseSetVariable2.out @@ -0,0 +1,133 @@ +{ + "query": "SET @foo := 1\n", + "lexer": { + "@type": "PhpMyAdmin\\SqlParser\\Lexer", + "str": "SET @foo := 1\n", + "len": 14, + "last": 14, + "list": { + "@type": "PhpMyAdmin\\SqlParser\\TokensList", + "tokens": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "SET", + "value": "SET", + "keyword": "SET", + "type": 1, + "flags": 11, + "position": 0 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 3 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "@foo", + "value": "foo", + "keyword": null, + "type": 8, + "flags": 1, + "position": 4 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 8 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": ":=", + "value": ":=", + "keyword": null, + "type": 2, + "flags": 8, + "position": 9 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": " ", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 11 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "1", + "value": 1, + "keyword": null, + "type": 6, + "flags": 0, + "position": 12 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": "\n", + "value": " ", + "keyword": null, + "type": 3, + "flags": 0, + "position": 13 + }, + { + "@type": "PhpMyAdmin\\SqlParser\\Token", + "token": null, + "value": null, + "keyword": null, + "type": 9, + "flags": 0, + "position": null + } + ], + "count": 9, + "idx": 9 + }, + "delimiter": ";", + "delimiterLen": 1, + "strict": false, + "errors": [] + }, + "parser": { + "@type": "PhpMyAdmin\\SqlParser\\Parser", + "list": { + "@type": "@1" + }, + "statements": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Statements\\SetStatement", + "options": { + "@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray", + "options": [] + }, + "end_options": null, + "set": [ + { + "@type": "PhpMyAdmin\\SqlParser\\Components\\SetOperation", + "column": "@foo", + "value": "1" + } + ], + "first": 0, + "last": 7 + } + ], + "brackets": 0, + "strict": false, + "errors": [] + }, + "errors": { + "lexer": [], + "parser": [] + } +} \ No newline at end of file diff --git a/vendor/stella-maris/clock/.editorconfig b/vendor/stella-maris/clock/.editorconfig deleted file mode 100644 index 9cf4437d..00000000 --- a/vendor/stella-maris/clock/.editorconfig +++ /dev/null @@ -1,15 +0,0 @@ -root = true - -[*] -trim_trailing_whitespace = true -indent_size = tab -indent_style = tab -tab_width = 4 -end_of_line = lf -insert_final_newline = true -max_line_length = off -charset = utf-8 - -[*.{yml,yaml}] -tab_width = 2 - diff --git a/vendor/stella-maris/clock/LICENSE.md b/vendor/stella-maris/clock/LICENSE.md deleted file mode 100644 index 51aa800b..00000000 --- a/vendor/stella-maris/clock/LICENSE.md +++ /dev/null @@ -1,9 +0,0 @@ - - -Copyright Andreas Heigl and ClockInterfaceContributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/vendor/stella-maris/clock/README.md b/vendor/stella-maris/clock/README.md deleted file mode 100644 index 063e5564..00000000 --- a/vendor/stella-maris/clock/README.md +++ /dev/null @@ -1,66 +0,0 @@ -# Clock - -An implementation of the proposed PSR-20 clock-interface - -[![Total Downloads](http://poser.pugx.org/stella-maris/clock/downloads)](https://packagist.org/packages/stella-maris/clock) -[![Latest Stable Version](http://poser.pugx.org/stella-maris/clock/v)](https://packagist.org/packages/stella-maris/clock) -[![Latest Unstable Version](http://poser.pugx.org/stella-maris/clock/v/unstable)](https://packagist.org/packages/stella-maris/clock) - -[![pipeline status](https://gitlab.com/stella-maris/clock/badges/main/pipeline.svg)](https://gitlab.com/stella-maris/clock/-/commits/main) - -## Installation - -```bash -composer require stella-maris/clock -``` - -## Usage - -This interface allows one to inject one of the implemntations that provide the -clock-interface. - -```php -use StellaMaris/Clock/CLockInterface; - -final class PastChecker -{ - public function __construct(private ClockInterface $clock) {} - - public function hasDateTimeAlreadyPassed(DateTimeImmutable $item): bool - { - return $item < $this->clock->now(); - } -} -``` - -## Why - -Within the Framework Interoperability Group (FIG) a working group has started in 2021 to -create a ClockInterface. The works on that have been rather fast and already in the mid of -2021 the interface was more or less finally decided upon. - -### So why this Interface? - -Since mid 2021 no further work has been happening on the Working Group. All requests towards -the editor and the sponsor weren't met with any reaction. - -So after a lot of discussions on the official working group channel I decided to bring this -interface forward by providing the currently agreed upon interface as a separate package -on packagist. - -### But what when the PSR Interface is provided? - -There are two possibilities: -* Either the interface will be provided by the FIG as it is currently, -then this interface will extend the PSR-20 one so that all implementations of this -interface will be immediately PSR20 compatible. -* Or the PSR20 interface will look different: Then all current implementations will -need to provide a spearate implementation for PSR20 compatibility and this interface will -simply coexist with the PSR20 one. - -## Documentation - -For a more thorough information about the interface please check the PSR-20 documentation -at https://github.com/php-fig/fig-standards/blob/master/proposed/clock.md and -https://github.com/php-fig/fig-standards/blob/master/proposed/clock-meta.md - diff --git a/vendor/stella-maris/clock/composer.json b/vendor/stella-maris/clock/composer.json deleted file mode 100644 index 30a5cbaa..00000000 --- a/vendor/stella-maris/clock/composer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "stella-maris/clock", - "description": "A pre-release of the proposed PSR-20 Clock-Interface", - "keywords": [ - "clock", - "psr20", - "datetime", - "point in time" - ], - "homepage": "https://gitlab.com/stella-maris/clock", - "license": "MIT", - "authors": [ - { - "name": "Andreas Heigl", - "role": "Maintainer" - } - ], - "require": { - "php": "^7.0|^8.0", - "psr/clock": "^1.0" - }, - "autoload": { - "psr-4": { - "StellaMaris\\Clock\\": "src" - } - } -} diff --git a/vendor/stella-maris/clock/src/ClockInterface.php b/vendor/stella-maris/clock/src/ClockInterface.php deleted file mode 100644 index c310273a..00000000 --- a/vendor/stella-maris/clock/src/ClockInterface.php +++ /dev/null @@ -1,15 +0,0 @@ - - * - * Licenses under the MIT-license. For details see the included file LICENSE.md - */ - -namespace StellaMaris\Clock; - -use DateTimeImmutable; -use Psr\Clock\ClockInterface as PsrClockInterface; - -interface ClockInterface extends PsrClockInterface -{ -}