bluzphp /
module-phones
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * @namespace |
||
| 5 | */ |
||
| 6 | |||
| 7 | namespace Application\UsersPhones; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Class Table for `users_phones` |
||
| 11 | * |
||
| 12 | * @package Application\UsersPhones |
||
| 13 | * |
||
| 14 | * @author Anton Shevchuk |
||
| 15 | * @created 2017-11-21 18:26:26 |
||
| 16 | */ |
||
| 17 | class Table extends \Bluz\Db\Table |
||
|
0 ignored issues
–
show
|
|||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Pending phone verification |
||
| 21 | */ |
||
| 22 | public const STATUS_PENDING = 'pending'; |
||
| 23 | /** |
||
| 24 | * Active phone number |
||
| 25 | */ |
||
| 26 | public const STATUS_ACTIVE = 'active'; |
||
| 27 | /** |
||
| 28 | * Disabled by administrator or by user |
||
| 29 | */ |
||
| 30 | public const STATUS_DISABLED = 'disabled'; |
||
| 31 | /** |
||
| 32 | * Removed by user |
||
| 33 | */ |
||
| 34 | public const STATUS_DELETED = 'deleted'; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var string |
||
| 38 | */ |
||
| 39 | protected $name = 'users_phones'; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @var string |
||
| 43 | */ |
||
| 44 | protected $rowClass = Row::class; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Primary key(s) |
||
| 48 | * @var array |
||
| 49 | */ |
||
| 50 | protected $primary = ['id']; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * Init table relations |
||
| 54 | * |
||
| 55 | * @return void |
||
| 56 | */ |
||
| 57 | public function init(): void |
||
| 58 | { |
||
| 59 | $this->linkTo('userId', 'Users', 'id'); |
||
| 60 | } |
||
| 61 | } |
||
| 62 |
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