Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
26 | class BlogNotificationProcessor implements ProcessorInterface, SingletonInterface |
||
27 | { |
||
28 | /** |
||
29 | * @var Dispatcher |
||
30 | */ |
||
31 | protected $dispatcher; |
||
32 | |||
33 | /** |
||
34 | * Manual dependency injection. |
||
35 | */ |
||
36 | public function __construct() |
||
37 | { |
||
38 | $this->dispatcher = GeneralUtility::makeInstance(Dispatcher::class); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param NotificationInterface $notification |
||
43 | */ |
||
44 | public function process(NotificationInterface $notification) |
||
47 | } |
||
48 | } |
||
49 |
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