Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / acp / global.php
index fb269102f49b557757abab68079b72cfb3634945..34c473a2de8cfcb1dede38f22611b15e6a769858 100644 (file)
@@ -1,21 +1,24 @@
 <?php
+
 /**
- * @author     Marcel Werk
- * @copyright  2001-2019 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package    WoltLabSuite\Core
+ * @author  Marcel Werk
+ * @copyright   2001-2019 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core
  */
 
 // phpcs:disable PSR1.Files.SideEffects
 
 // Constant to get relative path to the wcf-root-dir.
 // This constant is already set in each package which got an own config.inc.php
-if (!defined('RELATIVE_WCF_DIR')) define('RELATIVE_WCF_DIR', '../');
+if (!\defined('RELATIVE_WCF_DIR')) {
+    \define('RELATIVE_WCF_DIR', '../');
+}
 
 // include config
-require_once(RELATIVE_WCF_DIR.'app.config.inc.php');
+require_once(RELATIVE_WCF_DIR . 'app.config.inc.php');
 
 // starting wcf acp
-require_once(WCF_DIR.'lib/system/WCF.class.php');
-require_once(WCF_DIR.'lib/system/WCFACP.class.php');
+require_once(WCF_DIR . 'lib/system/WCF.class.php');
+require_once(WCF_DIR . 'lib/system/WCFACP.class.php');
 new wcf\system\WCFACP();