owncloud/core

View on GitHub
apps/files_trashbin/appinfo/Migrations/Version20170804201125.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method changeSchema has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function changeSchema(Schema $schema, array $options) {
        $prefix = $options['tablePrefix'];
        if (!$schema->hasTable("{$prefix}files_trash")) {
            $table = $schema->createTable("{$prefix}files_trash");
            $table->addColumn('auto_id', 'bigint', [
Severity: Major
Found in apps/files_trashbin/appinfo/Migrations/Version20170804201125.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status