Passed
Push — master ( f9fe0c...634f27 )
by Mathias
04:54 queued 02:22
created
src/Path.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -100,12 +100,12 @@  discard block
 block discarded – undo
100 100
     public static function invalidPathChars(): array
101 101
     {
102 102
         return Collection::from(self::INVALID_PATH_ASCII)
103
-                         ->map(
104
-                             function (string $ascii) {
105
-                                 return chr($ascii);
106
-                             }
107
-                         )
108
-                         ->toArray();
103
+                            ->map(
104
+                                function (string $ascii) {
105
+                                    return chr($ascii);
106
+                                }
107
+                            )
108
+                            ->toArray();
109 109
     }
110 110
 
111 111
     /**
@@ -158,10 +158,10 @@  discard block
 block discarded – undo
158 158
     private static function hasIllegalCharacter(string $path): bool
159 159
     {
160 160
         return Collection::from(self::INVALID_PATH_ASCII)
161
-                         ->some(
162
-                             function (string $ascii) use ($path): bool {
163
-                                 return strpos($path, chr($ascii));
164
-                             }
165
-                         );
161
+                            ->some(
162
+                                function (string $ascii) use ($path): bool {
163
+                                    return strpos($path, chr($ascii));
164
+                                }
165
+                            );
166 166
     }
167 167
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     {
102 102
         return Collection::from(self::INVALID_PATH_ASCII)
103 103
                          ->map(
104
-                             function (string $ascii) {
104
+                             function(string $ascii) {
105 105
                                  return chr($ascii);
106 106
                              }
107 107
                          )
@@ -177,10 +177,10 @@  discard block
 block discarded – undo
177 177
             ]
178 178
         )
179 179
         ) {
180
-            return "$path1" . DIRECTORY_SEPARATOR . "$path2";
180
+            return "$path1".DIRECTORY_SEPARATOR."$path2";
181 181
         }
182 182
 
183
-        return $path1 . $path2;
183
+        return $path1.$path2;
184 184
     }
185 185
 
186 186
     /**
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     {
204 204
         return Collection::from(self::INVALID_PATH_ASCII)
205 205
                          ->some(
206
-                             function (string $ascii) use ($path): bool {
206
+                             function(string $ascii) use ($path): bool {
207 207
                                  return strpos($path, chr($ascii));
208 208
                              }
209 209
                          );
Please login to merge, or discard this patch.