Code Duplication    Length = 7-7 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

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