| Conditions | 2 |
| Paths | 2 |
| Total Lines | 21 |
| Code Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function up() |
||
| 16 | { |
||
| 17 | $activity = new Activity(); |
||
| 18 | $connection = $activity->getConnectionName(); |
||
| 19 | $table = $activity->getTableName(); |
||
| 20 | $tableCheck = Schema::connection($connection)->hasTable($table); |
||
| 21 | |||
| 22 | if (!$tableCheck) { |
||
| 23 | Schema::connection($connection)->create($table, function (Blueprint $table) { |
||
| 24 | $table->increments('id'); |
||
| 25 | $table->longText('description'); |
||
| 26 | $table->string('userType'); |
||
| 27 | $table->integer('userId')->nullable(); |
||
| 28 | $table->longText('route')->nullable(); |
||
| 29 | $table->ipAddress('ipAddress')->nullable(); |
||
| 30 | $table->text('userAgent')->nullable(); |
||
| 31 | $table->string('locale')->nullable(); |
||
| 32 | $table->longText('referer')->nullable(); |
||
| 33 | $table->string('methodType')->nullable(); |
||
| 34 | $table->timestamps(); |
||
| 35 | $table->softDeletes(); |
||
| 36 | }); |
||
| 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