Fix code style
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 1 Dec 2015 23:09:03 +0000 (00:09 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 1 Dec 2015 23:09:03 +0000 (00:09 +0100)
wcfsetup/install/files/lib/core.functions.php
wcfsetup/install/files/lib/system/WCF.class.php
wcfsetup/install/files/lib/system/database/statement/PreparedStatement.class.php
wcfsetup/install/files/lib/system/exception/LoggedException.class.php

index 62092c8aecb323c5958a2dc1e7ae6d53d972b0d8..75be10aaa9c3d0c45cd0cbdc39f962e5d095b89d 100644 (file)
@@ -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
index 93f521cd2c4ed7bc113dc3256c8967bd7775320c..1c797552746105e4066623a134b45d18fe48d473 100644 (file)
@@ -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 "<pre>An Exception was thrown while handling an Exception:\n\n";
index 1f0ff086a3ba02d3e1249f2a8195fe4aec513c95..17a9e337a2f13d0b6b5ba8ca97eca7a33a9a31a2 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 namespace wcf\system\database\statement;
 use wcf\system\benchmark\Benchmark;
-use wcf\system\database\Database;
 use wcf\system\database\exception\DatabaseQueryException;
 use wcf\system\database\exception\DatabaseQueryExecutionException;
+use wcf\system\database\Database;
 use wcf\system\exception\SystemException;
 use wcf\system\WCF;
 
index 0fcf16397323e7502fbffd06852ef583803748b7..fb90f13c7cac1988c5b5a06baa4dd3f02e3fe1ae 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 namespace wcf\system\exception;
+// @codingStandardsIgnoreFile
 use wcf\system\WCF;
 use wcf\util\JSON;
 use wcf\util\StringUtil;