Code Duplication    Length = 8-8 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 520-527 (lines=8) @@
517
        }
518
    }
519
520
    public function columnExists()
521
    {
522
        foreach ($this->columns as $column) {
523
            list($tableName, $columnName) = explode('.', $column);
524
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
525
            $this->I->assertTrue($exists, 'カラムがあるはず '.$column);
526
        }
527
    }
528
529
    public function columnNotExists()
530
    {
@@ 529-536 (lines=8) @@
526
        }
527
    }
528
529
    public function columnNotExists()
530
    {
531
        foreach ($this->columns as $column) {
532
            list($tableName, $columnName) = explode('.', $column);
533
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
534
            $this->I->assertFalse($exists, 'カラムがないはず '.$column);
535
        }
536
    }
537
538
    public function traitExists()
539
    {