X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2FerrorHandling%2FeofError.test;fp=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2FerrorHandling%2FeofError.test;h=012841def0d8b7e773937de474f5261cbd140572;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=92951b7f26f7594a0a89049be1200174606b321a;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/vendor/nikic/php-parser/test/code/parser/errorHandling/eofError.test b/vendor/nikic/php-parser/test/code/parser/errorHandling/eofError.test index 92951b7f2..012841def 100644 --- a/vendor/nikic/php-parser/test/code/parser/errorHandling/eofError.test +++ b/vendor/nikic/php-parser/test/code/parser/errorHandling/eofError.test @@ -4,10 +4,12 @@ Error positions ----- Syntax error, unexpected EOF from 1:10 to 1:10 array( - 0: Expr_ConstFetch( - name: Name( - parts: array( - 0: foo + 0: Stmt_Expression( + expr: Expr_ConstFetch( + name: Name( + parts: array( + 0: foo + ) ) ) ) @@ -17,10 +19,12 @@ array( ----- Syntax error, unexpected EOF from 1:20 to 1:20 array( - 0: Expr_ConstFetch( - name: Name( - parts: array( - 0: foo + 0: Stmt_Expression( + expr: Expr_ConstFetch( + name: Name( + parts: array( + 0: foo + ) ) ) )