aboutsummaryrefslogtreecommitdiffstats
path: root/lib/composer/autoload.php
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2025-04-15 18:05:54 +0200
committerGitHub <noreply@github.com>2025-04-15 18:05:54 +0200
commitcd6e5ababb97cd69e742076fcba315d29c422667 (patch)
treebff16e29d0332e11885afa6074edf92441871a25 /lib/composer/autoload.php
parente5b34b700debe5f47bc413c29a746c033a06d641 (diff)
parent3e9454ad729c54186e07c405ad61de4e92d9d994 (diff)
downloadnextcloud-server-cd6e5ababb97cd69e742076fcba315d29c422667.tar.gz
nextcloud-server-cd6e5ababb97cd69e742076fcba315d29c422667.zip
Merge pull request #52080 from nextcloud/chore-check-for-composer-bin
ci: add check to ensure composer-bin is not accidentally committed
Diffstat (limited to 'lib/composer/autoload.php')
-rw-r--r--lib/composer/autoload.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/composer/autoload.php b/lib/composer/autoload.php
index b3b39129e7a..7b1481e876c 100644
--- a/lib/composer/autoload.php
+++ b/lib/composer/autoload.php
@@ -14,10 +14,7 @@ if (PHP_VERSION_ID < 50600) {
echo $err;
}
}
- trigger_error(
- $err,
- E_USER_ERROR
- );
+ throw new RuntimeException($err);
}
require_once __DIR__ . '/composer/autoload_real.php';