Fixed dependency on nikic/php-parser to stay < 1.0

1.0-dev has breaking changes so phpdoc will not work anymore when using that version.

Fixed composer dependency so that it will only install compatible versions.