zendframework / Namespacer

PHP Class converter to namepaces.
19 stars 7 forks source link

Fatal error #1

Closed footcow closed 11 years ago

footcow commented 11 years ago

When I simply try to use the tool as you describe like this : ./namespacer.phar map --mapfile types.php --source ./site/

I get this result : PHP Fatal error: Constructor Zend\Stdlib\Glob::glob() cannot be static in phar:///var/www/femme2-zf2/namespacer/namespacer.phar/vendor/zendframework/zend-stdlib/Zend/Stdlib/Glob.php on line 2

Fatal error: Constructor Zend\Stdlib\Glob::glob() cannot be static in phar:///var/www/femme2-zf2/namespacer/namespacer.phar/vendor/zendframework/zend-stdlib/Zend/Stdlib/Glob.php on line 2

Thanks for your reply

weierophinney commented 11 years ago

You need a PHP version >= 5.3.3 to use the tool.

On Friday, May 17, 2013, Piedvache Hervé wrote:

When I simply try to use the tool as you describe like this : ./namespacer.phar map --mapfile types.php --source ./site/

I get this result : PHP Fatal error: Constructor Zend\Stdlib\Glob::glob() cannot be static in phar:///var/www/femme2-zf2/namespacer/namespacer.phar/vendor/zendframework/zend-stdlib/Zend/Stdlib/Glob.php on line 2

Fatal error: Constructor Zend\Stdlib\Glob::glob() cannot be static in phar:///var/www/femme2-zf2/namespacer/namespacer.phar/vendor/zendframework/zend-stdlib/Zend/Stdlib/Glob.php on line 2

Thanks for your reply

— Reply to this email directly or view it on GitHubhttps://github.com/zendframework/Namespacer/issues/1 .

Matthew Weier O'Phinney matthew@weierophinney.net http://mwop.net/

footcow commented 11 years ago

For sure 5.3.2 is not enought ... thanks sorry for disturbing ;)