Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / namespace / braced.test
index 1fefc1d3f1399ab386e8b353350fcf32cf916a4e..a057352f413525e46afab8be3a0106b8c8549e9b 100644 (file)
@@ -18,10 +18,12 @@ array(
             )
         )
         stmts: array(
-            0: Expr_ConstFetch(
-                name: Name(
-                    parts: array(
-                        0: foo
+            0: Stmt_Expression(
+                expr: Expr_ConstFetch(
+                    name: Name(
+                        parts: array(
+                            0: foo
+                        )
                     )
                 )
             )
@@ -30,10 +32,12 @@ array(
     1: Stmt_Namespace(
         name: null
         stmts: array(
-            0: Expr_ConstFetch(
-                name: Name(
-                    parts: array(
-                        0: bar
+            0: Stmt_Expression(
+                expr: Expr_ConstFetch(
+                    name: Name(
+                        parts: array(
+                            0: bar
+                        )
                     )
                 )
             )