| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function testInvoke(): void |
||
| 17 | { |
||
| 18 | $foundMoreNews = new ComparingTwoGroups( |
||
| 19 | self::KEY, |
||
| 20 | ['a', 'b'], |
||
| 21 | ['c', 'd'], |
||
| 22 | ); |
||
| 23 | |||
| 24 | $company = $this->createCompanyWithNews([ |
||
| 25 | '0m' => [ |
||
| 26 | 'a' => '1', |
||
| 27 | 'b' => '2', |
||
| 28 | 'c' => '3', |
||
| 29 | 'd' => '4', |
||
| 30 | ], |
||
| 31 | '-1m' => [ |
||
| 32 | 'a' => '1', |
||
| 33 | 'b' => '2', |
||
| 34 | 'c' => '3', |
||
| 35 | 'd' => '4', |
||
| 36 | ], |
||
| 37 | ]); |
||
| 38 | // ((1 + 2) * 2) > ((3 + 4) * 2) |
||
| 39 | self::assertFalse($foundMoreNews($company)); |
||
| 40 | } |
||
| 52 |
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