aboutsummaryrefslogtreecommitdiffstats
path: root/lib/composer/autoload.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/composer/autoload.php')
-rw-r--r--lib/composer/autoload.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/composer/autoload.php b/lib/composer/autoload.php
index 7b1481e876c..b3b39129e7a 100644
--- a/lib/composer/autoload.php
+++ b/lib/composer/autoload.php
@@ -14,7 +14,10 @@ if (PHP_VERSION_ID < 50600) {
echo $err;
}
}
- throw new RuntimeException($err);
+ trigger_error(
+ $err,
+ E_USER_ERROR
+ );
}
require_once __DIR__ . '/composer/autoload_real.php';