[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
|
|
@ -8,11 +8,11 @@ require "director_thread.php";
|
|||
exit(0);
|
||||
|
||||
// No new functions
|
||||
check::functions(array(millisecondsleep,foo_stop,foo_run,foo_do_foo));
|
||||
check::functions(array('millisecondsleep','foo_stop','foo_run','foo_do_foo'));
|
||||
// No new classes
|
||||
check::classes(array(director_thread,Foo));
|
||||
check::classes(array('director_thread','Foo'));
|
||||
// now new vars
|
||||
check::globals(array(foo_val));
|
||||
check::globals(array('foo_val'));
|
||||
|
||||
class Derived extends Foo {
|
||||
function do_foo() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue