Skip to content
Snippets Groups Projects
Commit d6d9219f authored by Benni Mack's avatar Benni Mack Committed by Oliver Bartsch
Browse files

[TASK] Avoid unnecessary null-coalesence operators etc

When PHP 8.0 support was added, a lot of places
received extra checks with the $conf ?? [].

PHPStan complained about this now, as methods
already have native PHP types added now, and the
check is not needed anymore, so it can be simplified

A few other places did not receive proper PHPdoc
annotations which has been fixed as well.

In addition, some str_ends_with calls are migrated.

Resolves: #102528
Releases: main
Change-Id: I031d677473d4e9601fbf9d7c90214c311cfea863
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81975


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarAndreas Kienast <a.fernandez@scripting-base.de>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 7866d44f
Branches
Tags
No related merge requests found
Showing
with 79 additions and 184 deletions
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