apie-lib /
value-object-plugin
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Apie\ValueObjectPlugin; |
||
| 4 | |||
| 5 | |||
| 6 | use Apie\Core\PluginInterfaces\NormalizerProviderInterface; |
||
| 7 | use Apie\Core\PluginInterfaces\SchemaProviderInterface; |
||
| 8 | use Apie\ValueObjectPlugin\Normalizers\ValueObjectNormalizer; |
||
| 9 | use Apie\ValueObjects\ValueObjectInterface; |
||
| 10 | use W2w\Lib\Apie\Plugins\ValueObject\Schema\ValueObjectSchemaBuilder; |
||
|
0 ignored issues
–
show
|
|||
| 11 | |||
| 12 | class ValueObjectPlugin implements NormalizerProviderInterface, SchemaProviderInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * {@inheritDoc} |
||
| 16 | */ |
||
| 17 | public function getNormalizers(): array |
||
| 18 | { |
||
| 19 | return [ |
||
| 20 | new ValueObjectNormalizer() |
||
| 21 | ]; |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritDoc} |
||
| 26 | */ |
||
| 27 | public function getDefinedStaticData(): array |
||
| 28 | { |
||
| 29 | return [ |
||
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritDoc} |
||
| 35 | */ |
||
| 36 | public function getDynamicSchemaLogic(): array |
||
| 37 | { |
||
| 38 | return [ |
||
| 39 | ValueObjectInterface::class => new ValueObjectSchemaBuilder() |
||
| 40 | ]; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
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