mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-04 10:18:09 +01:00
0731b47655
With error recovery this is fluid. Using .test for everything.
13 lines
311 B
Plaintext
13 lines
311 B
Plaintext
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 |