| Total Complexity | 7 |
| Total Lines | 78 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class Statuses { |
||
| 28 | /** |
||
| 29 | * Authorized. |
||
| 30 | * |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | const AUTHORIZED = 'authorized'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Open. |
||
| 37 | * |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | const OPEN = 'open'; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Canceled. |
||
| 44 | * |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | const CANCELED = 'canceled'; |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Paid. |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | const PAID = 'paid'; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Expired. |
||
| 58 | * |
||
| 59 | * @var string |
||
| 60 | */ |
||
| 61 | const EXPIRED = 'expired'; |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Failed. |
||
| 65 | * |
||
| 66 | * @since 2.0.3 |
||
| 67 | * @var string |
||
| 68 | */ |
||
| 69 | const FAILED = 'failed'; |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Pending. |
||
| 73 | * |
||
| 74 | * @var string |
||
| 75 | */ |
||
| 76 | const PENDING = 'pending'; |
||
| 77 | |||
| 78 | /** |
||
| 79 | * Transform an Mollie state to an more global status. |
||
| 80 | * |
||
| 81 | * @param string $status Mollie status. |
||
| 82 | * |
||
| 83 | * @return string|null Pay status. |
||
| 84 | */ |
||
| 85 | public static function transform( $status ) { |
||
| 108 |
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