| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | final class ContactForm extends FormModel implements RulesProviderInterface, PropertyTranslatorProviderInterface |
||
| 17 | { |
||
| 18 | private string $name = ''; |
||
| 19 | private string $email = ''; |
||
| 20 | private string $subject = ''; |
||
| 21 | private string $body = ''; |
||
| 22 | |||
| 23 | #[UploadedFiles('ContactForm.attachFiles')] |
||
| 24 | private array $attachFiles = []; |
||
| 25 | |||
| 26 | public function getPropertyLabels(): array |
||
| 33 | ]; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getFormName(): string |
||
| 37 | { |
||
| 38 | return 'ContactForm'; |
||
| 39 | } |
||
| 40 | |||
| 41 | public function getRules(): array |
||
| 48 | ]; |
||
| 49 | } |
||
| 50 | |||
| 51 | public function getPropertyTranslator(): ?PropertyTranslatorInterface |
||
| 56 |
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