Passed
Push — master ( 9bc344...7cc2b5 )
by David
04:40
created
src/Registry/TagsAnalyzer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
     public function filterBestTags(array $tags): array
19 19
     {
20 20
         // filter numeric versions only
21
-        $versions = \array_filter($tags, function (string $tag) {
21
+        $versions = \array_filter($tags, function(string $tag) {
22 22
             return \preg_match('/^\d+(\.\d+)*$/', $tag);
23 23
         });
24 24
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         foreach ($subtree as $key => $subsubtree) {
74 74
             $values = $this->getMaxLeafs($subsubtree);
75 75
             foreach ($values as $val) {
76
-                $arr[] = $key.'.'.$val;
76
+                $arr[] = $key . '.' . $val;
77 77
             }
78 78
         }
79 79
         return $arr;
Please login to merge, or discard this patch.