| Total Complexity | 5 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class InvoiceSubForm extends SubFormAbstract |
||
| 17 | { |
||
| 18 | public const PAYMENT_METHOD = 'invoice'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param \Symfony\Component\OptionsResolver\OptionsResolver $resolver |
||
| 22 | * |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function configureOptions(OptionsResolver $resolver) |
||
| 26 | { |
||
| 27 | $resolver->setDefaults([ |
||
| 28 | 'data_class' => RatepayPaymentInvoiceTransfer::class, |
||
| 29 | SubFormInterface::OPTIONS_FIELD_NAME => [], |
||
| 30 | ]); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @deprecated Use `configureOptions()` instead. |
||
| 35 | * |
||
| 36 | * @param \Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver |
||
| 37 | * |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | public function setDefaultOptions(OptionsResolverInterface $resolver) |
||
| 41 | { |
||
| 42 | $this->configureOptions($resolver); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | public function getPropertyPath() |
||
| 49 | { |
||
| 50 | return RatepayConfig::PAYMENT_METHOD_INVOICE; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getName() |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | public function getTemplatePath() |
||
| 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