| Total Complexity | 4 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class FirstDataNotificationResourceRoutePlugin extends AbstractPlugin implements ResourceRoutePluginInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * {@inheritDoc} |
||
| 20 | * - Configures available actions for `first-data-notifications` resource. |
||
| 21 | * |
||
| 22 | * @api |
||
| 23 | * |
||
| 24 | * @param \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRouteCollectionInterface $resourceRouteCollection |
||
| 25 | * |
||
| 26 | * @return \Spryker\Glue\GlueApplicationExtension\Dependency\Plugin\ResourceRouteCollectionInterface |
||
| 27 | */ |
||
| 28 | public function configure(ResourceRouteCollectionInterface $resourceRouteCollection): ResourceRouteCollectionInterface |
||
| 29 | { |
||
| 30 | return $resourceRouteCollection->addPost('post', false); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritDoc} |
||
| 35 | * |
||
| 36 | * @api |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getResourceType(): string |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritDoc} |
||
| 47 | * |
||
| 48 | * @api |
||
| 49 | * |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | public function getController(): string |
||
| 53 | { |
||
| 54 | return 'first-data-notifications-resource'; |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritDoc} |
||
| 59 | * |
||
| 60 | * @api |
||
| 61 | * |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | public function getResourceAttributesClassName(): string |
||
| 67 | } |
||
| 68 | } |
||
| 69 |
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