| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function up() |
||
| 16 | { |
||
| 17 | $blocked = new BlockedType(); |
||
| 18 | $connection = $blocked->getConnectionName(); |
||
| 19 | $table = $blocked->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->string('slug')->unique(); |
||
| 26 | $table->string('name'); |
||
| 27 | $table->timestamps(); |
||
| 28 | $table->softDeletes(); |
||
| 29 | }); |
||
| 47 |
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