diff -up ./tests/CodeExporterTest.php.old ./tests/CodeExporterTest.php --- ./tests/CodeExporterTest.php.old 2021-11-05 12:23:16.685055861 +0100 +++ ./tests/CodeExporterTest.php 2021-11-05 12:23:19.837046004 +0100 @@ -21,7 +21,7 @@ final class CodeExporterTest extends Tes */ public function testCanExportGlobalVariablesToCode(): void { - $GLOBALS = ['foo' => 'bar']; + $GLOBALS['foo'] = 'bar'; $snapshot = new Snapshot(null, true, false, false, false, false, false, false, false, false);