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