| Total Complexity | 3 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class TemplateRegistration implements SubscriberInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $pluginDirectory; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \Enlight_Template_Manager |
||
| 19 | */ |
||
| 20 | private $templateManager; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * TemplateRegistration constructor. |
||
| 24 | * |
||
| 25 | * @param $pluginDirectory |
||
| 26 | * @param \Enlight_Template_Manager $templateManager |
||
| 27 | */ |
||
| 28 | public function __construct( |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public static function getSubscribedEvents() |
||
| 43 | ]; |
||
| 44 | } |
||
| 45 | |||
| 46 | public function onPreDispatch() |
||
| 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