Project

General

Profile

Actions

Task #97919

closed

Annotation integrity check script should allow valid phpstan class level annotations

Added by Stefan Bürk over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-07-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

PHPStan allows two annoation on class level, defining and importing
PHPStan defined types.

  • @phpstan-type
  • @phpstan-import-type

These annotation are found as invalid if used.

See: https://phpstan.org/writing-php-code/phpdoc-types#local-type-aliases

Actions

Also available in: Atom PDF