Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / stmt / tryWithoutCatch.test
index ad113d94ed5f866c5b93f46d2676008c07b320ee..5650d80ac58e96a694d315e0ac5c24c789d92c0f 100644 (file)
@@ -10,13 +10,15 @@ Cannot use try without catch or finally from 3:1 to 5:1
 array(
     0: Stmt_TryCatch(
         stmts: array(
-            0: Expr_FuncCall(
-                name: Name(
-                    parts: array(
-                        0: foo
+            0: Stmt_Expression(
+                expr: Expr_FuncCall(
+                    name: Name(
+                        parts: array(
+                            0: foo
+                        )
+                    )
+                    args: array(
                     )
-                )
-                args: array(
                 )
             )
         )