| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function rename($column) |
||
| 41 | { |
||
| 42 | $renameTo = $this->schema->output()->choice('Rename to ? :', $this->schema->schemaUnsyncedColumnsOutput(), 0); |
||
| 43 | |||
| 44 | LaravelSchema::table($this->schema->name, function (Blueprint $table) use ($column, $renameTo) { |
||
| 45 | $table->renameColumn($column, $renameTo); |
||
| 46 | }); |
||
| 47 | |||
| 48 | $this->schema->output()->warn("Column <fg=black;bg=yellow> {$this->schema->name}->{$column} </> was renamed to '{$renameTo}'"); |
||
| 49 | } |
||
| 56 |
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