aboutsummaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-05-07 10:41:57 +0200
committerMario Vavti <mario@mariovavti.com>2023-05-07 10:41:57 +0200
commitf884e31d212e51b6851a76fea9a5f276eb50ebeb (patch)
treeeea5ade38145e6f93608778a3514fc13d4a15ab8 /vendor
parent7185780d4e27ce1842a035c83604b4226d725392 (diff)
downloadvolse-hubzilla-f884e31d212e51b6851a76fea9a5f276eb50ebeb.tar.gz
volse-hubzilla-f884e31d212e51b6851a76fea9a5f276eb50ebeb.tar.bz2
volse-hubzilla-f884e31d212e51b6851a76fea9a5f276eb50ebeb.zip
composer autoload
Diffstat (limited to 'vendor')
-rw-r--r--vendor/composer/ClassLoader.php12
-rw-r--r--vendor/composer/autoload_classmap.php2
-rw-r--r--vendor/composer/autoload_real.php6
-rw-r--r--vendor/composer/autoload_static.php2
4 files changed, 9 insertions, 13 deletions
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php
index a72151c77..fd56bd7d8 100644
--- a/vendor/composer/ClassLoader.php
+++ b/vendor/composer/ClassLoader.php
@@ -429,8 +429,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- $includeFile = self::$includeFile;
- $includeFile($file);
+ (self::$includeFile)($file);
return true;
}
@@ -561,10 +560,7 @@ class ClassLoader
return false;
}
- /**
- * @return void
- */
- private static function initializeIncludeClosure()
+ private static function initializeIncludeClosure(): void
{
if (self::$includeFile !== null) {
return;
@@ -578,8 +574,8 @@ class ClassLoader
* @param string $file
* @return void
*/
- self::$includeFile = \Closure::bind(static function($file) {
+ self::$includeFile = static function($file) {
include $file;
- }, null, null);
+ };
}
}
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
index 5068fa432..052a364b1 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -1220,7 +1220,6 @@ return array(
'Zotlabs\\Lib\\Libzotdir' => $baseDir . '/Zotlabs/Lib/Libzotdir.php',
'Zotlabs\\Lib\\MarkdownSoap' => $baseDir . '/Zotlabs/Lib/MarkdownSoap.php',
'Zotlabs\\Lib\\MessageFilter' => $baseDir . '/Zotlabs/Lib/MessageFilter.php',
- 'Zotlabs\\Lib\\ObjCache' => $baseDir . '/Zotlabs/Lib/ObjCache.php',
'Zotlabs\\Lib\\PConfig' => $baseDir . '/Zotlabs/Lib/PConfig.php',
'Zotlabs\\Lib\\Permcat' => $baseDir . '/Zotlabs/Lib/Permcat.php',
'Zotlabs\\Lib\\PermissionDescription' => $baseDir . '/Zotlabs/Lib/PermissionDescription.php',
@@ -1742,6 +1741,7 @@ return array(
'Zotlabs\\Update\\_1255' => $baseDir . '/Zotlabs/Update/_1255.php',
'Zotlabs\\Update\\_1256' => $baseDir . '/Zotlabs/Update/_1256.php',
'Zotlabs\\Update\\_1257' => $baseDir . '/Zotlabs/Update/_1257.php',
+ 'Zotlabs\\Update\\_1258' => $baseDir . '/Zotlabs/Update/_1258.php',
'Zotlabs\\Web\\Controller' => $baseDir . '/Zotlabs/Web/Controller.php',
'Zotlabs\\Web\\HTTPHeaders' => $baseDir . '/Zotlabs/Web/HTTPHeaders.php',
'Zotlabs\\Web\\HTTPSig' => $baseDir . '/Zotlabs/Web/HTTPSig.php',
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php
index 655b7a2af..16298a0b9 100644
--- a/vendor/composer/autoload_real.php
+++ b/vendor/composer/autoload_real.php
@@ -38,15 +38,15 @@ class ComposerAutoloaderInit7b34d7e50a62201ec5d5e526a5b8b35d
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit7b34d7e50a62201ec5d5e526a5b8b35d::$files;
- $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
+ $requireFile = 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);
+ ($requireFile)($fileIdentifier, $file);
}
return $loader;
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index 4b9c6e122..5b8d7310a 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -1457,7 +1457,6 @@ class ComposerStaticInit7b34d7e50a62201ec5d5e526a5b8b35d
'Zotlabs\\Lib\\Libzotdir' => __DIR__ . '/../..' . '/Zotlabs/Lib/Libzotdir.php',
'Zotlabs\\Lib\\MarkdownSoap' => __DIR__ . '/../..' . '/Zotlabs/Lib/MarkdownSoap.php',
'Zotlabs\\Lib\\MessageFilter' => __DIR__ . '/../..' . '/Zotlabs/Lib/MessageFilter.php',
- 'Zotlabs\\Lib\\ObjCache' => __DIR__ . '/../..' . '/Zotlabs/Lib/ObjCache.php',
'Zotlabs\\Lib\\PConfig' => __DIR__ . '/../..' . '/Zotlabs/Lib/PConfig.php',
'Zotlabs\\Lib\\Permcat' => __DIR__ . '/../..' . '/Zotlabs/Lib/Permcat.php',
'Zotlabs\\Lib\\PermissionDescription' => __DIR__ . '/../..' . '/Zotlabs/Lib/PermissionDescription.php',
@@ -1979,6 +1978,7 @@ class ComposerStaticInit7b34d7e50a62201ec5d5e526a5b8b35d
'Zotlabs\\Update\\_1255' => __DIR__ . '/../..' . '/Zotlabs/Update/_1255.php',
'Zotlabs\\Update\\_1256' => __DIR__ . '/../..' . '/Zotlabs/Update/_1256.php',
'Zotlabs\\Update\\_1257' => __DIR__ . '/../..' . '/Zotlabs/Update/_1257.php',
+ 'Zotlabs\\Update\\_1258' => __DIR__ . '/../..' . '/Zotlabs/Update/_1258.php',
'Zotlabs\\Web\\Controller' => __DIR__ . '/../..' . '/Zotlabs/Web/Controller.php',
'Zotlabs\\Web\\HTTPHeaders' => __DIR__ . '/../..' . '/Zotlabs/Web/HTTPHeaders.php',
'Zotlabs\\Web\\HTTPSig' => __DIR__ . '/../..' . '/Zotlabs/Web/HTTPSig.php',