From 0fd990a2b5bd6d25defc790b6ed48db173c292bc Mon Sep 17 00:00:00 2001 From: danpros Date: Tue, 28 May 2024 10:48:31 +0700 Subject: [PATCH] Change PHP version --- composer.json | 2 +- composer.lock | 4 ++-- system/vendor/composer/autoload_classmap.php | 1 + system/vendor/composer/autoload_real.php | 2 -- system/vendor/composer/autoload_static.php | 1 + 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 79148ec5..6394dcba 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "vendor-dir": "system/vendor/", "optimize-autoloader": true, "platform": { - "php": "8.1" + "php": "7.2" } }, "require": { diff --git a/composer.lock b/composer.lock index 20e88e99..dfd36fe7 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "efadd4c9da9b1a72ba66914255b2b943", + "content-hash": "2628919cda4d7c16d0e4281811334ad7", "packages": [ { "name": "bacon/bacon-qr-code", @@ -712,7 +712,7 @@ "platform": [], "platform-dev": [], "platform-overrides": { - "php": "8.1" + "php": "7.2" }, "plugin-api-version": "2.6.0" } diff --git a/system/vendor/composer/autoload_classmap.php b/system/vendor/composer/autoload_classmap.php index 1db71a54..6417f5d9 100644 --- a/system/vendor/composer/autoload_classmap.php +++ b/system/vendor/composer/autoload_classmap.php @@ -81,6 +81,7 @@ 'DASPRiD\\Enum\\Exception\\UnserializeNotSupportedException' => $vendorDir . '/dasprid/enum/src/Exception/UnserializeNotSupportedException.php', 'DASPRiD\\Enum\\NullValue' => $vendorDir . '/dasprid/enum/src/NullValue.php', 'Kanti\\CacheOneFile' => $vendorDir . '/kanti/hub-updater/src/CacheOneFile.php', + 'Kanti\\HelperClass' => $vendorDir . '/kanti/hub-updater/src/HelperClass.php', 'Kanti\\HubUpdater' => $vendorDir . '/kanti/hub-updater/src/HubUpdater.php', 'Michelf\\Markdown' => $vendorDir . '/michelf/php-markdown/Michelf/Markdown.php', 'Michelf\\MarkdownExtra' => $vendorDir . '/michelf/php-markdown/Michelf/MarkdownExtra.php', diff --git a/system/vendor/composer/autoload_real.php b/system/vendor/composer/autoload_real.php index efcb2327..314de605 100644 --- a/system/vendor/composer/autoload_real.php +++ b/system/vendor/composer/autoload_real.php @@ -22,8 +22,6 @@ public static function getLoader() return self::$loader; } - require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInitd88c6c25320034df85dd42f1462fbda7', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); spl_autoload_unregister(array('ComposerAutoloaderInitd88c6c25320034df85dd42f1462fbda7', 'loadClassLoader')); diff --git a/system/vendor/composer/autoload_static.php b/system/vendor/composer/autoload_static.php index e3dc4827..6baf1801 100644 --- a/system/vendor/composer/autoload_static.php +++ b/system/vendor/composer/autoload_static.php @@ -176,6 +176,7 @@ class ComposerStaticInitd88c6c25320034df85dd42f1462fbda7 'DASPRiD\\Enum\\Exception\\UnserializeNotSupportedException' => __DIR__ . '/..' . '/dasprid/enum/src/Exception/UnserializeNotSupportedException.php', 'DASPRiD\\Enum\\NullValue' => __DIR__ . '/..' . '/dasprid/enum/src/NullValue.php', 'Kanti\\CacheOneFile' => __DIR__ . '/..' . '/kanti/hub-updater/src/CacheOneFile.php', + 'Kanti\\HelperClass' => __DIR__ . '/..' . '/kanti/hub-updater/src/HelperClass.php', 'Kanti\\HubUpdater' => __DIR__ . '/..' . '/kanti/hub-updater/src/HubUpdater.php', 'Michelf\\Markdown' => __DIR__ . '/..' . '/michelf/php-markdown/Michelf/Markdown.php', 'Michelf\\MarkdownExtra' => __DIR__ . '/..' . '/michelf/php-markdown/Michelf/MarkdownExtra.php',