src/Helper/TableManipulation.php
public static function checkTableDoesNotExist($strTableName)
    {
        self::checkTablename($strTableName);
        if (self::getDB()->tableExists($strTableName, null, true)) {
            throw new \Exception(sprintf($GLOBALS['TL_LANG']['ERR']['tableExists'], $strTableName));
        }
    }
public static function checkTableDoesNotExist($strTableName)
    {
        self::checkTablename($strTableName);
        if (self::getDB()->tableExists($strTableName, null, true)) {
            throw new \Exception(sprintf($GLOBALS['TL_LANG']['ERR']['tableExists'], $strTableName));
        }
    }
public static function checkTableDoesNotExist ( $ strTableName ) { self :: checkTablename ( $ strTableName ) ; if ( self :: getDB ( ) -> tableExists ( $ strTableName , null , true ) ) { throw new \ Exception ( sprintf ( $ GLOBALS [ 'TL_LANG' ] [ 'ERR' ] [ 'tableExists' ] , $ strTableName ) ) ; } }
Ensures that the given table does not exist.

@param string $strTableName The table name to check.

@return void

@throws \Exception If an invalid table name has been passed or a table with the given name exists.

@SuppressWarnings(PHPMD.Superglobals)
@SuppressWarnings(PHPMD.CamelCaseVariableName)
Ensures that the given table does not exist .