| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function up() |
||
| 16 | { |
||
| 17 | $tableName = config('apikey.table_name.api_auth_access_events'); |
||
| 18 | |||
| 19 | Schema::create($tableName, function (Blueprint $table) { |
||
| 20 | $table->increments('id'); |
||
| 21 | $table->string('appid')->comment('Appid'); |
||
| 22 | $table->ipAddress('ip_address')->comment('IP'); |
||
| 23 | $table->text('url'); |
||
| 24 | $table->json('params')->nullable()->comment('Params'); |
||
| 25 | $table->string('type', 10)->default('GET')->comment('GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, PATCH, PURGE, TRACE'); |
||
| 26 | $table->timestamps(); |
||
| 27 | }); |
||
| 28 | |||
| 29 | DB::statement("ALTER TABLE `{$tableName}` comment 'Api Access Logs'"); |
||
| 30 | } |
||
| 44 |
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