summaryrefslogtreecommitdiff
path: root/tests/classes/factory_and_singleton_004.phpt
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-05-26 14:10:57 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-10 21:05:28 +0200
commitd30cd7d7e7ddd0d06c18c47f43c7d2ee00de24a1 (patch)
tree33fdeac65ef66eb3db6066af396763fae391bef9 /tests/classes/factory_and_singleton_004.phpt
parent2ad75ba78440eeffbde35a12c666d5f55aaf631a (diff)
downloadphp-git-d30cd7d7e7ddd0d06c18c47f43c7d2ee00de24a1.tar.gz
Review the usage of apostrophes in error messages
Closes GH-5590
Diffstat (limited to 'tests/classes/factory_and_singleton_004.phpt')
-rw-r--r--tests/classes/factory_and_singleton_004.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/factory_and_singleton_004.phpt b/tests/classes/factory_and_singleton_004.phpt
index 41e278bdb9..f813f8e604 100644
--- a/tests/classes/factory_and_singleton_004.phpt
+++ b/tests/classes/factory_and_singleton_004.phpt
@@ -13,7 +13,7 @@ $obj = new test;
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Uncaught Error: Call to private test::__construct() from invalid context in %s:%d
+Fatal error: Uncaught Error: Call to private test::__construct() from global scope in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d