protected function setUpEnvironment()
    {
        $dotEnv = new Dotenv();
        $dotEnv->populate($this->getEnvironmentVars());

        $envFilePath = Path::getProjectRoot('/.env');
        if (is_readable($envFilePath)) {
            $dotEnv->load($envFilePath);
        }

        $errorLogFile = getenv('ERROR_LOG');

        /**
         * Wordpress use it to log down self errors
         */
        ini_set('error_log',Path::getProjectRoot($errorLogFile));
    }