Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function change() |
||
32 | { |
||
33 | $table = $this->table('push'); |
||
34 | $table |
||
35 | ->addColumn('userId', 'integer') |
||
36 | ->addColumn('authToken', 'string', ['length' => 255]) |
||
37 | ->addColumn('contentEncoding', 'string', ['length' => 255]) |
||
38 | ->addColumn('endpoint', 'text') |
||
39 | ->addColumn('publicKey', 'text') |
||
40 | ->addTimestamps('created', 'updated') |
||
41 | ->addForeignKey('userId', 'users', 'id', [ |
||
42 | 'delete' => 'CASCADE', |
||
43 | 'update' => 'CASCADE' |
||
44 | ]) |
||
45 | ->create(); |
||
46 | } |
||
48 |
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