[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,9 +4,9 @@ require "tests.php";
|
|||
require "director_stl.php";
|
||||
|
||||
// No new functions
|
||||
check::functions(array(foo_bar,foo_ping,foo_pong,foo_tping,foo_tpong,foo_pident,foo_vident,foo_vsecond,foo_tpident,foo_tvident,foo_tvsecond,foo_vidents,foo_tvidents));
|
||||
check::functions(array('foo_bar','foo_ping','foo_pong','foo_tping','foo_tpong','foo_pident','foo_vident','foo_vsecond','foo_tpident','foo_tvident','foo_tvsecond','foo_vidents','foo_tvidents'));
|
||||
// No new classes
|
||||
check::classes(array(Foo));
|
||||
check::classes(array('Foo'));
|
||||
// now new vars
|
||||
check::globals(array());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue