Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / namespace / outsideStmtInvalid.test
index 737112d735a719996a5d92a6f3ce95f307cb4dc1..85bd1808180a7aad512e2ef52f221fbd673ec21d 100644 (file)
@@ -76,7 +76,9 @@ array(
     1: Stmt_Declare(
         declares: array(
             0: Stmt_DeclareDeclare(
-                key: ticks
+                key: Identifier(
+                    name: ticks
+                )
                 value: Scalar_LNumber(
                     value: 1
                 )
@@ -84,13 +86,15 @@ array(
         )
         stmts: null
     )
-    2: Expr_FuncCall(
-        name: Name(
-            parts: array(
-                0: foo
+    2: Stmt_Expression(
+        expr: Expr_FuncCall(
+            name: Name(
+                parts: array(
+                    0: foo
+                )
+            )
+            args: array(
             )
-        )
-        args: array(
         )
     )
     3: Stmt_Namespace(