d3yii2/yii2-d3acc

View on GitHub
migrations/m161009_181508_init.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method safeUp has 71 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function safeUp()
    {
        $sql = "   
            SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
            SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
Severity: Major
Found in migrations/m161009_181508_init.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status