Skip to content

Commit

Permalink
Merge pull request #255 from mzur/patch-1
Browse files Browse the repository at this point in the history
Fix installation with composer-installer
  • Loading branch information
mzur authored Feb 19, 2024
2 parents 526040f + 6e7222b commit bd383fc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit979ccd9ac382cfbe433fc1293b41c6ce::getLoader();
return ComposerAutoloaderInitac8e69d9cf6ef1059b95e61e3ac5a86f::getLoader();
14 changes: 7 additions & 7 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit979ccd9ac382cfbe433fc1293b41c6ce
class ComposerAutoloaderInitac8e69d9cf6ef1059b95e61e3ac5a86f
{
private static $loader;

Expand All @@ -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;
Expand All @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit979ccd9ac382cfbe433fc1293b41c6ce
class ComposerStaticInitac8e69d9cf6ef1059b95e61e3ac5a86f
{
public static $files = array (
'e862d9fce5eaa28c798b151ac7fc8bc6' => __DIR__ . '/..' . '/mzur/kirby-flash/src/helpers.php',
Expand Down Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '870a66e1c41f9c776d4725a01f1769a846075a4e',
'reference' => '81e8166caef0be74996ae097d08cc2e262b32ffd',
'name' => 'mzur/kirby-uniform',
'dev' => false,
),
Expand Down Expand Up @@ -43,7 +43,7 @@
'type' => 'kirby-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'reference' => '870a66e1c41f9c776d4725a01f1769a846075a4e',
'reference' => '81e8166caef0be74996ae097d08cc2e262b32ffd',
'dev_requirement' => false,
),
),
Expand Down

0 comments on commit bd383fc

Please sign in to comment.