-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Our developer docs fail to build:
# /home/builder/scripts/develdocs/vendor/bin/apigen generate --debug --todo --source libraries/ --destination /home/builder/scripts/develdocs/output/phpmyadmin
Fatal error: Cannot use 'Object' as class name as it is reserved in /home/builder/scripts/develdocs/vendor/latte/latte/src/Latte/Object.php on line 14
ErrorException: Cannot use 'Object' as class name as it is reserved in /home/builder/scripts/develdocs/vendor/latte/latte/src/Latte/Object.php:14
Stack trace:
#0 [internal function]: Tracy\Debugger::shutdownHandler()
#1 {main}
Unable to log error: Logging directory is not specified.
Looks like a problem with ApiGen: ApiGen/ApiGen#1039
We're on version 4, which is no longer supported. The poster's solution there was to upgrade to the current version 5, (which is still technically in pre-release form).
However, if I try with current dev-master, it fails with a memory error:
vendor/bin/apigen generate /var/www/pma-dev/fork/libraries/ --destination output
Parsing reflections (this may take a while)...
mmap() failed: [12] Cannot allocate memory
Segmentation fault
I've allocated 8000M and still get errors. Another user had trouble but seems to have resolved it with a memory limit of 512M.
Metadata
Metadata
Assignees
Labels
No labels