[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
|
|
@ -31,8 +31,8 @@ class check {
|
|||
$extra=array();
|
||||
$extrags=array();
|
||||
$df=get_defined_functions();
|
||||
$df=array_flip($df[internal]);
|
||||
foreach($_original_functions[internal] as $func) unset($df[$func]);
|
||||
$df=array_flip($df['internal']);
|
||||
foreach($_original_functions['internal'] as $func) unset($df[$func]);
|
||||
// Now chop out any get/set accessors
|
||||
foreach(array_keys($df) as $func)
|
||||
if ((self::GETSET && preg_match('/_[gs]et$/', $func)) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue