Code Duplication    Length = 8-8 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 464-471 (lines=8) @@
461
        }
462
    }
463
464
    public function columnExists()
465
    {
466
        foreach ($this->columns as $column) {
467
            list($tableName, $columnName) = explode('.', $column);
468
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
469
            $this->I->assertTrue($exists, 'カラムがあるはず '.$column);
470
        }
471
    }
472
473
    public function columnNotExists()
474
    {
@@ 473-480 (lines=8) @@
470
        }
471
    }
472
473
    public function columnNotExists()
474
    {
475
        foreach ($this->columns as $column) {
476
            list($tableName, $columnName) = explode('.', $column);
477
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '${tableName}' AND column_name = '${columnName}';")->fetch()['count'] == 1;
478
            $this->I->assertFalse($exists, 'カラムがないはず '.$column);
479
        }
480
    }
481
482
    public function traitExists()
483
    {