1 | <?php |
||
2 | |||
3 | /** |
||
4 | * @copyright Bluz PHP Team |
||
5 | * @link https://github.com/bluzphp/skeleton |
||
6 | */ |
||
7 | |||
8 | declare(strict_types=1); |
||
9 | |||
10 | namespace Application\UsersRoles; |
||
11 | |||
12 | /** |
||
13 | * Table of Users to Roles relations |
||
14 | * |
||
15 | * @package Application\Roles |
||
16 | * |
||
17 | * @method static Row|null findRow($primaryKey) |
||
18 | * @see \Bluz\Db\Table::findRow() |
||
19 | * @method static Row|null findRowWhere($whereList) |
||
20 | * @see \Bluz\Db\Table::findRowWhere() |
||
21 | */ |
||
22 | class Table extends \Bluz\Db\Table |
||
0 ignored issues
–
show
|
|||
23 | { |
||
24 | /** |
||
25 | * Table |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $name = 'acl_users_roles'; |
||
30 | |||
31 | /** |
||
32 | * Primary key(s) |
||
33 | * |
||
34 | * @var array |
||
35 | */ |
||
36 | protected $primary = ['userId', 'roleId']; |
||
37 | |||
38 | /** |
||
39 | * init |
||
40 | * |
||
41 | * @return void |
||
42 | */ |
||
43 | public function init(): void |
||
44 | { |
||
45 | $this->linkTo('userId', 'Users', 'id'); |
||
46 | $this->linkTo('roleId', 'Roles', 'id'); |
||
47 | } |
||
48 | } |
||
49 |
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