Total Complexity | 5 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class CashOnDeliverySubForm extends AbstractPayoneSubForm |
||
20 | { |
||
21 | public const PAYMENT_METHOD = 'cash_on_delivery'; |
||
22 | |||
23 | /** |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getName(): string |
||
27 | { |
||
28 | return PaymentTransfer::PAYONE_CASH_ON_DELIVERY; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getPropertyPath(): string |
||
35 | { |
||
36 | return PaymentTransfer::PAYONE_CASH_ON_DELIVERY; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getTemplatePath(): string |
||
43 | { |
||
44 | return PayoneConstants::PROVIDER_NAME . '/' . self::PAYMENT_METHOD; |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | public function configureOptions(OptionsResolver $resolver): void |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
61 | * |
||
62 | * @return void |
||
63 | */ |
||
64 | public function setDefaultOptions(OptionsResolver $resolver): void |
||
67 | } |
||
68 | } |
||
69 |
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