Code Duplication    Length = 7-7 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 504-510 (lines=7) @@
501
        $this->config = Fixtures::get('config');
502
    }
503
504
    public function tableExists()
505
    {
506
        foreach ($this->tables as $table) {
507
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
508
            $this->I->assertTrue($exists, 'テーブルがあるはず '.$table);
509
        }
510
    }
511
512
    public function tableNotExists()
513
    {
@@ 512-518 (lines=7) @@
509
        }
510
    }
511
512
    public function tableNotExists()
513
    {
514
        foreach ($this->tables as $table) {
515
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$table."';")->fetch()['count'] > 0;
516
            $this->I->assertFalse($exists, 'テーブルがないはず '.$table);
517
        }
518
    }
519
520
    public function columnExists()
521
    {