hoaproject / Console

The Hoa\Console library.
https://hoa-project.net/
366 stars 32 forks source link

Namespace conflit with library not yet updated #38

Closed Pierozi closed 9 years ago

Pierozi commented 9 years ago

The recent change on commit add3edbef for remove from_import have break Bin of library still continue to use namespace declaration with bracketed.

$ hoa worker:start -h
PHP Fatal error:  Cannot mix bracketed namespace declarations with unbracketed namespace declarations in /usr/local/lib/Hoa.central/Hoa/Console/Dispatcher/Kit.php on line 37

A few library are impacted :

Hywan commented 9 years ago

This is a bug in PHP, not in Hoa. But yes, we have to drop PHP5.3 on all libraries to fix it.