yii2-apidoc icon indicating copy to clipboard operation
yii2-apidoc copied to clipboard

Error: Method deprecated, use ::getParameters()

Open neoacevedo opened this issue 8 months ago • 1 comments
trafficstars

When I try to run as ./vendor/bin/apidoc api ./vendor/yiisoft/yii2,. output I'm getting the error Error: Method deprecated, use ::getParameters() and the api doc isn't generated, but if I run as ./vendor/bin/apidoc api . output the api doc is generated but obviously the yiisoft/yii2 directory will be ignored.

Basically, you can't generate any api doc for any package inside vendor folder, or you can't generate api doc from multiple source files, you can ONLY generate the api doc for a only source, your Yii2 project apidoc api . output (excluding by default the vendor directory), or an specific folder apidoc api the/path/folder output but not multiple folders.

neoacevedo avatar Feb 24 '25 16:02 neoacevedo