yii2-apidoc: Error: Getting unknown property: yii\apidoc\models\InterfaceDoc::parentClass
When i run the console command to generate a json version of the docs i get:
Error: Getting unknown property: yii\apidoc\models\InterfaceDoc::parentClass
the sh file
#!/bin/sh
LUYA=vendor/luyadev/luya/core
ADMIN=vendor/luyadev/luya-module-admin/src
CMS=vendor/luyadev/luya-module-cms/src
SUITE=vendor/luyadev/luya-testsuite
YII=vendor/yiisoft/yii2
HELPERS=vendor/luyadev/yii-helpers/src
OUTPUT=data
./vendor/bin/apidoc api $LUYA,$ADMIN,$CMS,$YII,$SUITE,$HELPERS $OUTPUT --interactive=0 --template=json
Could not dig deeper but, it seems the process ends afterwards.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 23 (17 by maintainers)
Commits related to this issue
- #210: Fixed invalid attempt to scan parent class of interface with `@inheritdoc` tag on a method — committed to yiisoft/yii2-apidoc by deleted user 3 years ago
@brandonkelly I’m afraid I cannot give you such easy solution, I still work on a new version, that will handle PHP7.2+ code specific things.
This should throw the error:
At the end you have
Error: Getting unknown property: yii\apidoc\models\InterfaceDoc::parentClasswhile generating your also able to see the other error, mentioned in issues:Yes, it’s fixed.
Thanks @bizley. Yes, everything that finishes the docs and generating an output is a good result in this case 😃
@samdark @bizley Added
sorry for not providing that directly
PHP 7.2.24-0ubuntu0.18.04.8 (cli) (built: Jul 5 2021 17:41:32) ( NTS )