Discussion:
phpdoc not work
(too old to reply)
muars
2019-07-26 07:50:38 UTC
Permalink
phpdoc --directory src --target docs
PHP Fatal error: Uncaught
Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The
annotation "@JMS\Serializer\Annotation\Type" in property
phpDocumentor\Configuration::$title does not exist, or could not be
auto-loaded. in
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
Stack trace:
#0
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(741):
Doctrine\Common\Annotations\AnnotationException::semanticalError('The
annotation ...')
#1
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(663):
Doctrine\Common\Annotations\DocParser->Annotation()
#2
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php(354):
Doctrine\Common\Annotations\DocParser->Annotations()
#3
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(254):
Doctrine\Common\Annotations\DocParser->parse('/**\n * @var...', 'pr
in
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php
on line 54

Because?
r***@gmail.com
2019-12-19 12:41:44 UTC
Permalink
Post by muars
phpdoc --directory src --target docs
PHP Fatal error: Uncaught
Doctrine\Common\Annotations\AnnotationException: [Semantical Error] The
phpDocumentor\Configuration::$title does not exist, or could not be
auto-loaded. in
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:54
#0
Doctrine\Common\Annotations\AnnotationException::semanticalError('The
annotation ...')
#1
Doctrine\Common\Annotations\DocParser->Annotation()
#2
Doctrine\Common\Annotations\DocParser->Annotations()
#3
in
/tmp/tmp.1LouiU103a/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php
on line 54
Because?
Maybe it is wrongly installed. Or needs update .

--
Kristjan Robam

What goes around, comes around

Loading...