[TASK] Avoid implicitly nullable class method parameter in `EXT:install`
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 tyype 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: #104211 Releases: main, 12.4, 11.5 Change-Id: Ic086fc77872c54f763d774f4118517658d8d52e3 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84920 Reviewed-by:Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/install/Classes/Configuration/AbstractPreset.php 1 addition, 1 deletion...3/sysext/install/Classes/Configuration/AbstractPreset.php
- typo3/sysext/install/Classes/ExtensionScanner/Php/GeneratorClassesResolver.php 1 addition, 1 deletion...Classes/ExtensionScanner/Php/GeneratorClassesResolver.php
- typo3/sysext/install/Classes/FolderStructure/DirectoryNode.php 1 addition, 1 deletion.../sysext/install/Classes/FolderStructure/DirectoryNode.php
- typo3/sysext/install/Classes/FolderStructure/FileNode.php 1 addition, 1 deletiontypo3/sysext/install/Classes/FolderStructure/FileNode.php
- typo3/sysext/install/Classes/FolderStructure/LinkNode.php 1 addition, 1 deletiontypo3/sysext/install/Classes/FolderStructure/LinkNode.php
- typo3/sysext/install/Classes/FolderStructure/NodeInterface.php 1 addition, 1 deletion.../sysext/install/Classes/FolderStructure/NodeInterface.php
- typo3/sysext/install/Classes/FolderStructure/RootNode.php 1 addition, 1 deletiontypo3/sysext/install/Classes/FolderStructure/RootNode.php
- typo3/sysext/install/Classes/SystemEnvironment/ServerResponse/ContentSecurityPolicyHeader.php 1 addition, 1 deletion...nvironment/ServerResponse/ContentSecurityPolicyHeader.php
- typo3/sysext/install/Classes/UpgradeAnalysis/DocumentationFile.php 1 addition, 1 deletion...ext/install/Classes/UpgradeAnalysis/DocumentationFile.php
Please register or sign in to comment