Skip to content
Snippets Groups Projects
Commit 883caeb4 authored by Anja Leichsenring's avatar Anja Leichsenring
Browse files

[TASK] Suppress phpstan error in GU::makeInstance

Phpstan claims the contract guard condition can never be true (in
which case an exception will be thrown) but this is not true. So
we keep the condition, but suppress the error.

PHPStan gets updated and pinned to lowest version 1.11.3
with

	composer require --dev phpstan/phpstan:^1.11.3

Resolves: #103962
Related: #99146
Releases: main, 12.4
Change-Id: I8c184ef24ed95c7277e1e6b5ac8b8c9ea3ad0521
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84473


Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 3ae4193e
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment