hoaproject/Console

Namespace conflit with library not yet updated

Pierozi opened this issue · 1 comments

The recent change on commit add3edb 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 :

  • Hoa\HTTP
  • Hoa\Praspel
  • Hoa\Realdom
  • Hoa\Worker
  • Hoa\Xml

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