@@ -139,7 +139,7 @@ |
||
139 | 139 | (new Process(['git', 'add', '-A'], $this->sourcesRepository))->mustRun(); |
140 | 140 | (new Process(['git', 'commit', '-am', sprintf('Class sources v%d', $key + 1)], $this->sourcesRepository))->mustRun(); |
141 | 141 | $this->versions[$key] = trim((new Process(['git', 'rev-parse', 'HEAD'], $this->sourcesRepository))->mustRun() |
142 | - ->getOutput()); |
|
142 | + ->getOutput()); |
|
143 | 143 | } |
144 | 144 | } |
145 | 145 |
@@ -18,10 +18,10 @@ |
||
18 | 18 | /** @var string[] */ |
19 | 19 | private $classMap; |
20 | 20 | |
21 | - /** |
|
22 | - * @param array<string, string> $classMap map of class => file. Every file must exist, |
|
23 | - * every key must be non-empty |
|
24 | - */ |
|
21 | + /** |
|
22 | + * @param array<string, string> $classMap map of class => file. Every file must exist, |
|
23 | + * every key must be non-empty |
|
24 | + */ |
|
25 | 25 | public function __construct( |
26 | 26 | array $classMap, |
27 | 27 | Locator $astLocator |
@@ -32,9 +32,9 @@ |
||
32 | 32 | |
33 | 33 | $check = $this->createMock(TraitBased::class); |
34 | 34 | $check->expects(self::once()) |
35 | - ->method('__invoke') |
|
36 | - ->with($reflection, $reflection) |
|
37 | - ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
35 | + ->method('__invoke') |
|
36 | + ->with($reflection, $reflection) |
|
37 | + ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
38 | 38 | |
39 | 39 | self::assertEquals( |
40 | 40 | Changes::fromList(Change::removed('foo', true)), |
@@ -35,9 +35,9 @@ |
||
35 | 35 | /** @var ClassBased&MockObject $check */ |
36 | 36 | $check = $this->createMock(ClassBased::class); |
37 | 37 | $check->expects(self::once()) |
38 | - ->method('__invoke') |
|
39 | - ->with($fromReflection, $toReflection) |
|
40 | - ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
38 | + ->method('__invoke') |
|
39 | + ->with($fromReflection, $toReflection) |
|
40 | + ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
41 | 41 | |
42 | 42 | self::assertEquals( |
43 | 43 | Changes::fromList(Change::removed('foo', true)), |
@@ -32,9 +32,9 @@ |
||
32 | 32 | |
33 | 33 | $check = $this->createMock(InterfaceBased::class); |
34 | 34 | $check->expects(self::once()) |
35 | - ->method('__invoke') |
|
36 | - ->with($reflection, $reflection) |
|
37 | - ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
35 | + ->method('__invoke') |
|
36 | + ->with($reflection, $reflection) |
|
37 | + ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
38 | 38 | |
39 | 39 | self::assertEquals( |
40 | 40 | Changes::fromList(Change::removed('foo', true)), |
@@ -33,9 +33,9 @@ discard block |
||
33 | 33 | |
34 | 34 | $check = $this->createMock(FunctionBased::class); |
35 | 35 | $check->expects(self::once()) |
36 | - ->method('__invoke') |
|
37 | - ->with($function, $function) |
|
38 | - ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
36 | + ->method('__invoke') |
|
37 | + ->with($function, $function) |
|
38 | + ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
39 | 39 | |
40 | 40 | self::assertEquals( |
41 | 41 | Changes::fromList(Change::removed('foo', true)), |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | |
62 | 62 | $check = $this->createMock(FunctionBased::class); |
63 | 63 | $check->expects(self::never()) |
64 | - ->method('__invoke'); |
|
64 | + ->method('__invoke'); |
|
65 | 65 | |
66 | 66 | self::assertEquals( |
67 | 67 | Changes::empty(), |
@@ -36,9 +36,9 @@ discard block |
||
36 | 36 | |
37 | 37 | $check = $this->createMock(PropertyBased::class); |
38 | 38 | $check->expects(self::once()) |
39 | - ->method('__invoke') |
|
40 | - ->with($property, $property) |
|
41 | - ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
39 | + ->method('__invoke') |
|
40 | + ->with($property, $property) |
|
41 | + ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
42 | 42 | |
43 | 43 | self::assertEquals( |
44 | 44 | Changes::fromList(Change::removed('foo', true)), |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | |
69 | 69 | $check = $this->createMock(PropertyBased::class); |
70 | 70 | $check->expects(self::never()) |
71 | - ->method('__invoke'); |
|
71 | + ->method('__invoke'); |
|
72 | 72 | |
73 | 73 | self::assertEquals( |
74 | 74 | Changes::empty(), |
@@ -34,9 +34,9 @@ discard block |
||
34 | 34 | |
35 | 35 | $check = $this->createMock(MethodBased::class); |
36 | 36 | $check->expects(self::once()) |
37 | - ->method('__invoke') |
|
38 | - ->with($method, $method) |
|
39 | - ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
37 | + ->method('__invoke') |
|
38 | + ->with($method, $method) |
|
39 | + ->willReturn(Changes::fromList(Change::removed('foo', true))); |
|
40 | 40 | |
41 | 41 | self::assertEquals( |
42 | 42 | Changes::fromList(Change::removed('foo', true)), |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | |
65 | 65 | $check = $this->createMock(MethodBased::class); |
66 | 66 | $check->expects(self::never()) |
67 | - ->method('__invoke'); |
|
67 | + ->method('__invoke'); |
|
68 | 68 | |
69 | 69 | self::assertEquals( |
70 | 70 | Changes::empty(), |