| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class ContactForm extends FormModel implements RulesProviderInterface |
||
| 14 | { |
||
| 15 | private string $name = ''; |
||
| 16 | private string $email = ''; |
||
| 17 | private string $subject = ''; |
||
| 18 | private string $body = ''; |
||
| 19 | |||
| 20 | #[UploadedFiles('ContactForm.attachFiles')] |
||
| 21 | private array $attachFiles = []; |
||
| 22 | |||
| 23 | public function getPropertyLabels(): array |
||
| 24 | { |
||
| 25 | return [ |
||
| 26 | 'name' => 'Name', |
||
| 27 | 'email' => 'Email', |
||
| 28 | 'subject' => 'Subject', |
||
| 29 | 'body' => 'Body', |
||
| 30 | ]; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getFormName(): string |
||
| 34 | { |
||
| 35 | return 'ContactForm'; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getRules(): array |
||
| 45 | ]; |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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