Skip to content
Snippets Groups Projects
Commit 83f50375 authored by Patrick Radtke's avatar Patrick Radtke
Browse files

Make array syntax 5.3 compatible

parent 6419eb1a
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class ClearStateTestListener extends \PHPUnit_Framework_BaseTestListener
self::$backups['$_GET'] = $_GET;
self::$backups['$_POST'] = $_POST;
self::$backups['$_SERVER'] = $_SERVER;
self::$backups['$_SESSION'] = isset($_SESSION) ? $_SESSION : [];
self::$backups['$_SESSION'] = isset($_SESSION) ? $_SESSION : array();
self::$backups['$_REQUEST'] = $_REQUEST;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment