| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ExplorerPageDisplayVariantSubscriber implements EventSubscriberInterface { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Disables any display variant on the explorer page. |
||
| 16 | * |
||
| 17 | * @param \Drupal\Core\Render\PageDisplayVariantSelectionEvent $event |
||
| 18 | * The event to process. |
||
| 19 | */ |
||
| 20 | public function onSelectPageDisplayVariant(PageDisplayVariantSelectionEvent $event) { |
||
| 23 | } |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public static function getSubscribedEvents() { |
||
| 37 |
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