Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class IsFullOrderCancelledConditionPlugin extends SprykerAbstractPlugin implements ConditionInterface |
||
19 | { |
||
20 | protected const STATE_MACHINE_FLAG_CANCELLED = 'cancelled'; |
||
21 | |||
22 | /** |
||
23 | * {@inheritDoc} |
||
24 | * - Checks if 1 hour passed after order was placed. |
||
25 | * |
||
26 | * @api |
||
27 | * |
||
28 | * @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem $orderItem |
||
29 | * |
||
30 | * @return bool |
||
31 | */ |
||
32 | public function check(SpySalesOrderItem $orderItem): bool |
||
39 |
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