Skip to content

Commit

Permalink
Merge pull request #43 from bbatsche/fix-dynamic-property
Browse files Browse the repository at this point in the history
Warning When Backing Up Globals
  • Loading branch information
jakzal authored Jul 12, 2023
2 parents 9b69242 + 75dffef commit e270a94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/GlobalsContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ final class GlobalsContainer
{
use SingletonTrait;

private array $server;
private array $env;
private array $getenv;

private function __construct()
{
}
Expand Down
1 change: 0 additions & 1 deletion tests/Stub/CombinedExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

final class CombinedExtension implements BeforeTestHook, AfterTestHook
{

public function executeBeforeTest(string $test): void
{
GlobalsContainer::getInstance()->backupGlobals();
Expand Down

0 comments on commit e270a94

Please sign in to comment.