[TASK] Avoid implicitly nullable class method parameter in `EXT:core`
With PHP 8.4 marking method parameter implicitly nullable is deprecated and will emit a `E_DEPRECATED` warning. One recommended way to resolve this, is making it explicitly nullable using the `?` nullable operator or adding a null type to an union type definition. [1] This prepares the way towards PHP 8.4 compatibility. [1] https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated Resolves: #104284 Releases: main, 12.4, 11.5 Change-Id: Iadea4cde1d3b80962a47ffa4c183a885504bef6b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85054 Reviewed-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 2 additions, 2 deletions...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/CommandLineUserAuthentication.php 2 additions, 2 deletions.../Classes/Authentication/CommandLineUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/Mfa/MfaRequiredException.php 1 addition, 1 deletion.../core/Classes/Authentication/Mfa/MfaRequiredException.php
- typo3/sysext/core/Classes/Authentication/Mfa/Provider/Totp.php 1 addition, 1 deletion.../sysext/core/Classes/Authentication/Mfa/Provider/Totp.php
- typo3/sysext/core/Classes/Configuration/SiteConfiguration.php 2 additions, 2 deletions...3/sysext/core/Classes/Configuration/SiteConfiguration.php
- typo3/sysext/core/Classes/Console/CommandApplication.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Console/CommandApplication.php
- typo3/sysext/core/Classes/Console/CommandRegistry.php 4 additions, 4 deletionstypo3/sysext/core/Classes/Console/CommandRegistry.php
- typo3/sysext/core/Classes/Context/LanguageAspect.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Context/LanguageAspect.php
- typo3/sysext/core/Classes/Context/UserAspect.php 1 addition, 1 deletiontypo3/sysext/core/Classes/Context/UserAspect.php
- typo3/sysext/core/Classes/Core/ApplicationInterface.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Core/ApplicationInterface.php
- typo3/sysext/core/Classes/Core/BootService.php 2 additions, 2 deletionstypo3/sysext/core/Classes/Core/BootService.php
- typo3/sysext/core/Classes/Core/Bootstrap.php 6 additions, 6 deletionstypo3/sysext/core/Classes/Core/Bootstrap.php
- typo3/sysext/core/Classes/Crypto/PasswordHashing/Pbkdf2PasswordHash.php 2 additions, 2 deletions...ore/Classes/Crypto/PasswordHashing/Pbkdf2PasswordHash.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 12 additions, 12 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/DataHandling/History/RecordHistoryStore.php 7 additions, 7 deletions.../core/Classes/DataHandling/History/RecordHistoryStore.php
- typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php 2 additions, 2 deletions...re/Classes/DataHandling/Localization/DataMapProcessor.php
- typo3/sysext/core/Classes/DataHandling/Localization/State.php 1 addition, 1 deletion...3/sysext/core/Classes/DataHandling/Localization/State.php
- typo3/sysext/core/Classes/DataHandling/Model/RecordStateFactory.php 1 addition, 1 deletion...xt/core/Classes/DataHandling/Model/RecordStateFactory.php
- typo3/sysext/core/Classes/DataHandling/PagePermissionAssembler.php 1 addition, 1 deletion...ext/core/Classes/DataHandling/PagePermissionAssembler.php
- typo3/sysext/core/Classes/DataHandling/PlainDataResolver.php 1 addition, 1 deletiontypo3/sysext/core/Classes/DataHandling/PlainDataResolver.php
Please register or sign in to comment