[php] Fix widespread use of bare strings in testsuite

These generate warnings with PHP 7.3, which will become errors in a
future version.
This commit is contained in:
Olly Betts 2019-02-08 15:32:30 +13:00
commit cadd97ac4f
47 changed files with 112 additions and 112 deletions

View file

@ -4,11 +4,11 @@ require "tests.php";
require "threads_exception.php";
// Check functions
check::functions(array(test_simple,test_message,test_hosed,test_unknown,test_multi,is_python_builtin));
check::functions(array('test_simple','test_message','test_hosed','test_unknown','test_multi','is_python_builtin'));
// Check classes.
check::classes(array(Exc,Test,threads_exception));
check::classes(array('Exc','Test','threads_exception'));
// Check globals.
check::globals(array(exc_code,exc_msg));
check::globals(array('exc_code','exc_msg'));
$t = new Test();
try {