| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class Row extends \Bluz\Db\Row |
||
| 27 | { |
||
| 28 | use Validator; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | protected function afterRead(): void |
||
| 34 | { |
||
| 35 | $this->addValidator('userId') |
||
| 36 | ->numeric() |
||
| 37 | ->required(); |
||
| 38 | |||
| 39 | $this->addValidator('number') |
||
| 40 | ->numeric() |
||
| 41 | ->length(12, 12) |
||
| 42 | ->required(); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * getUser |
||
| 47 | * |
||
| 48 | * @return \Application\Users\Row|false |
||
| 49 | * @throws \Bluz\Db\Exception\RelationNotFoundException |
||
| 50 | * @throws \Bluz\Db\Exception\TableNotFoundException |
||
| 51 | */ |
||
| 52 | public function getUser() |
||
| 55 | } |
||
| 56 | } |
||
| 57 |
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