Skip to content
Snippets Groups Projects
user avatar
Alexander Schnitzler authored
This patch ignores several errors found by phpstan which are
not easy to solve as of now or which are not solvable at all.

- Unsafe usage of new static

  Those errors can be solved in different ways. Making classes
  final, making constructors final or using new self. Which
  solution is used has to be decided by people who are familiar
  which the affected files.

- Call to an undefined method in AbstractWidgetViewHelper and
  AbstractViewHelper

  Those issues aren't solvable as those methods exist if users
  choose fluid ^3.

- Access to undefined constant TYPO3\CMS\Core\Type\Enumeration
  ::__default

  This issue can't be solved as the Enumeration class does a
  lot of magic stuff which isn't compatible with static code
  analysis.

Releases: master
Resolves: #90402
Change-Id: Ie4a1623d42cb37d30082275ca1a09a733301d06e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63276


Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarSusanne Moog <look@susi.dev>
6f136584
Name Last commit Last update