| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function testReceivedPlayersHistory(): void |
||
| 22 | { |
||
| 23 | $history = new History(new HistoryId()); |
||
| 24 | $history->changeLevel(2); |
||
| 25 | |||
| 26 | $history2 = new History(new HistoryId()); |
||
| 27 | $history2->changeLevel(1); |
||
| 28 | |||
| 29 | $repository = new InMemoryHistoryDao($history, $history2); |
||
| 30 | $playerHistory = new PlayerHistory($repository); |
||
| 31 | |||
| 32 | $result = $playerHistory->__invoke(); |
||
| 33 | |||
| 34 | self::assertCount(2, $result); |
||
| 35 | } |
||
| 37 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths