| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class ValidatorFactory implements ValidatorFactoryInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \SprykerEco\Zed\AkeneoPimMiddlewareConnector\Dependency\Facade\AkeneoPimMiddlewareConnectorToProductFacadeBridgeInterface |
||
| 18 | */ |
||
| 19 | protected $productFacade; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param \SprykerEco\Zed\AkeneoPimMiddlewareConnector\Dependency\Facade\AkeneoPimMiddlewareConnectorToProductFacadeBridgeInterface $productFacade |
||
| 23 | */ |
||
| 24 | public function __construct(AkeneoPimMiddlewareConnectorToProductFacadeBridgeInterface $productFacade) |
||
| 25 | { |
||
| 26 | $this->productFacade = $productFacade; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $validatorClassName |
||
| 31 | * |
||
| 32 | * @return \SprykerMiddleware\Zed\Process\Business\Validator\Validators\ValidatorInterface |
||
| 33 | */ |
||
| 34 | public function createValidator(string $validatorClassName): ValidatorInterface |
||
| 35 | { |
||
| 36 | return new $validatorClassName(); |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return \SprykerMiddleware\Zed\Process\Business\Validator\Validators\ValidatorInterface |
||
| 41 | */ |
||
| 42 | public function createProductAbstractExistValidator(): ValidatorInterface |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
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