Passed
Push — master ( 58d3a9...553f37 )
by Marco
02:50
created
test/unit/Git/PickLastMinorVersionFromCollectionTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         self::assertSame(
38 38
             $expectedVersion,
39 39
             (new PickLastMinorVersionFromCollection())->forVersions(
40
-                new VersionsCollection(...array_map(function (string $version) : Version {
40
+                new VersionsCollection(...array_map(function(string $version) : Version {
41 41
                     return Version::fromString($version);
42 42
                 }, $collectionOfVersions))
43 43
             )->getVersionString()
Please login to merge, or discard this patch.
src/Git/GetVersionCollectionFromGitRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             ->getOutput();
32 32
 
33 33
         return new VersionsCollection(...array_filter(
34
-            array_map(function (string $maybeVersion) : ?Version {
34
+            array_map(function(string $maybeVersion) : ?Version {
35 35
                 try {
36 36
                     return Version::fromString($maybeVersion);
37 37
                 } catch (InvalidVersionStringException $e) {
Please login to merge, or discard this patch.