[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
1eee194a88
commit
704ec59f29
47 changed files with 95 additions and 99 deletions
|
|
@ -2,11 +2,11 @@
|
|||
require "tests.php";
|
||||
require "arrays.php";
|
||||
|
||||
check::functions(array(fn_taking_arrays,newintpointer,setintfrompointer,getintfrompointer,array_pointer_func));
|
||||
check::classes(array(arrays,SimpleStruct,ArrayStruct,CartPoseData_t));
|
||||
check::functions(array('fn_taking_arrays','newintpointer','setintfrompointer','getintfrompointer','array_pointer_func'));
|
||||
check::classes(array('arrays','SimpleStruct','ArrayStruct','CartPoseData_t'));
|
||||
|
||||
$ss=new simplestruct();
|
||||
check::classname(simplestruct,$ss);
|
||||
check::classname('simplestruct',$ss);
|
||||
|
||||
$as=new arraystruct();
|
||||
$as->array_c="abc";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue