d3yii2/yii2-d3acc

View on GitHub
migrations/m161018_184508_add_balance.php

Summary

Maintainability
A
1 hr
Test Coverage

Method safeUp has 34 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: Minor
Found in migrations/m161018_184508_add_balance.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status