Skip to content

Commit bc4ccdc

Browse files
TysonAndrenikic
authored andcommitted
Fix test expectations in PHP 8.0
1 parent 5b6f45e commit bc4ccdc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/php74_type_hints.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ AST_STMT_LIST
125125
flags: MODIFIER_PRIVATE (%d)
126126
type: AST_NULLABLE_TYPE
127127
type: AST_TYPE
128-
flags: TYPE_ITERABLE (18)
128+
flags: TYPE_ITERABLE (%d)
129129
props: AST_PROP_DECL
130130
flags: 0
131131
0: AST_PROP_ELEM

tests/short_arrow_function_return.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo "Same representation in version 50/70: ";
2424
var_export($version_50_repr == $version_70_repr);
2525
echo "\n";
2626
?>
27-
--EXPECT--
27+
--EXPECTF--
2828
AST_STMT_LIST
2929
0: AST_ARROW_FUNC
3030
flags: MODIFIER_STATIC (16)
@@ -44,7 +44,7 @@ AST_STMT_LIST
4444
0: AST_PARAM
4545
flags: 0
4646
type: AST_TYPE
47-
flags: TYPE_ITERABLE (18)
47+
flags: TYPE_ITERABLE (%d)
4848
name: "i"
4949
default: null
5050
stmts: AST_RETURN

0 commit comments

Comments
 (0)