Skip to content
Snippets Groups Projects
Commit e1fc3208 authored by Alexander Schnitzler's avatar Alexander Schnitzler Committed by Benjamin Franzke
Browse files

[TASK] Add a couple of code cleanups for phpstan

- Add phpdoc for variables to let phpstan know their type
- Do not use ::class syntax for PHP 7.4 classes (yet)
- Add missing class properties
- Do not unset non-existing variables

Releases: master
Resolves: #90207
Change-Id: I01ae756c03f7dfc286bedd2577979e0d79ca3d9b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63039


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
parent ae685ef9
Branches
Tags
No related merge requests found
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