Skip to content

Commit e2aae61

Browse files
committed
Test fixes
1 parent 4387fd4 commit e2aae61

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

ext/pdo_mysql/tests/pdo_mysql_subclass.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ $db->exec('DROP TABLE IF EXISTS test');
7878
?>
7979
--EXPECTF--
8080
__construct('%S', '%S', %s)
81+
82+
Deprecated: Use of "parent" in callables is deprecated in %s on line %d
8183
exec('DROP TABLE IF EXISTS test')
8284
exec('CREATE TABLE test(id INT)')
8385
exec('INSERT INTO test(id) VALUES (1), (2)')

ext/pdo_sqlite/tests/pdo_fetch_func_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ function "" not found or invalid function name
126126
PDOStatement::fetchAll(): Argument #2 must be a callable, null given
127127
no array or string given
128128
cannot access "self" when no class scope is active
129+
130+
Deprecated: Use of "parent" in callables is deprecated in %s on line %d
129131
array(2) {
130132
[0]=>
131133
string(9) "--- 1 ---"

ext/spl/tests/bug65006.phpt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ second::init();
2222
var_dump(spl_autoload_functions());
2323

2424
?>
25-
--EXPECT--
25+
--EXPECTF--
26+
Deprecated: Use of "self" in callables is deprecated in %s on line %d
27+
28+
Deprecated: Use of "self" in callables is deprecated in %s on line %d
2629
array(2) {
2730
[0]=>
2831
array(2) {

0 commit comments

Comments
 (0)