Passed
Pull Request — master (#108)
by Marco
02:35
created
src/Changes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $instance = new self();
63 63
 
64 64
         $instance->bufferedChanges   = [];
65
-        $instance->unBufferedChanges = (function () use ($other) : Generator {
65
+        $instance->unBufferedChanges = (function() use ($other) : Generator {
66 66
             foreach ($this as $change) {
67 67
                 yield $change;
68 68
             }
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/ClassBased/MethodChanged.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $methods = $class->getMethods();
50 50
 
51 51
         return array_combine(
52
-            array_map(function (ReflectionMethod $method) : string {
52
+            array_map(function(ReflectionMethod $method) : string {
53 53
                 return strtolower($method->getName());
54 54
             }, $methods),
55 55
             $methods
Please login to merge, or discard this patch.
src/CompareClasses.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,13 +45,13 @@
 block discarded – undo
45 45
         ClassReflector $newSourcesWithDependencies
46 46
     ) : Changes {
47 47
         $definedApiClassNames = array_map(
48
-            function (ReflectionClass $class) : string {
48
+            function(ReflectionClass $class) : string {
49 49
                 return $class->getName();
50 50
             },
51 51
             array_filter(
52 52
                 $definedSymbols->getAllClasses(),
53
-                function (ReflectionClass $class) : bool {
54
-                    return ! $class->isAnonymous();
53
+                function(ReflectionClass $class) : bool {
54
+                    return !$class->isAnonymous();
55 55
                 }
56 56
             )
57 57
         );
Please login to merge, or discard this patch.
test/unit/ChangesTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function testFromIteratorBuffersAllChangesWithoutLoadingThemEagerly() : void
49 49
     {
50 50
         $producedValues  = 0;
51
-        $changesProvider = function () use (& $producedValues) {
51
+        $changesProvider = function() use (& $producedValues) {
52 52
             $producedValues += 1;
53 53
 
54 54
             yield Change::changed('a', true);
Please login to merge, or discard this patch.