Skip to content

Commit

Permalink
fix filepos test
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-therond committed Jan 11, 2024
1 parent 952634c commit a6b9dd8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/PHPCfg/AttributesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,28 +157,28 @@ function foo(\$a) {
Stmt_Function<'foo'>
attribute['filename']: foo.php
attribute['startLine']: 2
attribute['startFilePos']: 7
attribute['startFilePos']: 6
attribute['endLine']: 4
attribute['endFilePos']: 43
attribute['endFilePos']: 40
Terminal_Return
Function 'foo': mixed
Block#1
Expr_Param
attribute['filename']: foo.php
attribute['startLine']: 2
attribute['startFilePos']: 20
attribute['startFilePos']: 19
attribute['endLine']: 2
attribute['endFilePos']: 21
attribute['endFilePos']: 20
declaredType: mixed
name: LITERAL('a')
result: Var#1<\$a>
Terminal_Return
attribute['filename']: foo.php
attribute['startLine']: 3
attribute['startFilePos']: 31
attribute['startFilePos']: 29
attribute['endLine']: 3
attribute['endFilePos']: 40
attribute['endFilePos']: 38
expr: Var#1<\$a>
EOF;

Expand Down

0 comments on commit a6b9dd8

Please sign in to comment.