Completed
Pull Request — master (#60)
by James
03:26
created
test/unit/DetectChanges/BCBreak/ClassBased/ExcludeAnonymousClassesTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 {
18 18
     public function testNormalClassesAreNotExcluded() : void
19 19
     {
20
-        $locator       = (new BetterReflection())->astLocator();
20
+        $locator = (new BetterReflection())->astLocator();
21 21
         $reflector = new ClassReflector(new StringSourceLocator(
22 22
             <<<'PHP'
23 23
 <?php
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     public function testAnonymousClassesAreExcluded() : void
45 45
     {
46
-        $locator       = (new BetterReflection())->astLocator();
46
+        $locator = (new BetterReflection())->astLocator();
47 47
         $reflector = new ClassReflector(new StringSourceLocator(
48 48
             <<<'PHP'
49 49
 <?php
Please login to merge, or discard this patch.
src/DetectChanges/BCBreak/FunctionBased/MultipleChecksOnAFunction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     {
23 23
         return array_reduce(
24 24
             $this->checks,
25
-            function (Changes $changes, FunctionBased $check) use ($fromFunction, $toFunction) : Changes {
25
+            function(Changes $changes, FunctionBased $check) use ($fromFunction, $toFunction) : Changes {
26 26
                 return $changes->mergeWith($check->__invoke($fromFunction, $toFunction));
27 27
             },
28 28
             Changes::empty()
Please login to merge, or discard this patch.