Completed
Push — master ( e2a184...b6fd99 )
by Joschi
04:50
created
src/Admin/Infrastructure/Service/DirectoryService.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,6 @@
 block discarded – undo
100 100
         }
101 101
 
102 102
         return $absolute ?
103
-            $absDataDirectory :
104
-            trim(substr($absDataDirectory, strlen($dataBaseDirectory)), DIRECTORY_SEPARATOR);
103
+            $absDataDirectory : trim(substr($absDataDirectory, strlen($dataBaseDirectory)), DIRECTORY_SEPARATOR);
105 104
     }
106 105
 }
Please login to merge, or discard this patch.
src/Admin/Domain/Vhost/Vhost.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
     {
262 262
         $secondaryDomains = array_values($this->secondaryDomains);
263 263
         return $excludeWildcards ?
264
-            array_filter($secondaryDomains, function (DomainInterface $domain) {
264
+            array_filter($secondaryDomains, function(DomainInterface $domain) {
265 265
                 return !$domain->isWildcard();
266 266
             }) :
267 267
             $secondaryDomains;
Please login to merge, or discard this patch.
src/Admin/Infrastructure/Service/AbstractShellService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     {
76 76
         $command = Binary::sudo($this->config['service']);
77 77
         array_map(
78
-            function ($argument) use ($command) {
78
+            function($argument) use ($command) {
79 79
                 $command->addArg($argument);
80 80
             },
81 81
             $arguments
Please login to merge, or discard this patch.
src/Admin/Infrastructure/App.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -228,12 +228,12 @@  discard block
 block discarded – undo
228 228
             return self::$config;
229 229
         }
230 230
         $keyParts = explode('.', $key);
231
-        $config =& self::$config;
231
+        $config = & self::$config;
232 232
         foreach ($keyParts as $keyPart) {
233 233
             if (!array_key_exists($keyPart, $config)) {
234 234
                 throw new \InvalidArgumentException(sprintf('Invalid config key "%s"', $key), 1466179561);
235 235
             }
236
-            $config =& $config[$keyPart];
236
+            $config = & $config[$keyPart];
237 237
         }
238 238
         return $config;
239 239
     }
@@ -248,8 +248,7 @@  discard block
 block discarded – undo
248 248
     public static function getTemplate($template, $useDefault = false)
249 249
     {
250 250
         $templateFile = self::$rootDirectory;
251
-        $templateFile .= $useDefault ? 'config' :
252
-            'src'.DIRECTORY_SEPARATOR.'Admin'.DIRECTORY_SEPARATOR.'Infrastructure'.DIRECTORY_SEPARATOR.'Templates';
251
+        $templateFile .= $useDefault ? 'config' : 'src'.DIRECTORY_SEPARATOR.'Admin'.DIRECTORY_SEPARATOR.'Infrastructure'.DIRECTORY_SEPARATOR.'Templates';
253 252
         $templateFile .= DIRECTORY_SEPARATOR.$template;
254 253
         if (!file_exists($templateFile)) {
255 254
             throw new \RuntimeException(
Please login to merge, or discard this patch.