Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class UuidPlugin implements NormalizerProviderInterface, SchemaProviderInterface |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritDoc} |
||
15 | */ |
||
16 | public function getNormalizers(): array |
||
17 | { |
||
18 | return [ |
||
19 | new UuidNormalizer() |
||
20 | ]; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * {@inheritDoc} |
||
25 | */ |
||
26 | public function getDefinedStaticData(): array |
||
27 | { |
||
28 | return [ |
||
29 | UuidInterface::class => SchemaFactory::createStringSchema('uuid') |
||
30 | ]; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritDoc} |
||
35 | */ |
||
36 | public function getDynamicSchemaLogic(): array |
||
39 | } |
||
40 | } |
||
41 |
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