Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
29
vendor/nikic/php-parser/test/code/parser/stmt/tryWithoutCatch.test
vendored
Normal file
29
vendor/nikic/php-parser/test/code/parser/stmt/tryWithoutCatch.test
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
Cannot use try without catch or finally
|
||||
-----
|
||||
<?php
|
||||
|
||||
try {
|
||||
foo();
|
||||
}
|
||||
-----
|
||||
Cannot use try without catch or finally from 3:1 to 5:1
|
||||
array(
|
||||
0: Stmt_TryCatch(
|
||||
stmts: array(
|
||||
0: Stmt_Expression(
|
||||
expr: Expr_FuncCall(
|
||||
name: Name(
|
||||
parts: array(
|
||||
0: foo
|
||||
)
|
||||
)
|
||||
args: array(
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
catches: array(
|
||||
)
|
||||
finally: null
|
||||
)
|
||||
)
|
Reference in a new issue