diff options
Diffstat (limited to '0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch')
-rw-r--r-- | 0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch b/0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch deleted file mode 100644 index 062543e..0000000 --- a/0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 0aa5b47574a6c4e6a034bfdb41a91f4a0699fb9d Mon Sep 17 00:00:00 2001 -From: Nikita Popov <nikita.ppv@gmail.com> -Date: Fri, 17 Mar 2017 18:20:25 +0100 -Subject: [PATCH] Fix ast_dump_with_linenos.phpt test - ---- - tests/ast_dump_with_linenos.phpt | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/tests/ast_dump_with_linenos.phpt b/tests/ast_dump_with_linenos.phpt -index 2b7c67a..abba57a 100644 ---- a/tests/ast_dump_with_linenos.phpt -+++ b/tests/ast_dump_with_linenos.phpt -@@ -1,7 +1,11 @@ - --TEST-- - ast_dump() with AST_DUMP_LINENOS - --SKIPIF-- --<?php if (!extension_loaded("ast")) print "skip"; ?> -+<?php -+if (!extension_loaded("ast")) print "skip"; -+if (PHP_VERSION_ID >= 70000 && PHP_VERSION_ID < 70018) print "skip buggy PHP version"; -+if (PHP_VERSION_ID >= 70100 && PHP_VERSION_ID < 70104) print "skip buggy PHP version"; -+?> - --FILE-- - <?php - -@@ -22,8 +26,6 @@ PHP; - $ast = ast\parse_code($code, $version=30); - echo ast_dump($ast, AST_DUMP_LINENOS); - --// The lineno for AST_ARG_LIST is wrong... -- - ?> - --EXPECT-- - AST_STMT_LIST @ 1 -@@ -37,7 +39,7 @@ AST_STMT_LIST @ 1 - expr: AST_NAME @ 6 - flags: NAME_NOT_FQ (1) - name: "var_dump" -- args: AST_ARG_LIST @ 8 -+ args: AST_ARG_LIST @ 7 - 0: AST_VAR @ 7 - name: "foo" - returnType: null |