| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | abstract class AbstractParserTest extends TestCase |
||
| 12 | { |
||
| 13 | /** @var Parser */ |
||
| 14 | private $parser; |
||
| 15 | |||
| 16 | public function validUserAgentsDataProvider(): array |
||
| 22 | ], |
||
| 23 | ]; |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function setParser(Parser $parser): void |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @test |
||
| 33 | * @dataProvider validUserAgentsDataProvider |
||
| 34 | * |
||
| 35 | * @param string $userAgent |
||
| 36 | * @param UserAgent $expectedUserAgent |
||
| 37 | */ |
||
| 38 | public function parseValidUserAgent(string $userAgent, UserAgent $expectedUserAgent): void |
||
| 43 | } |
||
| 44 | } |
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