Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / namespace / notBraced.test
index d4d1017b31981a781d60f73bc617309ea9a806df..aa34fc5c3b8cf242c0b6233771a23cb77097eccb 100644 (file)
@@ -17,10 +17,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
+                        )
                     )
                 )
             )
@@ -33,10 +35,12 @@ array(
             )
         )
         stmts: array(
-            0: Expr_ConstFetch(
-                name: Name(
-                    parts: array(
-                        0: bar
+            0: Stmt_Expression(
+                expr: Expr_ConstFetch(
+                    name: Name(
+                        parts: array(
+                            0: bar
+                        )
                     )
                 )
             )