]> git.agnieray.net Git - galette.git/blobdiff - galette/includes/galette.inc.php
Switch to PSR12, phpcbf fix
[galette.git] / galette / includes / galette.inc.php
index 1841ec3e7e004b68434332a9e59b1b7c5e066e29..7c7734653ede2875c276ee57ebefb12577b4f8f3 100644 (file)
@@ -71,7 +71,8 @@ if (!$installed && !$installer) {
     die();
 }
 
-if (file_exists(GALETTE_CONFIG_PATH . 'behavior.inc.php')
+if (
+    file_exists(GALETTE_CONFIG_PATH . 'behavior.inc.php')
     && !defined('GALETTE_TESTS') && !$cron
 ) {
     include_once GALETTE_CONFIG_PATH . 'behavior.inc.php';
@@ -98,7 +99,8 @@ if (PHP_SAPI === 'cli-server' && $_SERVER['SCRIPT_FILENAME'] !== __FILE__) {
 require GALETTE_ROOT . '/vendor/autoload.php';
 
 //start profiling
-if (defined('GALETTE_XHPROF_PATH')
+if (
+    defined('GALETTE_XHPROF_PATH')
     && function_exists('xhprof_enable')
 ) {
     include_once __DIR__ . '/../lib/Galette/Common/XHProf.php';