Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function testCompare(): void |
||
16 | { |
||
17 | $reflectorFactory = new DirectoryReflectorFactory(); |
||
18 | self::assertSame( |
||
19 | [ |
||
20 | '[BC] Parameter something in Thing::__construct has been deleted', |
||
21 | '[BC] Method methodGone in class Thing has been deleted', |
||
22 | '[BC] Class ClassGone has been deleted', |
||
23 | ], |
||
24 | (new Comparator())->compare( |
||
25 | $reflectorFactory->__invoke(__DIR__ . '/../asset/api/old'), |
||
26 | $reflectorFactory->__invoke(__DIR__ . '/../asset/api/new') |
||
27 | ) |
||
31 |