Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpDocumentor issue on make framework #9313

Closed
alecpl opened this issue Jan 21, 2024 · 1 comment
Closed

phpDocumentor issue on make framework #9313

alecpl opened this issue Jan 21, 2024 · 1 comment
Milestone

Comments

@alecpl
Copy link
Member

alecpl commented Jan 21, 2024

When executing make framework it fails on phpDocumentor use:

(cd roundcube-framework-1.6-git; php /tmp/phpDocumentor.phar -d . -t ./doc --title="Roundcube Framework" --defaultpackagename="Framework" --template="clean")
                              
  Command "." is not defined.  

make: *** [Makefile:43: framework] Error 1

It 's some problem with the newest version of phpDocumentor (3.4). The older one works fine.

Looks like the proper command is php /tmp/phpDocumentor.phar run ... but then it throws tons of text to console and takes long time, so something's still wrong.

EDIT: The console is full of "PHP Deprecated: Please use getType in phar:///tmp/phpDocumentor.phar/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50" errors with long backtraces. So, adding -d error_reporting=24575 as php argument would be enough if not the fact that the command invokes subcommands that ignore this setting. Reference: phpDocumentor/phpDocumentor#3638

@alecpl
Copy link
Member Author

alecpl commented Jan 21, 2024

Fixed.

@alecpl alecpl closed this as completed Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant