| Total Complexity | 4 | 
| Total Lines | 38 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | final class Version0_17_1 extends AbstractMigration  | 
            ||
| 12 | { | 
            ||
| 13 | /**  | 
            ||
| 14 | * Up migration  | 
            ||
| 15 | *  | 
            ||
| 16 | * @param \Doctrine\DBAL\Schema\Schema $schema  | 
            ||
| 17 | */  | 
            ||
| 18 | public function up(Schema $schema)  | 
            ||
| 19 |     { | 
            ||
| 20 |         switch ($this->platform->getName()) { | 
            ||
| 21 | case 'postgresql':  | 
            ||
| 22 |                 $this->addSql('ALTER TABLE app_page_trans ADD presentation TEXT DEFAULT NULL'); | 
            ||
| 23 |                 $this->addSql('ALTER TABLE app_page_trans ADD data JSON NOT NULL DEFAULT \'{}\''); | 
            ||
| 24 |                 $this->addSql('COMMENT ON COLUMN app_page_trans.data IS \'(DC2Type:json_array)\''); | 
            ||
| 25 | break;  | 
            ||
| 26 | |||
| 27 | default:  | 
            ||
| 28 | $this->abortIf(true,'Migration cannot be executed on "'.$this->platform->getName().'".');  | 
            ||
| 29 | break;  | 
            ||
| 30 | }  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * Down migration  | 
            ||
| 35 | *  | 
            ||
| 36 | * @param \Doctrine\DBAL\Schema\Schema $schema  | 
            ||
| 37 | */  | 
            ||
| 38 | public function down(Schema $schema)  | 
            ||
| 49 | }  | 
            ||
| 50 | }  | 
            ||
| 52 | 
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