Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class AddColumnBirthYearAndDeathYearToPeopleTable extends Migration |
||
8 | { |
||
9 | /** |
||
10 | * Run the migrations. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::table('people', function (Blueprint $table) { |
||
17 | $table->smallInteger('birth_year')->nullable()->after('birthday'); |
||
18 | $table->smallInteger('death_year')->nullable()->after('deathday'); |
||
19 | }); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Reverse the migrations. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function down() |
||
31 | }); |
||
32 | } |
||
34 |
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