Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class IsAuthorizedConditionPlugin extends AbstractPlugin implements ConditionInterface |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritDoc} |
||
23 | * - Checks if FirstDataNotification exists with given `transactionId` in the database. |
||
24 | * - Returns true if notification has APPROVED status. |
||
25 | * |
||
26 | * @api |
||
27 | * |
||
28 | * @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem $orderItem |
||
29 | * |
||
30 | * @return bool |
||
31 | */ |
||
32 | public function check(SpySalesOrderItem $orderItem): bool |
||
44 |
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