kohana/core — pull request #476 by jeffchan (2014-04-12 05:00:14+00:00)
Title: Simplify Kohana::globals() test

This simplifies the `test_globals_removes_user_def_globals` test
to take advantage of PHPUnit's backupGlobals option which is on
by default. There's no need to backup globals.

In addition, changed to avoid directly assigning to $GLOBALS,
since it is not allowed in HHVM. See:
https://github.com/facebook/hhvm/blob/master/hphp/doc/inconsistencies#L127