summaryrefslogtreecommitdiffstats
path: root/lib/composer/autoload.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-26 07:57:39 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-04-26 07:58:57 +0200
commit1f92440b79e90bd3337407ed55ea7d8474ee0ddf (patch)
tree1e9194afc0653c6c2ee8268d37a64297c72c7d24 /lib/composer/autoload.php
parent8bcba22d77cc56433a38be29e66692db94c2081a (diff)
downloadnextcloud-server-1f92440b79e90bd3337407ed55ea7d8474ee0ddf.tar.gz
nextcloud-server-1f92440b79e90bd3337407ed55ea7d8474ee0ddf.zip
Fix mexitek/phpcolors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/composer/autoload.php')
-rw-r--r--lib/composer/autoload.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/composer/autoload.php b/lib/composer/autoload.php
index 6de0160c0b5..a3d144b1777 100644
--- a/lib/composer/autoload.php
+++ b/lib/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 ComposerAutoloaderInit53792487c5a8370acc0b06b1a864ff4c::getLoader();