Code Duplication    Length = 7-7 lines in 2 locations

codeception/acceptance/EA10PluginCest.php 2 locations

@@ 306-312 (lines=7) @@
303
        $this->config = Fixtures::get('config');
304
    }
305
306
    protected function tableExists()
307
    {
308
        if ($this->table) {
309
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$this->table."';")->fetch()['count'] > 0;
310
            $this->I->assertTrue($exists, 'テーブルがあるはず');
311
        }
312
    }
313
314
    protected function tableNotExists()
315
    {
@@ 314-320 (lines=7) @@
311
        }
312
    }
313
314
    protected function tableNotExists()
315
    {
316
        if ($this->table) {
317
            $exists = $this->conn->executeQuery("SELECT count(*) AS count FROM information_schema.columns WHERE table_name = '".$this->table."';")->fetch()['count'] > 0;
318
            $this->I->assertFalse($exists, 'テーブルがないはず');
319
        }
320
    }
321
322
    protected function columnExists()
323
    {