Code Duplication    Length = 7-7 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 523-529 (lines=7) @@
520
        $this->config = Fixtures::get('config');
521
    }
522
523
    public function tableExists()
524
    {
525
        foreach ($this->tables as $table) {
526
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
527
            $this->I->assertTrue($exists, 'テーブルがあるはず '.$table);
528
        }
529
    }
530
531
    public function tableNotExists()
532
    {
@@ 531-537 (lines=7) @@
528
        }
529
    }
530
531
    public function tableNotExists()
532
    {
533
        foreach ($this->tables as $table) {
534
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
535
            $this->I->assertFalse($exists, 'テーブルがないはず '.$table);
536
        }
537
    }
538
539
    public function columnExists()
540
    {