theseer / Autoload

A lightweight php namespace aware autoload generator and phar archive builder
Other
388 stars 47 forks source link

Can't generate autoloader for nikic/php-parser #96

Closed remicollet closed 4 years ago

remicollet commented 4 years ago
phpab 1.25.9 - Copyright (C) 2009 - 2020 by Arne Blankerts and Contributors

Scanning directory lib/PhpParser
Could not process file '/dev/shm/BUILD/PHP-Parser-1c13d05035deff45f1230ca68bd7d74d621762d9/lib/PhpParser/Error.php' due to parse errors: Parse error while trying to process class definition (unexpected token in name).

This only happens with PHP 7.3, ok with PHP 7.4

remicollet commented 4 years ago

Nah... php 8.0 was badly enable during the build

theseer commented 4 years ago

The master branch should also work with PHP 8.0.

I'll be releasing a new version of it soon, still pondering whether or not I want to still test things with 7.1 and older. Currently, it's tested on 7.2+ but should ( :-/ ) work with 5.6 as advertised..