Trismegiste / Mondrian

A static php code analysis tool using the Graph Theory
http://trismegiste.github.io/Mondrian/
397 stars 22 forks source link

Housekeeping #26

Closed sebastianbergmann closed 11 years ago

Trismegiste commented 11 years ago

Thanks for the PR but the shebang fails the phar builded with the tool kherge/box

I will investigate how to prevent this minor problem.

$ ./mondrian.phar

PHP Fatal error:  Namespace declaration statement has to be the very first state
ment in the script in phar://C:/Users/flo/Documents/NetBeansProjects/Mondrian/Re
sources/box/mondrian.phar/mondrian.php on line 10
sebastianbergmann commented 11 years ago

Have a look at PHPUnit, PHPLOC, PHPCPD, ... for how I build PHARs using PHPAB.

Trismegiste commented 11 years ago

I've fixed the problem with the phar. I've tried PHPAB it seems to me too complicated.

Anyway, this problem and some experiments help me to fix another old bug #22 I couldn't figure out.

Thanx !