Completed
Push — master ( 0e78db...3af8bc )
by Marco
18s queued 11s
created
test/unit/DetectChanges/BCBreak/TraitBased/TraitBecameInterfaceTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
         self::assertSame(
35 35
             $expectedMessages,
36
-            array_map(static function (Change $change) : string {
36
+            array_map(static function(Change $change) : string {
37 37
                 return $change->__toString();
38 38
             }, iterator_to_array($changes))
39 39
         );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             ,
64 64
             $locator
65 65
         ));
66
-        $toReflector   = new ClassReflector(new StringSourceLocator(
66
+        $toReflector = new ClassReflector(new StringSourceLocator(
67 67
             <<<'PHP'
68 68
 <?php
69 69
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
         return array_combine(
103 103
             array_keys($classes),
104 104
             array_map(
105
-                static function (string $className, array $errors) use ($fromReflector, $toReflector) : array {
105
+                static function(string $className, array $errors) use ($fromReflector, $toReflector) : array {
106 106
                     return [
107 107
                         $fromReflector->reflect($className),
108 108
                         $toReflector->reflect($className),
Please login to merge, or discard this patch.
unit/DetectChanges/BCBreak/MethodBased/MethodConcretenessChangedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
         self::assertSame(
39 39
             $expectedMessages,
40
-            array_map(static function (Change $change) : string {
40
+            array_map(static function(Change $change) : string {
41 41
                 return $change->__toString();
42 42
             }, iterator_to_array($changes))
43 43
         );
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         return array_combine(
124 124
             array_keys($properties),
125 125
             array_map(
126
-                static function (string $methodName, array $errorMessages) use ($fromClass, $toClass) : array {
126
+                static function(string $methodName, array $errorMessages) use ($fromClass, $toClass) : array {
127 127
                     return [
128 128
                         $fromClass->getMethod($methodName),
129 129
                         $toClass->getMethod($methodName),
Please login to merge, or discard this patch.
test/unit/DetectChanges/BCBreak/MethodBased/MethodScopeChangedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
         self::assertSame(
39 39
             $expectedMessages,
40
-            array_map(static function (Change $change) : string {
40
+            array_map(static function(Change $change) : string {
41 41
                 return $change->__toString();
42 42
             }, iterator_to_array($changes))
43 43
         );
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         return array_combine(
124 124
             array_keys($properties),
125 125
             array_map(
126
-                static function (string $methodName, array $errorMessages) use ($fromClass, $toClass) : array {
126
+                static function(string $methodName, array $errorMessages) use ($fromClass, $toClass) : array {
127 127
                     return [
128 128
                         $fromClass->getMethod($methodName),
129 129
                         $toClass->getMethod($methodName),
Please login to merge, or discard this patch.
src/LocateDependencies/LocateDependenciesViaComposer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
     public function __invoke(string $installationPath) : SourceLocator
39 39
     {
40 40
         Assert::that($installationPath)->directory();
41
-        Assert::that($installationPath . '/composer.json')->file();
41
+        Assert::that($installationPath.'/composer.json')->file();
42 42
 
43
-        $this->runInDirectory(function () use ($installationPath) : void {
43
+        $this->runInDirectory(function() use ($installationPath) : void {
44 44
             $installer = ($this->makeComposerInstaller)($installationPath);
45 45
 
46 46
             Assert::that($installer)->isInstanceOf(Installer::class);
Please login to merge, or discard this patch.
BCBreak/ClassConstantBased/ClassConstantVisibilityReducedTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
         self::assertSame(
37 37
             $expectedMessages,
38
-            array_map(function (Change $change) : string {
38
+            array_map(function(Change $change) : string {
39 39
                 return $change->__toString();
40 40
             }, iterator_to_array($changes))
41 41
         );
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
         return array_combine(array_keys($properties),
114 114
             array_map(
115
-                function (string $constant, array $errorMessages) use ($fromClass, $toClass) : array {
115
+                function(string $constant, array $errorMessages) use ($fromClass, $toClass) : array {
116 116
                     return [
117 117
                         $fromClass->getReflectionConstant($constant),
118 118
                         $toClass->getReflectionConstant($constant),
Please login to merge, or discard this patch.