From: Tim Düsterhus Date: Tue, 1 Dec 2015 23:09:03 +0000 (+0100) Subject: Fix code style X-Git-Tag: 3.0.0_Beta_1~2094^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fc23fa20d99632d9c5260100bd763470a0947e67;p=GitHub%2FWoltLab%2FWCF.git Fix code style --- 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 @@