| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | #[OA\Schema( |
||
| 14 | schema: 'AuthRequest', |
||
| 15 | properties: [ |
||
| 16 | new OA\Property(property: 'login', type: 'string', example: 'Opal1144'), |
||
| 17 | new OA\Property(property: 'password', type: 'string', example: 'Opal1144'), |
||
| 18 | ] |
||
| 19 | )] |
||
| 20 | final class AuthRequest implements RequestInputInterface, RulesProviderInterface |
||
| 21 | { |
||
| 22 | #[Body('login')] |
||
| 23 | private string $login = ''; |
||
| 24 | |||
| 25 | #[Body('password')] |
||
| 26 | private string $password = ''; |
||
| 27 | |||
| 28 | public function getLogin(): string |
||
| 29 | { |
||
| 30 | return $this->login; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getPassword(): string |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getRules(): array |
||
| 46 | ], |
||
| 47 | ]; |
||
| 50 |
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