[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:
Olly Betts 2019-02-08 15:32:30 +13:00
commit cadd97ac4f
47 changed files with 112 additions and 112 deletions

View file

@ -3,9 +3,9 @@
require "tests.php";
require "director_protected.php";
check::functions(array(foo_pong,foo_s,foo_q,foo_ping,foo_pang,foo_used,foo_cheer,bar_create,bar_callping,bar_callcheer,bar_cheer,bar_pong,bar_used,bar_ping,bar_pang,a_draw,b_draw));
check::classes(array(Foo,Bar,PrivateFoo,A,B,AA,BB));
check::globals(array(bar_a));
check::functions(array('foo_pong','foo_s','foo_q','foo_ping','foo_pang','foo_used','foo_cheer','bar_create','bar_callping','bar_callcheer','bar_cheer','bar_pong','bar_used','bar_ping','bar_pang','a_draw','b_draw'));
check::classes(array('Foo','Bar','PrivateFoo','A','B','AA','BB'));
check::globals(array('bar_a'));
class FooBar extends Bar {
protected function ping() {