The build passes
phpDocumentor is throwing the following exception:
Attempted to call an undefined method named "getMethods" of class "phpDocumentor\Reflection\Fqsen".
See below for the full trace.
phpdoc -d lib/public/ -t "./api" -vIn MethodDescriptor.php line 241:
[Symfony\Component\ErrorHandler\Error\UndefinedMethodError]
Attempted to call an undefined method named "getMethods" of class "phpDocumentor\Reflection\Fqsen".
Exception trace:
at phar:///home/jus/repos/nextcloud/server/phpdoc/src/phpDocumentor/Descriptor/MethodDescriptor.php:241
phpDocumentor\Descriptor\MethodDescriptor->getInheritedElement() at phar:///home/jus/repos/nextcloud/server/phpdoc/src/phpDocumentor/Descriptor/DescriptorAbstract.php:171
phpDocumentor\Descriptor\DescriptorAbstract->getDescription() at phar:///home/jus/repos/nextcloud/server/phpdoc/src/phpDocumentor/Compiler/Pass/ExampleTagsEnricher.php:66
phpDocumentor\Compiler\Pass\ExampleTagsEnricher->replaceInlineExamples() at phar:///home/jus/repos/nextcloud/server/phpdoc/src/phpDocumentor/Compiler/Pass/ExampleTagsEnricher.php:57
phpDocumentor\Compiler\Pass\ExampleTagsEnricher->execute() at phar:///home/jus/repos/nextcloud/server/phpdoc/src/phpDocumentor/Pipeline/Stage/Transform.php:161
phpDocumentor\Pipeline\Stage\Transform->doTransform() at phar:///home/jus/repos/nextcloud/server/phpdoc/src/phpDocumentor/Pipeline/Stage/Transform.php:93
phpDocumentor\Pipeline\Stage\Transform->__invoke() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/league/pipeline/src/FingersCrossedProcessor.php:11
League\Pipeline\FingersCrossedProcessor->process() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/league/pipeline/src/Pipeline.php:34
League\Pipeline\Pipeline->process() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/league/pipeline/src/Pipeline.php:39
League\Pipeline\Pipeline->__invoke() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/league/pipeline/src/FingersCrossedProcessor.php:11
League\Pipeline\FingersCrossedProcessor->process() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/league/pipeline/src/Pipeline.php:34
League\Pipeline\Pipeline->process() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/league/pipeline/src/Pipeline.php:39
League\Pipeline\Pipeline->__invoke() at phar:///home/jus/repos/nextcloud/server/phpdoc/src/phpDocumentor/Console/Command/Project/RunCommand.php:280
phpDocumentor\Console\Command\Project\RunCommand->execute() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/symfony/console/Application.php:943
Symfony\Component\Console\Application->doRunCommand() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/symfony/framework-bundle/Console/Application.php:97
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/symfony/console/Application.php:265
Symfony\Component\Console\Application->doRun() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/symfony/framework-bundle/Console/Application.php:83
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at phar:///home/jus/repos/nextcloud/server/phpdoc/vendor/symfony/console/Application.php:141
Symfony\Component\Console\Application->run() at phar:///home/jus/repos/nextcloud/server/phpdoc/bin/phpdoc:43
require() at /home/jus/repos/nextcloud/server/phpdoc:14
Fixed in master. Will be part of the next release.
@jaapio any plans for that next release already? It's been a while :)
@nickvergessen Since this issue was closed we have released a new RC; and you can try our nightly builds from the Github Actions panel. With every commit we do on master; a new version of the phar is built and published there.
We currently do not have a definitive date for v3. Talking for myself: the corona situation has decimated my energy levels
tried this on the beta and the release candidate but no dice :(
Thanks for the hint with the github action artifacts, those work like a charm now. Also the new default theme looks amazing :+1:
@mvriel Take care of yourself and stay safe. :heart: