Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create( |
||
17 | 'visitor_requests', |
||
18 | function (Blueprint $table) { |
||
19 | $table->increments('id'); |
||
20 | $table->unsignedInteger('visitor_id'); |
||
21 | $table->string('domain')->nullable(); |
||
22 | $table->string('method')->nullable(); |
||
23 | $table->string('path')->nullable(); |
||
24 | $table->string('route')->nullable(); |
||
25 | $table->string('referer')->nullable(); |
||
26 | $table->boolean('is_secure')->default(false); |
||
27 | $table->boolean('is_ajax')->default(false); |
||
28 | $table->timestamps(); |
||
29 | |||
30 | $table->foreign('visitor_id') |
||
31 | ->references('id') |
||
32 | ->on('visitors') |
||
33 | ->onDelete('cascade'); |
||
34 | } |
||
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