Make unit tests notice free
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.
[TASK] Raise typo3/testing-framework to 4.4.0
composer require --dev typo3/testing-framework:~4.4.0
With the removal of all '$suppressNotices = true' settings from
existing unit tests, this flag has now been removed from the
testing-framework. Core unit tests from now on must never trigger
notices, or fix the subject code along with new tests.
Tested-by: TYPO3com <firstname.lastname@example.org>
Reviewed-by: Wouter Wolters <email@example.com>
Tested-by: Wouter Wolters <firstname.lastname@example.org>
Reviewed-by: Andreas Fernandez <email@example.com>
Tested-by: Andreas Fernandez <firstname.lastname@example.org>