| Total Complexity | 5 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class PhpunitListener implements ListenerInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var TestCase |
||
| 17 | */ |
||
| 18 | private $testCase; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | private $exampleName; |
||
| 24 | |||
| 25 | public function __construct(TestCase $testCase) |
||
| 28 | } |
||
| 29 | |||
| 30 | public function onExample(Example $example): void |
||
| 31 | { |
||
| 32 | $this->exampleName = $example->getName(); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function onIgnoredExample(Example $example): void |
||
| 36 | { |
||
| 37 | } |
||
| 38 | |||
| 39 | public function onExpectation(Status $status): void |
||
| 47 | ); |
||
| 48 | } |
||
| 49 | } |
||
| 51 |
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