[TASK] Enable phpstan parameter checkFunctionArgumentTypes
From now on, phpstan will validate arguments passed to methods for type integrity. This patch also resolves all remaining issues in the core up to PHP 7.4. Running phpstan on PHP 8 is therefore disabled temporarily and will be enabled again with another patch that resolves all remaining PHP 8 issues regarding argument types. Resolves: #93652 Releases: master Change-Id: I2cbd15c5e83ae188a4d453c71b5841d424b2eef8 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68191 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Richard Haeser <richard@richardhaeser.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Richard Haeser <richard@richardhaeser.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/gitlab-ci/nightly/integrity.yml 0 additions, 11 deletionsBuild/gitlab-ci/nightly/integrity.yml
- Build/gitlab-ci/pre-merge/integrity.yml 1 addition, 13 deletionsBuild/gitlab-ci/pre-merge/integrity.yml
- Build/phpstan.level5.neon 2 additions, 2 deletionsBuild/phpstan.level5.neon
- phpstan.neon 316 additions, 0 deletionsphpstan.neon
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php 1 addition, 1 deletion...ontroller/ContentElement/ElementInformationController.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 2 additions, 2 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Classes/Controller/File/FileController.php 7 additions, 2 deletions...sysext/backend/Classes/Controller/File/FileController.php
- typo3/sysext/backend/Classes/Controller/File/ImageProcessController.php 1 addition, 1 deletion...ackend/Classes/Controller/File/ImageProcessController.php
- typo3/sysext/backend/Classes/Controller/PageLayoutController.php 1 addition, 1 deletion...ysext/backend/Classes/Controller/PageLayoutController.php
- typo3/sysext/backend/Classes/Controller/Wizard/TableController.php 1 addition, 1 deletion...ext/backend/Classes/Controller/Wizard/TableController.php
- typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php 1 addition, 1 deletion.../backend/Classes/Form/Container/InlineRecordContainer.php
- typo3/sysext/backend/Classes/Form/Element/FileInfoElement.php 1 addition, 1 deletion...3/sysext/backend/Classes/Form/Element/FileInfoElement.php
- typo3/sysext/backend/Classes/Template/Components/ButtonBar.php 1 addition, 1 deletion.../sysext/backend/Classes/Template/Components/ButtonBar.php
- typo3/sysext/backend/Classes/Template/Components/Buttons/Action/ShortcutButton.php 1 addition, 1 deletion...ses/Template/Components/Buttons/Action/ShortcutButton.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 1 addition, 1 deletiontypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/belog/Classes/Controller/BackendLogController.php 1 addition, 1 deletion.../sysext/belog/Classes/Controller/BackendLogController.php
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 1 addition, 1 deletion...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php 1 addition, 1 deletion...core/Classes/Authentication/BackendUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php 2 additions, 2 deletions...ses/Authentication/Mfa/Provider/RecoveryCodesProvider.php
- typo3/sysext/core/Classes/Charset/CharsetConverter.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Charset/CharsetConverter.php
Please register or sign in to comment