/** * Release the scoped environment. * * @return void * @task internal */ public function __destruct() { if (!$this->isPopped) { PhabricatorEnv::popTestEnvironment($this->key); $this->isPopped = true; } }