summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBennet Becker <dev@bennet.cc>2022-12-24 14:56:32 +0100
committerBennet Becker <dev@bennet.cc>2022-12-24 14:56:32 +0100
commit04c3c8794656f4b940eea74cdc00205a6595a682 (patch)
tree2e4f30c01205012af41ac778a617ee5c3d4f123a
parentf5bf2517cae06716c0a4f1fe9dcd3cfbd2d1d189 (diff)
downloadnextcloud-server-04c3c8794656f4b940eea74cdc00205a6595a682.tar.gz
nextcloud-server-04c3c8794656f4b940eea74cdc00205a6595a682.zip
Revert "ran build/autoloaderchecker.sh after adding AutoSubmittedValue class"
This reverts commit 77569bae4511c057e3023c01fa247aae60a0a3a3. Signed-off-by: Bennet Becker <dev@bennet.cc>
-rw-r--r--apps/admin_audit/composer/composer/ClassLoader.php37
-rw-r--r--apps/admin_audit/composer/composer/installed.php4
-rw-r--r--apps/cloud_federation_api/composer/composer/ClassLoader.php37
-rw-r--r--apps/cloud_federation_api/composer/composer/installed.php4
-rw-r--r--apps/comments/composer/composer/ClassLoader.php37
-rw-r--r--apps/comments/composer/composer/installed.php4
-rw-r--r--apps/contactsinteraction/composer/composer/ClassLoader.php37
-rw-r--r--apps/contactsinteraction/composer/composer/installed.php4
-rw-r--r--apps/dav/composer/composer/ClassLoader.php37
-rw-r--r--apps/dav/composer/composer/installed.php4
-rw-r--r--apps/encryption/composer/composer/ClassLoader.php37
-rw-r--r--apps/encryption/composer/composer/installed.php4
-rw-r--r--apps/federatedfilesharing/composer/composer/ClassLoader.php37
-rw-r--r--apps/federatedfilesharing/composer/composer/installed.php4
-rw-r--r--apps/federation/composer/composer/ClassLoader.php37
-rw-r--r--apps/federation/composer/composer/installed.php4
-rw-r--r--apps/files/composer/composer/ClassLoader.php37
-rw-r--r--apps/files/composer/composer/installed.php4
-rw-r--r--apps/files_sharing/composer/composer/ClassLoader.php37
-rw-r--r--apps/files_sharing/composer/composer/installed.php4
-rw-r--r--apps/files_trashbin/composer/composer/ClassLoader.php37
-rw-r--r--apps/files_trashbin/composer/composer/installed.php4
-rw-r--r--apps/files_versions/composer/composer/ClassLoader.php37
-rw-r--r--apps/files_versions/composer/composer/installed.php4
-rw-r--r--apps/lookup_server_connector/composer/composer/ClassLoader.php37
-rw-r--r--apps/lookup_server_connector/composer/composer/installed.php4
-rw-r--r--apps/oauth2/composer/composer/ClassLoader.php37
-rw-r--r--apps/oauth2/composer/composer/installed.php4
-rw-r--r--apps/provisioning_api/composer/composer/ClassLoader.php37
-rw-r--r--apps/provisioning_api/composer/composer/installed.php4
-rw-r--r--apps/settings/composer/composer/ClassLoader.php37
-rw-r--r--apps/settings/composer/composer/installed.php4
-rw-r--r--apps/sharebymail/composer/composer/ClassLoader.php37
-rw-r--r--apps/sharebymail/composer/composer/installed.php4
-rw-r--r--apps/systemtags/composer/composer/ClassLoader.php37
-rw-r--r--apps/systemtags/composer/composer/installed.php4
-rw-r--r--apps/testing/composer/composer/ClassLoader.php37
-rw-r--r--apps/testing/composer/composer/installed.php4
-rw-r--r--apps/twofactor_backupcodes/composer/composer/ClassLoader.php37
-rw-r--r--apps/twofactor_backupcodes/composer/composer/installed.php4
-rw-r--r--apps/updatenotification/composer/composer/ClassLoader.php37
-rw-r--r--apps/updatenotification/composer/composer/installed.php4
-rw-r--r--apps/user_ldap/composer/composer/ClassLoader.php37
-rw-r--r--apps/user_ldap/composer/composer/installed.php4
-rw-r--r--apps/user_status/composer/composer/ClassLoader.php37
-rw-r--r--apps/user_status/composer/composer/installed.php4
-rw-r--r--apps/workflowengine/composer/composer/ClassLoader.php37
-rw-r--r--apps/workflowengine/composer/composer/installed.php4
-rw-r--r--core/js/mimetypelist.js109
-rw-r--r--lib/composer/composer/ClassLoader.php37
-rw-r--r--lib/composer/composer/autoload_classmap.php1
-rw-r--r--lib/composer/composer/autoload_real.php27
-rw-r--r--lib/composer/composer/autoload_static.php1
53 files changed, 523 insertions, 636 deletions
diff --git a/apps/admin_audit/composer/composer/ClassLoader.php b/apps/admin_audit/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/admin_audit/composer/composer/ClassLoader.php
+++ b/apps/admin_audit/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/admin_audit/composer/composer/installed.php b/apps/admin_audit/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/admin_audit/composer/composer/installed.php
+++ b/apps/admin_audit/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/cloud_federation_api/composer/composer/ClassLoader.php b/apps/cloud_federation_api/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/cloud_federation_api/composer/composer/ClassLoader.php
+++ b/apps/cloud_federation_api/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/cloud_federation_api/composer/composer/installed.php b/apps/cloud_federation_api/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/cloud_federation_api/composer/composer/installed.php
+++ b/apps/cloud_federation_api/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/comments/composer/composer/ClassLoader.php b/apps/comments/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/comments/composer/composer/ClassLoader.php
+++ b/apps/comments/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/comments/composer/composer/installed.php b/apps/comments/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/comments/composer/composer/installed.php
+++ b/apps/comments/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/contactsinteraction/composer/composer/ClassLoader.php b/apps/contactsinteraction/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/contactsinteraction/composer/composer/ClassLoader.php
+++ b/apps/contactsinteraction/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/contactsinteraction/composer/composer/installed.php b/apps/contactsinteraction/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/contactsinteraction/composer/composer/installed.php
+++ b/apps/contactsinteraction/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/dav/composer/composer/ClassLoader.php b/apps/dav/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/dav/composer/composer/ClassLoader.php
+++ b/apps/dav/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/dav/composer/composer/installed.php b/apps/dav/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/dav/composer/composer/installed.php
+++ b/apps/dav/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/encryption/composer/composer/ClassLoader.php b/apps/encryption/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/encryption/composer/composer/ClassLoader.php
+++ b/apps/encryption/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/encryption/composer/composer/installed.php b/apps/encryption/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/encryption/composer/composer/installed.php
+++ b/apps/encryption/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/federatedfilesharing/composer/composer/ClassLoader.php b/apps/federatedfilesharing/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/federatedfilesharing/composer/composer/ClassLoader.php
+++ b/apps/federatedfilesharing/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/federatedfilesharing/composer/composer/installed.php b/apps/federatedfilesharing/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/federatedfilesharing/composer/composer/installed.php
+++ b/apps/federatedfilesharing/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/federation/composer/composer/ClassLoader.php b/apps/federation/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/federation/composer/composer/ClassLoader.php
+++ b/apps/federation/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/federation/composer/composer/installed.php b/apps/federation/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/federation/composer/composer/installed.php
+++ b/apps/federation/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/files/composer/composer/ClassLoader.php b/apps/files/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/files/composer/composer/ClassLoader.php
+++ b/apps/files/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/files/composer/composer/installed.php b/apps/files/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/files/composer/composer/installed.php
+++ b/apps/files/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/files_sharing/composer/composer/ClassLoader.php b/apps/files_sharing/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/files_sharing/composer/composer/ClassLoader.php
+++ b/apps/files_sharing/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/files_sharing/composer/composer/installed.php b/apps/files_sharing/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/files_sharing/composer/composer/installed.php
+++ b/apps/files_sharing/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/files_trashbin/composer/composer/ClassLoader.php b/apps/files_trashbin/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/files_trashbin/composer/composer/ClassLoader.php
+++ b/apps/files_trashbin/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/files_trashbin/composer/composer/installed.php b/apps/files_trashbin/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/files_trashbin/composer/composer/installed.php
+++ b/apps/files_trashbin/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/files_versions/composer/composer/ClassLoader.php b/apps/files_versions/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/files_versions/composer/composer/ClassLoader.php
+++ b/apps/files_versions/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/files_versions/composer/composer/installed.php b/apps/files_versions/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/files_versions/composer/composer/installed.php
+++ b/apps/files_versions/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/lookup_server_connector/composer/composer/ClassLoader.php b/apps/lookup_server_connector/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/lookup_server_connector/composer/composer/ClassLoader.php
+++ b/apps/lookup_server_connector/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/lookup_server_connector/composer/composer/installed.php b/apps/lookup_server_connector/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/lookup_server_connector/composer/composer/installed.php
+++ b/apps/lookup_server_connector/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/oauth2/composer/composer/ClassLoader.php b/apps/oauth2/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/oauth2/composer/composer/ClassLoader.php
+++ b/apps/oauth2/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/oauth2/composer/composer/installed.php b/apps/oauth2/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/oauth2/composer/composer/installed.php
+++ b/apps/oauth2/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/provisioning_api/composer/composer/ClassLoader.php b/apps/provisioning_api/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/provisioning_api/composer/composer/ClassLoader.php
+++ b/apps/provisioning_api/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/provisioning_api/composer/composer/installed.php b/apps/provisioning_api/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/provisioning_api/composer/composer/installed.php
+++ b/apps/provisioning_api/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/settings/composer/composer/ClassLoader.php b/apps/settings/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/settings/composer/composer/ClassLoader.php
+++ b/apps/settings/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/settings/composer/composer/installed.php b/apps/settings/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/settings/composer/composer/installed.php
+++ b/apps/settings/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/sharebymail/composer/composer/ClassLoader.php b/apps/sharebymail/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/sharebymail/composer/composer/ClassLoader.php
+++ b/apps/sharebymail/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/sharebymail/composer/composer/installed.php b/apps/sharebymail/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/sharebymail/composer/composer/installed.php
+++ b/apps/sharebymail/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/systemtags/composer/composer/ClassLoader.php b/apps/systemtags/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/systemtags/composer/composer/ClassLoader.php
+++ b/apps/systemtags/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/systemtags/composer/composer/installed.php b/apps/systemtags/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/systemtags/composer/composer/installed.php
+++ b/apps/systemtags/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/testing/composer/composer/ClassLoader.php b/apps/testing/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/testing/composer/composer/ClassLoader.php
+++ b/apps/testing/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/testing/composer/composer/installed.php b/apps/testing/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/testing/composer/composer/installed.php
+++ b/apps/testing/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/twofactor_backupcodes/composer/composer/ClassLoader.php b/apps/twofactor_backupcodes/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/twofactor_backupcodes/composer/composer/ClassLoader.php
+++ b/apps/twofactor_backupcodes/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/twofactor_backupcodes/composer/composer/installed.php b/apps/twofactor_backupcodes/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/twofactor_backupcodes/composer/composer/installed.php
+++ b/apps/twofactor_backupcodes/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/updatenotification/composer/composer/ClassLoader.php b/apps/updatenotification/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/updatenotification/composer/composer/ClassLoader.php
+++ b/apps/updatenotification/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/updatenotification/composer/composer/installed.php b/apps/updatenotification/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/updatenotification/composer/composer/installed.php
+++ b/apps/updatenotification/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/user_ldap/composer/composer/ClassLoader.php b/apps/user_ldap/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/user_ldap/composer/composer/ClassLoader.php
+++ b/apps/user_ldap/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/user_ldap/composer/composer/installed.php b/apps/user_ldap/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/user_ldap/composer/composer/installed.php
+++ b/apps/user_ldap/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/user_status/composer/composer/ClassLoader.php b/apps/user_status/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/user_status/composer/composer/ClassLoader.php
+++ b/apps/user_status/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/user_status/composer/composer/installed.php b/apps/user_status/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/user_status/composer/composer/installed.php
+++ b/apps/user_status/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/apps/workflowengine/composer/composer/ClassLoader.php b/apps/workflowengine/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/apps/workflowengine/composer/composer/ClassLoader.php
+++ b/apps/workflowengine/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/apps/workflowengine/composer/composer/installed.php b/apps/workflowengine/composer/composer/installed.php
index 4f8b23836ab..10f4c04f799 100644
--- a/apps/workflowengine/composer/composer/installed.php
+++ b/apps/workflowengine/composer/composer/installed.php
@@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
@@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
- 'reference' => '43ed68ddcd51faa18366ba54aacd155aff69fe85',
+ 'reference' => 'f13629cf4a091f0d7307e4daed15eae31acf1134',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js
index d269b83cd95..d861695c0ac 100644
--- a/core/js/mimetypelist.js
+++ b/core/js/mimetypelist.js
@@ -7,7 +7,114 @@
* To regenerate this file run ./occ maintenance:mimetype:update-js
*/
OC.MimeTypeList={
- aliases: [],
+ aliases: {
+ "application/coreldraw": "image",
+ "application/epub+zip": "text",
+ "application/font-sfnt": "image",
+ "application/font-woff": "image",
+ "application/gpx+xml": "location",
+ "application/illustrator": "image",
+ "application/javascript": "text/code",
+ "application/json": "text/code",
+ "application/msaccess": "file",
+ "application/msexcel": "x-office/spreadsheet",
+ "application/msonenote": "x-office/document",
+ "application/mspowerpoint": "x-office/presentation",
+ "application/msword": "x-office/document",
+ "application/octet-stream": "file",
+ "application/postscript": "image",
+ "application/rss+xml": "application/xml",
+ "application/vnd.android.package-archive": "package/x-generic",
+ "application/vnd.lotus-wordpro": "x-office/document",
+ "application/vnd.garmin.tcx+xml": "location",
+ "application/vnd.google-earth.kml+xml": "location",
+ "application/vnd.google-earth.kmz": "location",
+ "application/vnd.ms-excel": "x-office/spreadsheet",
+ "application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet",
+ "application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet",
+ "application/vnd.ms-excel.sheet.macroEnabled.12": "x-office/spreadsheet",
+ "application/vnd.ms-excel.template.macroEnabled.12": "x-office/spreadsheet",
+ "application/vnd.ms-fontobject": "image",
+ "application/vnd.ms-powerpoint": "x-office/presentation",
+ "application/vnd.ms-powerpoint.addin.macroEnabled.12": "x-office/presentation",
+ "application/vnd.ms-powerpoint.presentation.macroEnabled.12": "x-office/presentation",
+ "application/vnd.ms-powerpoint.slideshow.macroEnabled.12": "x-office/presentation",
+ "application/vnd.ms-powerpoint.template.macroEnabled.12": "x-office/presentation",
+ "application/vnd.ms-visio.drawing.macroEnabled.12": "application/vnd.visio",
+ "application/vnd.ms-visio.drawing": "application/vnd.visio",
+ "application/vnd.ms-visio.stencil.macroEnabled.12": "application/vnd.visio",
+ "application/vnd.ms-visio.stencil": "application/vnd.visio",
+ "application/vnd.ms-visio.template.macroEnabled.12": "application/vnd.visio",
+ "application/vnd.ms-visio.template": "application/vnd.visio",
+ "application/vnd.ms-word.document.macroEnabled.12": "x-office/document",
+ "application/vnd.ms-word.template.macroEnabled.12": "x-office/document",
+ "application/vnd.oasis.opendocument.presentation": "x-office/presentation",
+ "application/vnd.oasis.opendocument.presentation-template": "x-office/presentation",
+ "application/vnd.oasis.opendocument.spreadsheet": "x-office/spreadsheet",
+ "application/vnd.oasis.opendocument.spreadsheet-template": "x-office/spreadsheet",
+ "application/vnd.oasis.opendocument.text": "x-office/document",
+ "application/vnd.oasis.opendocument.text-master": "x-office/document",
+ "application/vnd.oasis.opendocument.text-template": "x-office/document",
+ "application/vnd.oasis.opendocument.graphics": "x-office/drawing",
+ "application/vnd.oasis.opendocument.graphics-template": "x-office/drawing",
+ "application/vnd.oasis.opendocument.text-web": "x-office/document",
+ "application/vnd.oasis.opendocument.text-flat-xml": "x-office/document",
+ "application/vnd.oasis.opendocument.spreadsheet-flat-xml": "x-office/spreadsheet",
+ "application/vnd.oasis.opendocument.graphics-flat-xml": "x-office/drawing",
+ "application/vnd.oasis.opendocument.presentation-flat-xml": "x-office/presentation",
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": "x-office/presentation",
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": "x-office/presentation",
+ "application/vnd.openxmlformats-officedocument.presentationml.template": "x-office/presentation",
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "x-office/spreadsheet",
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": "x-office/spreadsheet",
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document",
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document",
+ "application/vnd.visio": "x-office/document",
+ "application/vnd.wordperfect": "x-office/document",
+ "application/x-7z-compressed": "package/x-generic",
+ "application/x-bzip2": "package/x-generic",
+ "application/x-cbr": "text",
+ "application/x-compressed": "package/x-generic",
+ "application/x-dcraw": "image",
+ "application/x-deb": "package/x-generic",
+ "application/x-fictionbook+xml": "text",
+ "application/x-font": "image",
+ "application/x-gimp": "image",
+ "application/x-gzip": "package/x-generic",
+ "application/x-iwork-keynote-sffkey": "x-office/presentation",
+ "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet",
+ "application/x-iwork-pages-sffpages": "x-office/document",
+ "application/x-mobipocket-ebook": "text",
+ "application/x-perl": "text/code",
+ "application/x-photoshop": "image",
+ "application/x-php": "text/code",
+ "application/x-rar-compressed": "package/x-generic",
+ "application/x-tar": "package/x-generic",
+ "application/x-tex": "text",
+ "application/xml": "text/html",
+ "application/yaml": "text/code",
+ "application/zip": "package/x-generic",
+ "database": "file",
+ "httpd/unix-directory": "dir",
+ "text/css": "text/code",
+ "text/csv": "x-office/spreadsheet",
+ "text/html": "text/code",
+ "text/x-c": "text/code",
+ "text/x-c++src": "text/code",
+ "text/x-h": "text/code",
+ "text/x-java-source": "text/code",
+ "text/x-ldif": "text/code",
+ "text/x-python": "text/code",
+ "text/x-shellscript": "text/code",
+ "web": "text/code",
+ "application/internet-shortcut": "link",
+ "application/km": "mindmap",
+ "application/x-freemind": "mindmap",
+ "application/vnd.xmind.workbook": "mindmap",
+ "image/targa": "image/tga",
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform": "x-office/form",
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf": "x-office/form-template"
+},
files: [
"application",
"application-pdf",
diff --git a/lib/composer/composer/ClassLoader.php b/lib/composer/composer/ClassLoader.php
index fd56bd7d840..afef3fa2ad8 100644
--- a/lib/composer/composer/ClassLoader.php
+++ b/lib/composer/composer/ClassLoader.php
@@ -42,9 +42,6 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
- /** @var \Closure(string):void */
- private static $includeFile;
-
/** @var ?string */
private $vendorDir;
@@ -109,7 +106,6 @@ class ClassLoader
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
- self::initializeIncludeClosure();
}
/**
@@ -429,7 +425,7 @@ class ClassLoader
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
- (self::$includeFile)($file);
+ includeFile($file);
return true;
}
@@ -559,23 +555,18 @@ 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;
- };
- }
+/**
+ * Scope isolated include.
+ *
+ * Prevents access to $this/self from included files.
+ *
+ * @param string $file
+ * @return void
+ * @private
+ */
+function includeFile($file)
+{
+ include $file;
}
diff --git a/lib/composer/composer/autoload_classmap.php b/lib/composer/composer/autoload_classmap.php
index 2851d76ff4b..08a871e8466 100644
--- a/lib/composer/composer/autoload_classmap.php
+++ b/lib/composer/composer/autoload_classmap.php
@@ -478,7 +478,6 @@ return array(
'OCP\\Log\\ILogFactory' => $baseDir . '/lib/public/Log/ILogFactory.php',
'OCP\\Log\\IWriter' => $baseDir . '/lib/public/Log/IWriter.php',
'OCP\\Log\\RotationTrait' => $baseDir . '/lib/public/Log/RotationTrait.php',
- 'OCP\\Mail\\AutoSubmittedValue' => $baseDir . '/lib/public/Mail/AutoSubmittedValue.php',
'OCP\\Mail\\Events\\BeforeMessageSent' => $baseDir . '/lib/public/Mail/Events/BeforeMessageSent.php',
'OCP\\Mail\\IAttachment' => $baseDir . '/lib/public/Mail/IAttachment.php',
'OCP\\Mail\\IEMailTemplate' => $baseDir . '/lib/public/Mail/IEMailTemplate.php',
diff --git a/lib/composer/composer/autoload_real.php b/lib/composer/composer/autoload_real.php
index 6dbf91afee6..6b98041770d 100644
--- a/lib/composer/composer/autoload_real.php
+++ b/lib/composer/composer/autoload_real.php
@@ -31,18 +31,25 @@ class ComposerAutoloaderInit749170dad3f5e7f9ca158f5a9f04f6a2
$loader->register(true);
- $filesToLoad = \Composer\Autoload\ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2::$files;
- $requireFile = static function ($fileIdentifier, $file) {
- if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
- $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
-
- require $file;
- }
- };
- foreach ($filesToLoad as $fileIdentifier => $file) {
- ($requireFile)($fileIdentifier, $file);
+ $includeFiles = \Composer\Autoload\ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2::$files;
+ foreach ($includeFiles as $fileIdentifier => $file) {
+ composerRequire749170dad3f5e7f9ca158f5a9f04f6a2($fileIdentifier, $file);
}
return $loader;
}
}
+
+/**
+ * @param string $fileIdentifier
+ * @param string $file
+ * @return void
+ */
+function composerRequire749170dad3f5e7f9ca158f5a9f04f6a2($fileIdentifier, $file)
+{
+ if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
+ $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
+
+ require $file;
+ }
+}
diff --git a/lib/composer/composer/autoload_static.php b/lib/composer/composer/autoload_static.php
index 404d903b526..eec226c9a6e 100644
--- a/lib/composer/composer/autoload_static.php
+++ b/lib/composer/composer/autoload_static.php
@@ -511,7 +511,6 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
'OCP\\Log\\ILogFactory' => __DIR__ . '/../../..' . '/lib/public/Log/ILogFactory.php',
'OCP\\Log\\IWriter' => __DIR__ . '/../../..' . '/lib/public/Log/IWriter.php',
'OCP\\Log\\RotationTrait' => __DIR__ . '/../../..' . '/lib/public/Log/RotationTrait.php',
- 'OCP\\Mail\\AutoSubmittedValue' => __DIR__ . '/../../..' . '/lib/public/Mail/AutoSubmittedValue.php',
'OCP\\Mail\\Events\\BeforeMessageSent' => __DIR__ . '/../../..' . '/lib/public/Mail/Events/BeforeMessageSent.php',
'OCP\\Mail\\IAttachment' => __DIR__ . '/../../..' . '/lib/public/Mail/IAttachment.php',
'OCP\\Mail\\IEMailTemplate' => __DIR__ . '/../../..' . '/lib/public/Mail/IEMailTemplate.php',