[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 "arrays_scope.php";
|
||||
|
||||
// New functions
|
||||
check::functions(array(new_bar,bar_blah));
|
||||
check::functions(array('new_bar','bar_blah'));
|
||||
// New classes
|
||||
check::classes(array(arrays_scope,Bar));
|
||||
check::classes(array('arrays_scope','Bar'));
|
||||
// New vars
|
||||
check::globals(array(bar_adata,bar_bdata,bar_cdata));
|
||||
check::globals(array('bar_adata','bar_bdata','bar_cdata'));
|
||||
|
||||
$bar=new bar();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue