Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
11 | class SerializeAsStringSubscriberHandler implements SubscribingHandlerInterface |
||
12 | { |
||
13 | public static function getSubscribingMethods(): array |
||
14 | { |
||
15 | return [ |
||
16 | [ |
||
17 | 'direction' => GraphNavigator::DIRECTION_SERIALIZATION, |
||
18 | 'format' => 'json', |
||
19 | 'type' => 'enum', |
||
20 | 'method' => 'serializeEnum', |
||
21 | ] |
||
22 | ]; |
||
23 | } |
||
24 | |||
25 | public function serializeEnum(VisitorInterface $visitor, Enum $enum, array $type, Context $context) |
||
29 | } |
||
30 | } |
||
31 |
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