From 6e7222bb0cc2ee96c22c4efadb0c53e8ac6f3cb3 Mon Sep 17 00:00:00 2001 From: Martin Zurowietz Date: Fri, 3 Nov 2023 21:01:19 +0100 Subject: [PATCH] Fix installation with composer-installer --- composer.json | 3 ++- vendor/autoload.php | 2 +- vendor/composer/autoload_real.php | 14 +++++++------- vendor/composer/autoload_static.php | 8 ++++---- vendor/composer/installed.php | 4 ++-- 5 files changed, 16 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index aedb54e..6e76ec2 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,8 @@ "docs": "http://kirby-uniform.readthedocs.io" }, "require": { - "mzur/kirby-form": "^3.0" + "mzur/kirby-form": "^3.0", + "getkirby/composer-installer": "^1.2" }, "require-dev": { "phpunit/phpunit": "^9.0", diff --git a/vendor/autoload.php b/vendor/autoload.php index b0ba8ca..c3b9c04 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -9,4 +9,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit979ccd9ac382cfbe433fc1293b41c6ce::getLoader(); +return ComposerAutoloaderInitac8e69d9cf6ef1059b95e61e3ac5a86f::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 905387e..eb0cfe4 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit979ccd9ac382cfbe433fc1293b41c6ce +class ComposerAutoloaderInitac8e69d9cf6ef1059b95e61e3ac5a86f { private static $loader; @@ -22,18 +22,18 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit979ccd9ac382cfbe433fc1293b41c6ce', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitac8e69d9cf6ef1059b95e61e3ac5a86f', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit979ccd9ac382cfbe433fc1293b41c6ce', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitac8e69d9cf6ef1059b95e61e3ac5a86f', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitac8e69d9cf6ef1059b95e61e3ac5a86f::getInitializer($loader)); $loader->register(true); - $includeFiles = \Composer\Autoload\ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce::$files; + $includeFiles = \Composer\Autoload\ComposerStaticInitac8e69d9cf6ef1059b95e61e3ac5a86f::$files; foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire979ccd9ac382cfbe433fc1293b41c6ce($fileIdentifier, $file); + composerRequireac8e69d9cf6ef1059b95e61e3ac5a86f($fileIdentifier, $file); } return $loader; @@ -45,7 +45,7 @@ public static function getLoader() * @param string $file * @return void */ -function composerRequire979ccd9ac382cfbe433fc1293b41c6ce($fileIdentifier, $file) +function composerRequireac8e69d9cf6ef1059b95e61e3ac5a86f($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index fb57733..78f804d 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce +class ComposerStaticInitac8e69d9cf6ef1059b95e61e3ac5a86f { public static $files = array ( 'e862d9fce5eaa28c798b151ac7fc8bc6' => __DIR__ . '/..' . '/mzur/kirby-flash/src/helpers.php', @@ -77,9 +77,9 @@ class ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitac8e69d9cf6ef1059b95e61e3ac5a86f::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitac8e69d9cf6ef1059b95e61e3ac5a86f::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitac8e69d9cf6ef1059b95e61e3ac5a86f::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index c5f0bf0..8e4cad1 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -5,7 +5,7 @@ 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '870a66e1c41f9c776d4725a01f1769a846075a4e', + 'reference' => '81e8166caef0be74996ae097d08cc2e262b32ffd', 'name' => 'mzur/kirby-uniform', 'dev' => false, ), @@ -43,7 +43,7 @@ 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '870a66e1c41f9c776d4725a01f1769a846075a4e', + 'reference' => '81e8166caef0be74996ae097d08cc2e262b32ffd', 'dev_requirement' => false, ), ),