Conditions | 1 |
Paths | 1 |
Total Lines | 33 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function up(): void |
||
13 | { |
||
14 | //Action when migrate up |
||
15 | $this->create('oauth_authorization_codes', function (CreateTable $table) { |
||
16 | $table->string('authorization_code', 100) |
||
17 | ->notNull() |
||
18 | ->description('The authorization code') |
||
19 | ->primary(); |
||
20 | |||
21 | $table->string('redirect_uri', 2000) |
||
22 | ->description('The client redirect uri'); |
||
23 | |||
24 | $table->string('scope', 2000) |
||
25 | ->description('The authorization code scopes separated with space if many'); |
||
26 | |||
27 | $table->datetime('expires') |
||
28 | ->notNull() |
||
29 | ->description('The authorization code expire time'); |
||
30 | |||
31 | $table->integer('user_id') |
||
32 | ->description('The owner of authorization code'); |
||
33 | |||
34 | $table->string('client_id') |
||
35 | ->description('The authorization code client') |
||
36 | ->notNull(); |
||
37 | |||
38 | $table->timestamps(); |
||
39 | |||
40 | $table->foreign('client_id') |
||
41 | ->references('oauth_clients', 'id') |
||
42 | ->onDelete('NO ACTION'); |
||
43 | |||
44 | $table->engine('INNODB'); |
||
45 | }); |
||
54 |
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