| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class CommentDependencyProvider extends SprykerCommentDependencyProvider |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @return array<\Spryker\Zed\CommentExtension\Dependency\Plugin\CommentValidatorPluginInterface> |
||
| 22 | */ |
||
| 23 | protected function getCommentValidatorPlugins(): array |
||
| 24 | { |
||
| 25 | return [ |
||
| 26 | new SharedCartAccessCommentValidatorPlugin(), |
||
| 27 | ]; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return list<\Spryker\Zed\CommentExtension\Dependency\Plugin\CommentAuthorValidatorStrategyPluginInterface> |
||
|
|
|||
| 32 | */ |
||
| 33 | protected function getCommentAuthorValidatorStrategyPlugins(): array |
||
| 34 | { |
||
| 35 | return [ |
||
| 36 | new CustomerCommentAuthorValidationStrategyPlugin(), |
||
| 37 | new UserCommentAuthorValidationStrategyPlugin(), |
||
| 38 | ]; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return list<\Spryker\Zed\CommentExtension\Dependency\Plugin\CommentExpanderPluginInterface> |
||
| 43 | */ |
||
| 44 | protected function getCommentExpanderPlugins(): array |
||
| 48 | ]; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |
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