1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-03 17:57:59 +01:00
PHP-Parser/test/code/parser/stmt/namespace
Nikita Popov 719ca71d4a Distinguish declare(); and declare(){}
It makes semantic difference and the latter form is actually
forbidden for strict_types.

This sets Declare->stmts to null for the body-less case.
2015-12-07 12:12:00 +01:00
..
alias.test Support mixed group use declarations 2015-06-13 11:27:38 +02:00
braced.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
groupUse.test Update group use support 2015-08-20 16:42:49 +02:00
groupUseErrors.test Update group use support 2015-08-20 16:42:49 +02:00
invalidName.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
mix.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
name.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
nested.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00
notBraced.test Insert comments when pretty printing 2012-05-11 16:18:14 +02:00
outsideStmt.test Distinguish declare(); and declare(){} 2015-12-07 12:12:00 +01:00
outsideStmtInvalid.test Don't distinguish test-fail / test 2015-04-30 17:45:36 +02:00