Completed
Push — master ( 851c6b...4bdbb8 )
by Greg
02:05
created
src/CommandFileDiscovery.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -154,9 +154,9 @@  discard block
 block discarded – undo
154 154
     {
155 155
         $replacementPart = '\\';
156 156
         if (!empty($base)) {
157
-            $replacementPart .= $base . '\\';
157
+            $replacementPart .= $base.'\\';
158 158
         }
159
-        $ignoredPart = $replacementPart . $ignore . '\\';
159
+        $ignoredPart = $replacementPart.$ignore.'\\';
160 160
         $this->strippedNamespaces[$ignoredPart] = $replacementPart;
161 161
 
162 162
         return $this;
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
         // Strip out any part of the namespace the client did not want.
260 260
         // @see CommandFileDiscovery::ignoreNamespacePart
261 261
         return array_map(
262
-            function ($fqcn) {
262
+            function($fqcn) {
263 263
                 return str_replace(
264 264
                     array_keys($this->strippedNamespaces),
265 265
                     array_values($this->strippedNamespaces),
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
      */
322 322
     protected function getSearchDepth()
323 323
     {
324
-        return $this->searchDepth <= 0 ? '== 0' : '<= ' . $this->searchDepth;
324
+        return $this->searchDepth <= 0 ? '== 0' : '<= '.$this->searchDepth;
325 325
     }
326 326
 
327 327
     /**
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
         return $this->joinParts(
420 420
             '\\',
421 421
             $namespaceParts,
422
-            function ($item) {
422
+            function($item) {
423 423
                 return !is_numeric($item) && !empty($item);
424 424
             }
425 425
         );
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
         $path = $this->joinParts(
439 439
             '/',
440 440
             $pathParts,
441
-            function ($item) {
441
+            function($item) {
442 442
                 return !empty($item);
443 443
             }
444 444
         );
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
     protected function joinParts($delimiter, $parts, $filterFunction)
456 456
     {
457 457
         $parts = array_map(
458
-            function ($item) use ($delimiter) {
458
+            function($item) use ($delimiter) {
459 459
                 return rtrim($item, $delimiter);
460 460
             },
461 461
             $parts
Please login to merge, or discard this patch.