diff options
Diffstat (limited to 'vendor/composer')
-rw-r--r-- | vendor/composer/ClassLoader.php | 36 | ||||
-rw-r--r-- | vendor/composer/installed.json | 14 | ||||
-rw-r--r-- | vendor/composer/installed.php | 12 |
3 files changed, 35 insertions, 27 deletions
diff --git a/vendor/composer/ClassLoader.php b/vendor/composer/ClassLoader.php index 3a8ed4886..fd56bd7d8 100644 --- a/vendor/composer/ClassLoader.php +++ b/vendor/composer/ClassLoader.php @@ -43,7 +43,7 @@ namespace Composer\Autoload; class ClassLoader { /** @var \Closure(string):void */ - private $includeFile; + private static $includeFile; /** @var ?string */ private $vendorDir; @@ -109,18 +109,7 @@ class ClassLoader public function __construct($vendorDir = null) { $this->vendorDir = $vendorDir; - - /** - * Scope isolated include. - * - * Prevents access to $this/self from included files. - * - * @param string $file - * @return void - */ - $this->includeFile = static function($file) { - include $file; - }; + self::initializeIncludeClosure(); } /** @@ -440,7 +429,7 @@ class ClassLoader public function loadClass($class) { if ($file = $this->findFile($class)) { - ($this->includeFile)($file); + (self::$includeFile)($file); return true; } @@ -570,4 +559,23 @@ class ClassLoader return false; } + + private static function initializeIncludeClosure(): void + { + if (self::$includeFile !== null) { + return; + } + + /** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * @return void + */ + self::$includeFile = static function($file) { + include $file; + }; + } } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 97833cf60..192bef226 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -1717,23 +1717,23 @@ }, { "name": "twbs/bootstrap", - "version": "v5.2.2", - "version_normalized": "5.2.2.0", + "version": "v5.3.0-alpha1", + "version_normalized": "5.3.0.0-alpha1", "source": { "type": "git", "url": "https://github.com/twbs/bootstrap.git", - "reference": "961d5ff9844372a4e294980c667bbe7e0651cdeb" + "reference": "cf9454caa00872899215603e5e036d9a824b1b11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twbs/bootstrap/zipball/961d5ff9844372a4e294980c667bbe7e0651cdeb", - "reference": "961d5ff9844372a4e294980c667bbe7e0651cdeb", + "url": "https://api.github.com/repos/twbs/bootstrap/zipball/cf9454caa00872899215603e5e036d9a824b1b11", + "reference": "cf9454caa00872899215603e5e036d9a824b1b11", "shasum": "" }, "replace": { "twitter/bootstrap": "self.version" }, - "time": "2022-10-03T07:44:02+00:00", + "time": "2022-12-24T16:37:22+00:00", "type": "library", "installation-source": "dist", "notification-url": "https://packagist.org/downloads/", @@ -1764,7 +1764,7 @@ ], "support": { "issues": "https://github.com/twbs/bootstrap/issues", - "source": "https://github.com/twbs/bootstrap/tree/v5.2.2" + "source": "https://github.com/twbs/bootstrap/tree/v5.3.0-alpha1" }, "install-path": "../twbs/bootstrap" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index fdcb79777..b4f625ea4 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'zotlabs/hubzilla', 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'e1f9b1c47d8f3ed3400465ec279e894a0d9255c5', + 'reference' => 'cd9f35e78ae116e28de6ac4ce89fe94cde9a9928', 'type' => 'application', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -233,9 +233,9 @@ 'dev_requirement' => false, ), 'twbs/bootstrap' => array( - 'pretty_version' => 'v5.2.2', - 'version' => '5.2.2.0', - 'reference' => '961d5ff9844372a4e294980c667bbe7e0651cdeb', + 'pretty_version' => 'v5.3.0-alpha1', + 'version' => '5.3.0.0-alpha1', + 'reference' => 'cf9454caa00872899215603e5e036d9a824b1b11', 'type' => 'library', 'install_path' => __DIR__ . '/../twbs/bootstrap', 'aliases' => array(), @@ -244,7 +244,7 @@ 'twitter/bootstrap' => array( 'dev_requirement' => false, 'replaced' => array( - 0 => 'v5.2.2', + 0 => 'v5.3.0-alpha1', ), ), 'voku/portable-ascii' => array( @@ -268,7 +268,7 @@ 'zotlabs/hubzilla' => array( 'pretty_version' => 'dev-master', 'version' => 'dev-master', - 'reference' => 'e1f9b1c47d8f3ed3400465ec279e894a0d9255c5', + 'reference' => 'cd9f35e78ae116e28de6ac4ce89fe94cde9a9928', 'type' => 'application', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), |