| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 34 | public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) |
||
| 35 | { |
||
| 36 | /** @var ISchemaWrapper $schema */ |
||
| 37 | $schema = $schemaClosure(); |
||
| 38 | |||
| 39 | $table = $schema->getTable('analytics_report'); |
||
| 40 | if (!$table->hasColumn('tableoptions')) { |
||
| 41 | $table->addColumn('tableoptions', 'string', [ |
||
| 42 | 'notnull' => false, |
||
| 43 | 'length' => 1000, |
||
| 44 | ]); |
||
| 45 | } |
||
| 46 | return $schema; |
||
| 47 | } |
||
| 48 | } |
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