| Total Complexity | 6 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Event |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var bool Whether no further event listeners should be triggered |
||
| 18 | */ |
||
| 19 | private $propagationStopped = false; |
||
| 20 | 242 | ||
| 21 | /** |
||
| 22 | 242 | * @var TypeArray |
|
|
|
|||
| 23 | 242 | */ |
|
| 24 | 242 | protected $type; |
|
| 25 | |||
| 26 | 2 | /** |
|
| 27 | * @var Context |
||
| 28 | 2 | */ |
|
| 29 | private $context; |
||
| 30 | |||
| 31 | 18 | /** |
|
| 32 | * @param TypeArray $type |
||
| 33 | 18 | */ |
|
| 34 | public function __construct(Context $context, array $type) |
||
| 35 | { |
||
| 36 | 216 | $this->context = $context; |
|
| 37 | $this->type = $type; |
||
| 38 | 216 | } |
|
| 39 | |||
| 40 | public function getVisitor(): VisitorInterface |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getContext(): Context |
||
| 46 | { |
||
| 47 | return $this->context; |
||
| 48 | 28 | } |
|
| 49 | |||
| 50 | 28 | public function getType(): array |
|
| 53 | } |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Returns whether further event listeners should be triggered. |
||
| 57 | * |
||
| 58 | * @see Event::stopPropagation() |
||
| 59 | * |
||
| 60 | 10 | * @return bool Whether propagation was already stopped for this event |
|
| 61 | */ |
||
| 62 | 10 | public function isPropagationStopped(): bool |
|
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * Stops the propagation of the event to further event listeners. |
||
| 69 | * |
||
| 70 | * If multiple event listeners are connected to the same event, no |
||
| 71 | * further event listener will be triggered once any trigger calls |
||
| 72 | * stopPropagation(). |
||
| 73 | */ |
||
| 74 | public function stopPropagation(): void |
||
| 79 |
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