Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function safeUp() |
||
11 | { |
||
12 | $this->createTable('user', [ |
||
13 | 'id' => $this->primaryKey(), |
||
14 | 'email' => $this->string(255)->notNull(), |
||
15 | 'username' => $this->string(255)->notNull(), |
||
16 | 'password' => $this->string(255)->notNull(), |
||
17 | 'verified' => $this->integer()->defaultValue(0), |
||
18 | 'otp_secret' => $this->string(600), |
||
19 | 'otp_enabled' => $this->integer()->defaultValue(0), |
||
20 | 'created_at' => $this->integer(), |
||
21 | 'updated_at' => $this->integer() |
||
22 | ]); |
||
23 | |||
24 | $this->createIndex('user__email_unique_index', 'user', ['email'], true); |
||
25 | $this->createIndex('user__username_unique_index', 'user', ['username'], true); |
||
26 | } |
||
35 | } |
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