TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #97919
Issue Task Closed

#97919Annotation integrity check script should allow valid phpstan class level annotations

Stefan Bürk 07/12/22, 22:34 updated 10/04/22, 14:11

Open in Forge Comment in Forge

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

Reviews 3

  • 11.5 75137[BUGFIX] Enhance annotation integrity test script Resolves this issue Merged Stefan Bürk CR +2 V +2 → main, 10.4 Easy +18 −9 07/13/22, 08:13
  • 10.4 75138[BUGFIX] Enhance annotation integrity test script Resolves this issue Merged Stefan Bürk CR +2 V +2 → main, 11.5 Easy +18 −9 07/13/22, 08:06
  • main 75160[BUGFIX] Enhance annotation integrity test script Resolves this issue Merged Stefan Bürk CR +2 V +2 → 11.5, 10.4 Easy +12 −3 07/13/22, 06:59
Author
Stefan Bürk
Priority
Should have
TYPO3 version
10
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback