1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-12-13 18:07:32 +01:00
PHP-Parser/test/code/parser/stmt/namespace/mix.test-fail

13 lines
311 B
Plaintext
Raw Normal View History

Namespace types cannot be mixed
-----
<?php
namespace A;
namespace B {}
-----
Cannot mix bracketed namespace declarations with unbracketed namespace declarations on line 3
-----
<?php
namespace A {}
namespace B;
-----
Cannot mix bracketed namespace declarations with unbracketed namespace declarations on line 3