1 | <?php |
||
2 | |||
3 | namespace pjpawel\Magis\View; |
||
4 | |||
5 | /** |
||
6 | * @author Paweł Podgórski <[email protected]> |
||
7 | */ |
||
8 | enum Event |
||
9 | { |
||
10 | |||
11 | case BeginPage; |
||
12 | case Head; |
||
13 | case BeforeBody; |
||
14 | case BeginBody; |
||
15 | case EndBody; |
||
16 | case EndPage; |
||
17 | case AfterRender; |
||
18 | |||
19 | /** |
||
20 | * @return list<self> All events in order |
||
0 ignored issues
–
show
|
|||
21 | */ |
||
22 | public static function getAllEvents(): array |
||
23 | { |
||
24 | return [ |
||
0 ignored issues
–
show
|
|||
25 | self::BeginPage, |
||
26 | self::Head, |
||
27 | self::BeforeBody, |
||
28 | self::BeginBody, |
||
29 | self::EndBody, |
||
30 | self::EndPage, |
||
31 | self::AfterRender |
||
32 | ]; |
||
33 | } |
||
34 | } |
||
35 |
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