From fc23fa20d99632d9c5260100bd763470a0947e67 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 2 Dec 2015 00:09:03 +0100 Subject: [PATCH] Fix code style --- wcfsetup/install/files/lib/core.functions.php | 4 +++- wcfsetup/install/files/lib/system/WCF.class.php | 2 ++ .../lib/system/database/statement/PreparedStatement.class.php | 2 +- .../files/lib/system/exception/LoggedException.class.php | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/core.functions.php b/wcfsetup/install/files/lib/core.functions.php index 62092c8aec..75be10aaa9 100644 --- a/wcfsetup/install/files/lib/core.functions.php +++ b/wcfsetup/install/files/lib/core.functions.php @@ -41,10 +41,11 @@ namespace { } } +// @codingStandardsIgnoreStart namespace wcf\functions\exception { + use wcf\system\WCF; use wcf\system\exception\IExtraInformationException; use wcf\system\exception\SystemException; - use wcf\system\WCF; use wcf\util\FileUtil; use wcf\util\StringUtil; @@ -345,3 +346,4 @@ namespace wcf\functions\exception { return '*/'.FileUtil::removeTrailingSlash(FileUtil::getRelativePath(WCF_DIR, $path)); } } +// @codingStandardsIgnoreEnd diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php index 93f521cd2c..1c79755274 100644 --- a/wcfsetup/install/files/lib/system/WCF.class.php +++ b/wcfsetup/install/files/lib/system/WCF.class.php @@ -242,7 +242,9 @@ class WCF { @header('HTTP/1.1 503 Service Unavailable'); try { + // @codingStandardsIgnoreStart \wcf\functions\exception\printThrowable($e); + // @codingStandardsIgnoreEnd } catch (\Throwable $e2) { echo "
An Exception was thrown while handling an Exception:\n\n";
diff --git a/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php b/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php
index 1f0ff086a3..17a9e337a2 100644
--- a/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php
+++ b/wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php
@@ -1,9 +1,9 @@