summaryrefslogtreecommitdiffstats
path: root/apps/dav/composer
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-04 23:15:00 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-04-13 14:06:29 +0200
commit781784553889601d02553931aed8ff1fde95640b (patch)
tree21dd1b23c192d23be1ab1f468ff77165b7591172 /apps/dav/composer
parentcd95fce105fe5f0e71b1bcac7685464f936b9749 (diff)
downloadnextcloud-server-781784553889601d02553931aed8ff1fde95640b.tar.gz
nextcloud-server-781784553889601d02553931aed8ff1fde95640b.zip
Add a metadata service to store file metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/dav/composer')
-rw-r--r--apps/dav/composer/autoload.php5
-rw-r--r--apps/dav/composer/composer/autoload_real.php2
-rw-r--r--apps/dav/composer/composer/installed.php4
3 files changed, 8 insertions, 3 deletions
diff --git a/apps/dav/composer/autoload.php b/apps/dav/composer/autoload.php
index 06b2e993e94..a3040af8caa 100644
--- a/apps/dav/composer/autoload.php
+++ b/apps/dav/composer/autoload.php
@@ -2,6 +2,11 @@
// autoload.php @generated by Composer
+if (PHP_VERSION_ID < 50600) {
+ echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
+ exit(1);
+}
+
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInitDAV::getLoader();
diff --git a/apps/dav/composer/composer/autoload_real.php b/apps/dav/composer/composer/autoload_real.php
index 8416efa9d7e..4b2290344f5 100644
--- a/apps/dav/composer/composer/autoload_real.php
+++ b/apps/dav/composer/composer/autoload_real.php
@@ -27,7 +27,7 @@ class ComposerAutoloaderInitDAV
spl_autoload_unregister(array('ComposerAutoloaderInitDAV', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
- \Composer\Autoload\ComposerStaticInitDAV::getInitializer($loader)();
+ call_user_func(\Composer\Autoload\ComposerStaticInitDAV::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
diff --git a/apps/dav/composer/composer/installed.php b/apps/dav/composer/composer/installed.php
index baf72c4fb34..628db5d793b 100644
--- a/apps/dav/composer/composer/installed.php
+++ b/apps/dav/composer/composer/installed.php
@@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
- 'reference' => 'e2c675724fc4ea50f1275bf0027b96f277c32578',
+ 'reference' => '9586920c0ec4016864a2219e838fb272127822d8',
'name' => '__root__',
'dev' => false,
),
@@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
- 'reference' => 'e2c675724fc4ea50f1275bf0027b96f277c32578',
+ 'reference' => '9586920c0ec4016864a2219e838fb272127822d8',
'dev_requirement' => false,
),
),