| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 18 | class CashOnDeliverySubForm extends AbstractPayoneSubForm |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | public const PAYMENT_METHOD = 'cash_on_delivery'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return string |
||
| 27 | */ |
||
| 28 | public function getName(): string |
||
| 29 | { |
||
| 30 | return PaymentTransfer::PAYONE_CASH_ON_DELIVERY; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getPropertyPath(): string |
||
| 37 | { |
||
| 38 | return PaymentTransfer::PAYONE_CASH_ON_DELIVERY; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
| 43 | * |
||
| 44 | * @return void |
||
| 45 | */ |
||
| 46 | public function configureOptions(OptionsResolver $resolver): void |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
| 55 | * |
||
| 56 | * @return void |
||
| 57 | */ |
||
| 58 | public function setDefaultOptions(OptionsResolver $resolver): void |
||
| 61 | } |
||
| 62 | } |
||
| 63 |
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