diff options
author | Remi Collet <remi@remirepo.net> | 2021-11-05 12:28:11 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2021-11-05 12:28:11 +0100 |
commit | 759412d5a4a994fb0af0b9b5948fd52640de32ae (patch) | |
tree | bf734d035fa30808899b92632af3d9ed666b6659 /php-sebastian-global-state4-tests.patch | |
parent | 9274d803e3d82230361f71d81c4bfd2554581b82 (diff) |
Diffstat (limited to 'php-sebastian-global-state4-tests.patch')
-rw-r--r-- | php-sebastian-global-state4-tests.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-sebastian-global-state4-tests.patch b/php-sebastian-global-state4-tests.patch new file mode 100644 index 0000000..6ed9d52 --- /dev/null +++ b/php-sebastian-global-state4-tests.patch @@ -0,0 +1,12 @@ +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); + |