Passed
Push — master ( 0cd64b...9ff117 )
by Hong
02:59
created
src/Util/Loader.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
  * @package   Phoole\Config
8 8
  * @copyright Copyright (c) 2019 Hong Zhang
9 9
  */
10
-declare(strict_types = 1);
10
+declare(strict_types=1);
11 11
 
12 12
 namespace Phoole\Config\Util;
13 13
 
@@ -96,9 +96,9 @@  discard block
 block discarded – undo
96 96
     protected function globFiles(string $group, string $environment): array
97 97
     {
98 98
         $files = [];
99
-        $grp = ($group ?: '*') . '.*';
99
+        $grp = ($group ?: '*').'.*';
100 100
         foreach ($this->searchDirs($environment) as $dir) {
101
-            $globs = \glob($dir . \DIRECTORY_SEPARATOR . $grp);
101
+            $globs = \glob($dir.\DIRECTORY_SEPARATOR.$grp);
102 102
             $files = array_merge($files, $globs ?: []);
103 103
         }
104 104
         return $files;
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         $d = $this->root_dir;
123 123
         $dirs = [$d];
124 124
         foreach ($envs as $p) {
125
-            $d .= \DIRECTORY_SEPARATOR . $p;
125
+            $d .= \DIRECTORY_SEPARATOR.$p;
126 126
             $dirs[] = $d;
127 127
         }
128 128
         return $dirs;
Please login to merge, or discard this patch.
src/ConfigInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @package   Phoole\Config
8 8
  * @copyright Copyright (c) 2019 Hong Zhang
9 9
  */
10
-declare(strict_types = 1);
10
+declare(strict_types=1);
11 11
 
12 12
 namespace Phoole\Config;
13 13
 
Please login to merge, or discard this patch.
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @package   Phoole\Config
8 8
  * @copyright Copyright (c) 2019 Hong Zhang
9 9
  */
10
-declare(strict_types = 1);
10
+declare(strict_types=1);
11 11
 
12 12
 namespace Phoole\Config;
13 13
 
Please login to merge, or discard this patch.