Project

General

Profile

Actions

Bug #97884

open

Throw a proper exception when parsing a docblock fails

Added by Oliver Klee over 2 years ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Extbase
Start date:
2022-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

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.)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #97787: Provide dedicated enum for severitiesClosed2022-06-17

Actions
Actions #1

Updated by Oliver Klee over 2 years ago

  • Related to Feature #97787: Provide dedicated enum for severities added
Actions #2

Updated by Benni Mack over 1 year ago

  • Target version changed from 12 LTS to Candidate for patchlevel
Actions #3

Updated by Georg Ringer 5 months ago

  • Sprint Focus set to On Location Sprint
Actions

Also available in: Atom PDF