[TASK] Remove the first few E_NOTICEs occuring in the unit tests
PHP throws E_NOTICE when not existing array keys are accessed. The received value will become null. This patch aims to reduce the number of generated notices, to increase readability and reliability of the changed methods. Resolves: #70587 Related: #70584 Releases: master Change-Id: I23ee39b0d89f1be828565cbe6c745b6eeefdcfde Reviewed-on: https://review.typo3.org/43988 Reviewed-by:Markus Klein <markus.klein@typo3.org> Tested-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Form/Element/NoneElement.php 12 additions, 8 deletionstypo3/sysext/backend/Classes/Form/Element/NoneElement.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 11 additions, 11 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php 2 additions, 1 deletion...ion/TypoScript/ConditionMatching/ConditionMatcherTest.php
- typo3/sysext/core/Classes/Core/ClassLoadingInformationGenerator.php 5 additions, 3 deletions...xt/core/Classes/Core/ClassLoadingInformationGenerator.php
- typo3/sysext/core/Classes/Utility/GeneralUtility.php 11 additions, 4 deletionstypo3/sysext/core/Classes/Utility/GeneralUtility.php
- typo3/sysext/core/Classes/Utility/VersionNumberUtility.php 9 additions, 1 deletiontypo3/sysext/core/Classes/Utility/VersionNumberUtility.php
- typo3/sysext/core/Tests/Unit/Utility/VersionNumberUtilityTest.php 1 addition, 0 deletions...sext/core/Tests/Unit/Utility/VersionNumberUtilityTest.php
- typo3/sysext/form/Tests/Unit/Filter/IntegerFilterTest.php 2 additions, 2 deletionstypo3/sysext/form/Tests/Unit/Filter/IntegerFilterTest.php
Please register or sign in to comment