Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CreateLocalesTable extends Migration |
||
8 | { |
||
9 | /** |
||
10 | * Run the migrations. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create(config('seo-manager.database.locales_table'), function (Blueprint $table) { |
||
17 | $table->increments('id'); |
||
18 | $table->string('name'); |
||
19 | $table->timestamps(); |
||
20 | }); |
||
21 | |||
22 | \Illuminate\Support\Facades\DB::table(config('seo-manager.database.locales_table'))->insert([ |
||
23 | 'name' => config('seo-manager.locale'), |
||
24 | 'created_at' => \Carbon\Carbon::now(), |
||
25 | 'updated_at' => \Carbon\Carbon::now() |
||
26 | ]); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Reverse the migrations. |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | public function down() |
||
37 | } |
||
38 | } |
||
39 |
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