| Total Complexity | 0 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | #[ApiResource(operations: [new Post(status: 202)], formats: ['jsonld', 'json', 'html', 'jsonhal', 'csv' => ['text/csv']], security: 'is_granted(\'PUBLIC_ACCESS\')', messenger: true)] |
||
| 16 | final class RecoveryAccess |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @Assert\NotBlank |
||
| 20 | */ |
||
| 21 | public $hash; |
||
| 22 | /** |
||
| 23 | * @Assert\NotBlank |
||
| 24 | */ |
||
| 25 | public $lost; |
||
| 26 | /** |
||
| 27 | * @Assert\NotBlank |
||
| 28 | * @Assert\Length( |
||
| 29 | * min = 6, |
||
| 30 | * minMessage = "Your password name must be at least {{ limit }} characters long", |
||
| 31 | * ) |
||
| 32 | * @Assert\NotCompromisedPassword |
||
| 33 | */ |
||
| 34 | public $password; |
||
| 35 | /** |
||
| 36 | * @Assert\NotBlank |
||
| 37 | * @Assert\Expression( |
||
| 38 | * "this.password === this.confirm", |
||
| 39 | * message="Password and Confirm Password must be identical" |
||
| 40 | * ) |
||
| 41 | */ |
||
| 42 | public $confirm; |
||
| 43 | } |
||
| 44 |
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