From 026ccbc8875fc78b665dec95c308afe8a3c5899e Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sun, 22 Mar 2015 16:16:09 +0100 Subject: add back scrutinizer --- appinfo/app.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'appinfo/app.php') diff --git a/appinfo/app.php b/appinfo/app.php index 66c0ef166..d1a84a292 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -13,13 +13,15 @@ namespace OCA\News\AppInfo; -use \OCA\News\Config\DependencyException; +use Exception; + +require_once __DIR__ . '/../vendor/autoload.php'; // Turn all errors into exceptions to combat shitty library behavior set_error_handler(function ($code, $message) { if ($code === E_ERROR || $code === E_USER_ERROR) { - throw new \Exception($message, $code); + throw new Exception($message, $code); } }); -- cgit v1.2.3