1 | <?php |
||
2 | |||
3 | /** |
||
4 | * @namespace |
||
5 | */ |
||
6 | |||
7 | namespace Application\Payments; |
||
8 | |||
9 | /** |
||
10 | * Class Table for `payments` |
||
11 | * |
||
12 | * @package Application\Payments |
||
13 | * |
||
14 | * @method static Row create(array $data = []) |
||
15 | * @see \Bluz\Db\Table::create() |
||
16 | * @method static Row findRow($primaryKey) |
||
17 | * @see \Bluz\Db\Table::findRow() |
||
18 | * @method static Row findRowWhere($whereList) |
||
19 | * @see \Bluz\Db\Table::findRowWhere() |
||
20 | * |
||
21 | * @author dev |
||
22 | * @created 2017-11-02 10:31:59 |
||
23 | */ |
||
24 | class Table extends \Bluz\Db\Table |
||
0 ignored issues
–
show
|
|||
25 | { |
||
26 | public const PROVIDER_LIQPAY = 'liqpay'; |
||
27 | public const PROVIDER_PAYPAL = 'paypal'; |
||
28 | public const PROVIDER_STRIPE = 'stripe'; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $name = 'payments'; |
||
34 | |||
35 | protected $rowClass = Row::class; |
||
36 | |||
37 | /** |
||
38 | * Primary key(s) |
||
39 | * @var array |
||
40 | */ |
||
41 | protected $primary = ['id']; |
||
42 | |||
43 | /** |
||
44 | * init |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function init(): void |
||
49 | { |
||
50 | $this->linkTo('transactionId', 'Transactions', 'id'); |
||
51 | } |
||
52 | } |
||
53 |
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