[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:
parent
21b3c06de6
commit
cadd97ac4f
47 changed files with 112 additions and 112 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue