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.