#84280Make unit tests notice free
Description
In order to archive a PHP E_NOTICE free core, we need to fix a lot of unit test.
Currently the notices were suppressed in the unit tests by
/**
* Subject is not notice free, disable E_NOTICES
*/
protected static $suppressNotices = true;
After removing this code, the correspondend unit tests will fail if the cause an E_NOTICE.
Your mission, if you choose to accept it: Find the reasons for this notices and clean that up. Can be caused by the tests, by the test subjects or by dependencies.
Find yourself more issues by greping for the above string.
Reviews 1
Subtasks 134
- Task #84276Make StringUtilityTest.php notice free
- Task #84277Make ClassNamingUtilityTest.php notice free
- Task #84278Make ExtensionUtilityTest.php notice free
- Task #84281Make LocalizationUtilityTest.php notice free
- Task #84282Make LocalizationFactoryTest.php notice free
- Task #84283Make LocallangXmlParserTest.php notice free
- Bug #84301Make AbstractNodeTest.php notice free
- Task #84302Make DirectoryNodeTest notice free
- Task #84309Make LogRecordTest notice free
- Task #84310Make SilentConfigurationUpgradeServiceTest notice free
- Task #84311Make L10nModeUpdaterTest notice free
- Task #84312Make AbstractCoreMatcherTest notice free
- Task #84313Make ArrayDimensionMatcherTest notice free
- Task #84314Make MethodArgumentDroppedMatcherTest notice free
- Task #84315Make MethodArgumentDroppedStaticMatcherTest notice free
- Task #84316Make MethodArgumentRequiredMatcherTest notice free
- Task #84317Make MethodArgumentRequiredStaticMatcherTest notice free
- Task #84318Make MethodArgumentUnusedMatcherTest notice free
- Task #84319Make MethodCallMatcherTest notice free
- Task #84320Make MethodCallStaticMatcherTest notice free
- Task #84325Make AbstractWidgetViewHelperTest notice free
- Task #84328Make LinkServiceTest.php notice free
- Task #84329Make WidgetRequestBuilderTest notice free
- Task #84330Make StandaloneViewTest notice free
- Task #84333Make ProcessedFileTest.php notice free
- Task #84339Make RedirectServiceTest.php notice free
- Task #84340Make IfAuthenticatedViewHelperTest notice free
- Task #84345Make CObjectViewHelperTest notice free
- Task #84346Make FlashMessagesViewHelperTest notice free
- Task #84348Make SelectViewHelperTest notice free
- Task #84350Make FileSizeValidatorTest.php notice free
- Task #84351Make FileLinkHandlerTest.php notice free
- Task #84355Make ArrayUtilityTest.php notice free
- Task #84362Make ServerRequestFactoryTest notice free
- Task #84366Make CharsetConverterTest notice free
- Task #84371Make WebProcessorTest notice free
- Task #84377Make IconFactoryTest notice free
- Task #84378Make PdoBackendTest notice free
- Task #84379Make ExtensionStatusTest notice free
- Task #84380Make ExtensionManagementServiceTest notice free
- Task #84381Make EmConfUtilityTest notice free
- Task #84382Make IconViewHelperTest notice free
- Task #84383Make FileHandlingUtilityTest notice free
- Task #84384Make InstallUtilityTest notice free
- Task #84385Make ListUtilityTest notice free
- Task #84386Make MailerTest notice free
- Task #84389Make Typo3DatabaseBackendTest notice free
- Task #84390Make FormEditorControllerTest notice free
- Task #84393Make RteHtmlParserTest notice free
- Task #84394Make FormManagerControllerTest notice free
- Task #84396Make AbstractFinisher notice free
- Task #84397Make form/Tests/Unit/Domain/FormElements/ notice free
- Task #84398Make DataStructureIdentifierHookTest notice free
- Task #84401Make sysext/form/Tests/Unit/Mvc/ notice free
- Task #84402Make TranslationServiceTest notice free
- Task #84403Make AbstractFileTest.php notice free
- Task #84405Make FileTest.php notice free
- Task #84406Make ResourceCompressorTest.php notice free
- Task #84413Make sysext/backend/Tests/Unit/ notice free
- Task #84415Make MimeTypeValidatorTest.php notice free
- Task #84417Make AuthenticationServiceTest.php notice free
- Task #84418Make LegacyLinkNotationConverterTest notice free
- Task #84421Make AbstractFormProtectionTest notice free
- Task #84423Make AbstractUserAuthenticationTest notice free
- Task #84424Make BackendUtilityTest notice free
- Task #84425Make BackendUserAuthenticationTest notice free
- Task #84426Make TaskTest notice free
- Task #84427Make AbstractConditionMatcherTest notice free
- Task #84428Make FrontendWorkspaceRestrictionTest notice free
- Task #84429Make FrontendUserAuthenticationTest notice free
- Task #84430Make SessionTest notice free
- Task #84431Make ConditionMatcherTest notive free
- Task #84432Make ImageScriptServiceTest notice free
- Task #84433Make VideoTagRendererTest notice free
- Task #84435Make CommandLineBackendTest notice free
- Task #84436Make AreaTest notice free
- Task #84437Make DispatcherTest notice free
- Task #84438Make FileWriterTest notice free
- Task #84439Make AudioTagRendererTest notice free
- Task #84440Make SchemaColumnDefinitionListenerTest notice free
- Task #84441Make VimeoRendererTest notice free
- Task #84442Make BackendTest notice free
- Task #84444Make TableBuilderTest notice free
- Task #84446Make LogManagerTest notice free
- Task #84447Make YouTubeRendererTest notice free
- Task #84451Make ActionControllerTest notice free
- Task #84456Make ContentObjectRendererTest notice free
- Task #84461Make CacheHashCalculatorTest notice free
- Bug #84464Wrong $host value when mailSettings['transport_smtp_server'] is not set.
- Task #84467Make LocalDriverTest notice free
- Task #84468Make UriBuilderTest notice free
- Task #84470Make SqlReaderTest notice free
- Task #84720Make FileBackendTest.php notice free
- Task #84721Make CategoryRegistryTest.php notice free
- Task #84722Make core/Tests/Unit/Configuration notice free
- Task #84723Make core/Tests/Unit/Database/ notice free
- Task #84724Make HtmlParserTest notice free
- Task #84808Make core/Tests/Unit/Mail/ notice free
- Task #84816Make core/Tests/Unit/Migrations/ notice free
- Task #84817Make core/Tests/Unit/Package/ notice free
- Epic #84889Make frontend: PageRepository and PageRepositoryTest notice free
- Task #85088Make Tests/Unit/Service/ notice free
- Task #85089Make Tests/Unit/Tree/ notice free
- Task #85090Make EnumerationTest.php notice free
- Task #85091Make TypoScriptParserTest.php notice free
- Task #85092Make Tests/Unit/TypoScript/ notice free
- Task #85093Make RootlineUtilityTest.php notice free
- Task #85094Make Tests/Unit/Configuration/ notice free
- Task #85095Make NormalizeCommandTest.php notice free
- Task #85096Make FileStreamWrapperTest.php notice free
- Task #85097Make core/Tests/UnitDeprecated/ notice free
- Task #85098Make core/Tests/Unit/Resource/Driver/ notice free
- Task #85263Make typo3/sysext/frontend/Tests/Unit/ContentObject notice free
- Task #85264Make sysext/extbase/Tests/Unit notice free
- Task #85265Make sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php notice free
- Task #85266Make sysext/core/Tests/Unit/Resource notice free
- Task #85267Make extbase/Tests/Unit/Persistence/Generic/Mapper notice free
- Task #85268Make sysext/extbase/Tests/Unit/Persistence/Generic/PersistenceManagerTest.php notice free
- Task #85269Make sysext/extbase/Tests/Unit/Persistence/Generic/Storage/ notice free
- Task #85270Make sysext/core/Tests/Unit/Resource/ notice free
- Task #85845Make indexed search tests notice free
- Task #85846Make frontend/Classes/Typolink/ notice free
- Task #85847Make frontend/Tests/Unit/DataProcessing notice free
- Task #85848Make frontend/Tests/Unit/Plugin notice free
- Task #85849Make frontend/Tests/Unit/Page notice free
- Task #85850Make frontend/Tests/Unit/ContentObject/FilesContentObjectTest notice free
- Task #85851Make frontend/Tests/Unit/Controller notice free
- Task #85852Make felogin/Test/Unit notice free
- Task #85853Make frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest notice free
- Task #85854Make AbstractMenuContentObjectTest notice free
- Task #85855Make ExtensionManagementUtilityTest notice free
- Task #85861Make core/Tests/Unit/Resource/ notice free
- Task #85862Make DataHandler notice free
- Task #85871Make GeneralUtility tests notice free
Related issues 8
- Task #70584Reduce thrown E_NOTICEs
- Task #70590Remove all notices thrown in BackendUtilityTest
- Bug #71292Reduce E_NOTICEs by providing correct test values and issets
- Task #83888Notice free unit tests
- Task #83889Handle E_NOTICE free unit tests
- Task #83908Notice free InlineStackProcessor testing
- Task #83975Notice free TcaSelectItems testing
- Bug #83981Notice free FormEngine testing