| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | abstract class Annotation |
||
| 14 | { |
||
| 15 | use Injector; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Psr\Log\LoggerInterface |
||
| 19 | */ |
||
| 20 | protected $logger; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * constructor |
||
| 24 | * @param array $annotations |
||
| 25 | */ |
||
| 26 | 148 | public function __construct(array $annotations = []) |
|
| 27 | { |
||
| 28 | 148 | $this->logger = new class () { public function __call($name, $args) {} }; |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Injected event |
||
| 34 | * @param array $annotations |
||
| 35 | */ |
||
| 36 | abstract public function onInject(array $annotations); |
||
| 37 | } |
||
| 38 |
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