Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function testInvoke(): void |
||
17 | { |
||
18 | $foundMoreNews = new IsBuyHigherThanSell(self::TREND); |
||
19 | |||
20 | $company = $this->createCompanyWithNews([ |
||
21 | '0m' => [ |
||
22 | 'strongBuy' => '1', |
||
23 | 'buy' => '2', |
||
24 | 'sell' => '3', |
||
25 | 'strongSell' => '4', |
||
26 | ], |
||
27 | '-1m' => [ |
||
28 | 'strongBuy' => '1', |
||
29 | 'buy' => '2', |
||
30 | 'sell' => '3', |
||
31 | 'strongSell' => '4', |
||
32 | ], |
||
33 | ]); |
||
34 | // ((1 + 2) * 2) > ((3 + 4) * 2) |
||
35 | self::assertFalse($foundMoreNews($company)); |
||
36 | } |
||
48 |
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