#97884Throw a proper exception when parsing a docblock fails
Description
In https://git.typo3.org/typo3/CI/cms/-/jobs/1404880, the error looks like this:
1) TYPO3\CMS\Extbase\Tests\Unit\Reflection\ClassSchema\MethodParameterTest::classSchemaDetectsValidateAnnotationsOfControllerActions
Error: Call to undefined method phpDocumentor\Reflection\DocBlock\Tags\InvalidTag::getType()
This needs to be more helpful so that it’s easier to debug. (Also, it should be an exception, not an error.)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.