mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-12 00:59:49 +01:00
81e53ce0ff
This changset also adds unit tests for Comments and adds a way to test the pretty printer.
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 |