| Total Complexity | 6 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | abstract class AbstractByOrderItemConditionPlugin implements ConditionInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @return string|array |
||
| 17 | */ |
||
| 18 | abstract protected function getPaymentStatus(); |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem $orderItem |
||
| 22 | * |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | public function check(SpySalesOrderItem $orderItem) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $status |
||
| 38 | * |
||
| 39 | * @return bool |
||
| 40 | */ |
||
| 41 | protected function isMatchingStatus($status) |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem $orderItem |
||
| 54 | * |
||
| 55 | * @return \Orm\Zed\AmazonPay\Persistence\SpyPaymentAmazonpay|null |
||
|
1 ignored issue
–
show
|
|||
| 56 | */ |
||
| 57 | protected function getPaymentAmazonpayBySalesOrderItem(SpySalesOrderItem $orderItem) |
||
| 68 |
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