[!!!][TASK] Handle E_NOTICE free unit tests 97/55697/10
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 13 Feb 2018 14:32:21 +0000 (15:32 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Wed, 14 Feb 2018 09:42:00 +0000 (10:42 +0100)
Raise typo3/testing-framework from 2.0.4 to 3.0.0:
composer require --dev typo3/testing-framework ^3.0

The new typo3/testing-framework version comes with a change
that no longer suppresses E_NOTICE PHP errors by default and lets
tests fail that raise them.

The static property $suppressNotices in unit test files is set to
true for all test cases that currently raise E_NOTICE errors to
suppress them on a by-file basis.

Further patches should remove this property one-by-one again by
fixing the system under test the unit test case handles.

Change-Id: I7d44fe3723ce5820a37051ae31f16b2f142ffba6
Resolves: #83889
Related: #83888
Releases: master
Reviewed-on: https://review.typo3.org/55697
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
192 files changed:
composer.json
composer.lock
typo3/sysext/backend/Tests/Unit/Controller/FormInlineAjaxControllerTest.php
typo3/sysext/backend/Tests/Unit/Controller/Wizard/SuggestWizardControllerTest.php
typo3/sysext/backend/Tests/Unit/Form/Container/ListOfFieldsContainerTest.php
typo3/sysext/backend/Tests/Unit/Form/Container/PaletteAndSingleContainerTest.php
typo3/sysext/backend/Tests/Unit/Form/Element/AbstractFormElementTest.php
typo3/sysext/backend/Tests/Unit/Form/Element/InputDateTimeElementTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseDefaultLanguagePageRowTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRecordTypeValueTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseRowInitializeNewTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseSystemLanguageRowsTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/DatabaseUserPermissionCheckTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/EvaluateDisplayConditionsTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaCheckboxItemsTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessCommonTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessFieldLabelsTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessRecordTitleTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaColumnsProcessShowitemTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexPrepareTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaFlexProcessTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaGroupTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineConfigurationTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineExpandCollapseStateTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInlineTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaInputPlaceholdersTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRadioItemsTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaRecordTitleTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectTreeItemsTest.php
typo3/sysext/backend/Tests/Unit/Form/InlineStackProcessorTest.php
typo3/sysext/backend/Tests/Unit/Form/NodeFactoryTest.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php
typo3/sysext/backend/Tests/UnitDeprecated/Form/FormDataProvider/TcaFlexPrepareTest.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-83889-E_NOTICEFreeUnitTesting.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Authentication/AbstractUserAuthenticationTest.php
typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php
typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/PdoBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/Typo3DatabaseBackendTest.php
typo3/sysext/core/Tests/Unit/Category/CategoryRegistryTest.php
typo3/sysext/core/Tests/Unit/Charset/CharsetConverterTest.php
typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php
typo3/sysext/core/Tests/Unit/Configuration/FlexForm/FlexFormToolsTest.php
typo3/sysext/core/Tests/Unit/Configuration/TypoScript/ConditionMatching/AbstractConditionMatcherTest.php
typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php
typo3/sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php
typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendWorkspaceRestrictionTest.php
typo3/sysext/core/Tests/Unit/Database/QueryGeneratorTest.php
typo3/sysext/core/Tests/Unit/Database/Schema/EventListener/SchemaColumnDefinitionListenerTest.php
typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php
typo3/sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php
typo3/sysext/core/Tests/Unit/FileStreamWrapperTest.php
typo3/sysext/core/Tests/Unit/FormProtection/AbstractFormProtectionTest.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php
typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php
typo3/sysext/core/Tests/Unit/Http/ServerRequestFactoryTest.php
typo3/sysext/core/Tests/Unit/Imaging/IconFactoryTest.php
typo3/sysext/core/Tests/Unit/Imaging/ImageManipulation/AreaTest.php
typo3/sysext/core/Tests/Unit/LinkHandling/FileLinkHandlerTest.php
typo3/sysext/core/Tests/Unit/LinkHandling/LegacyLinkNotationConverterTest.php
typo3/sysext/core/Tests/Unit/LinkHandling/LinkServiceTest.php
typo3/sysext/core/Tests/Unit/Localization/LocalizationFactoryTest.php
typo3/sysext/core/Tests/Unit/Localization/Parser/LocallangXmlParserTest.php
typo3/sysext/core/Tests/Unit/Log/LogManagerTest.php
typo3/sysext/core/Tests/Unit/Log/LogRecordTest.php
typo3/sysext/core/Tests/Unit/Log/Processor/WebProcessorTest.php
typo3/sysext/core/Tests/Unit/Log/Writer/FileWriterTest.php
typo3/sysext/core/Tests/Unit/Mail/MailerTest.php
typo3/sysext/core/Tests/Unit/Mail/TransportFactoryTest.php
typo3/sysext/core/Tests/Unit/Migrations/TcaMigrationTest.php
typo3/sysext/core/Tests/Unit/Package/PackageManagerTest.php
typo3/sysext/core/Tests/Unit/Resource/AbstractFileTest.php
typo3/sysext/core/Tests/Unit/Resource/Driver/DriverRegistryTest.php
typo3/sysext/core/Tests/Unit/Resource/Driver/LocalDriverTest.php
typo3/sysext/core/Tests/Unit/Resource/FileTest.php
typo3/sysext/core/Tests/Unit/Resource/ProcessedFileTest.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/AudioTagRendererTest.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/VideoTagRendererTest.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/VimeoRendererTest.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorIntegrationTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
typo3/sysext/core/Tests/Unit/Service/MarkerBasedTemplateServiceTest.php
typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/TreeDataProviderFactoryTest.php
typo3/sysext/core/Tests/Unit/Type/EnumerationTest.php
typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php
typo3/sysext/core/Tests/Unit/TypoScript/TemplateServiceTest.php
typo3/sysext/core/Tests/Unit/TypoScript/TypoScriptServiceTest.php
typo3/sysext/core/Tests/Unit/Utility/ArrayUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/ClassNamingUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/RootlineUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/StringUtilityTest.php
typo3/sysext/core/Tests/Unit/ViewHelpers/IconViewHelperTest.php
typo3/sysext/core/Tests/UnitDeprecated/Html/RteHtmlParserTest.php
typo3/sysext/core/Tests/UnitDeprecated/Utility/ClientUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/AbstractConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/FrontendConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ActionControllerTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Web/RequestBuilderTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Web/Routing/UriBuilderTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/BackendTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapFactoryTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Mapper/DataMapperTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/PersistenceManagerTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/SessionTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbBackendTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Storage/Typo3DbQueryParserTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php
typo3/sysext/extbase/Tests/Unit/Reflection/ReflectionServiceTest.php
typo3/sysext/extbase/Tests/Unit/Scheduler/TaskTest.php
typo3/sysext/extbase/Tests/Unit/Service/ExtensionServiceTest.php
typo3/sysext/extbase/Tests/Unit/Service/ImageScriptServiceTest.php
typo3/sysext/extbase/Tests/Unit/SignalSlot/DispatcherTest.php
typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php
typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php
typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/EmConfUtilityTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/FileHandlingUtilityTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/InstallUtilityTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/ListUtilityTest.php
typo3/sysext/felogin/Tests/Unit/Controller/FrontendLoginControllerTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetRequestBuilderTest.php
typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Be/Security/IfAuthenticatedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CObjectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextareaViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextfieldViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/PageViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/TypolinkViewHelperTest.php
typo3/sysext/form/Tests/Unit/Controller/FormEditorControllerTest.php
typo3/sysext/form/Tests/Unit/Controller/FormManagerControllerTest.php
typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php
typo3/sysext/form/Tests/Unit/Domain/FormElements/AbstractFormElementTest.php
typo3/sysext/form/Tests/Unit/Domain/FormElements/SectionTest.php
typo3/sysext/form/Tests/Unit/Hooks/DataStructureIdentifierHookTest.php
typo3/sysext/form/Tests/Unit/Mvc/Configuration/InheritancesResolverServiceTest.php
typo3/sysext/form/Tests/Unit/Mvc/Persistence/FormPersistenceManagerTest.php
typo3/sysext/form/Tests/Unit/Mvc/Property/PropertyMappingConfigurationTest.php
typo3/sysext/form/Tests/Unit/Mvc/Validation/FileSizeValidatorTest.php
typo3/sysext/form/Tests/Unit/Mvc/Validation/MimeTypeValidatorTest.php
typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php
typo3/sysext/frontend/Tests/Unit/Authentication/FrontendUserAuthenticationTest.php
typo3/sysext/frontend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/CaseContentObjectTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FilesContentObjectTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/Menu/AbstractMenuContentObjectTest.php
typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php
typo3/sysext/frontend/Tests/Unit/Page/CacheHashCalculatorTest.php
typo3/sysext/frontend/Tests/Unit/Page/PageGeneratorTest.php
typo3/sysext/frontend/Tests/Unit/Page/PageRepositoryTest.php
typo3/sysext/frontend/Tests/Unit/Plugin/AbstractPluginTest.php
typo3/sysext/frontend/Tests/Unit/Processor/GalleryProcessorTest.php
typo3/sysext/frontend/Tests/Unit/Typolink/AbstractTypolinkBuilderTest.php
typo3/sysext/frontend/Tests/Unit/View/AdminPanelViewTest.php
typo3/sysext/indexed_search/Tests/Unit/IndexerTest.php
typo3/sysext/install/Classes/Controller/UpgradeController.php
typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcher.php [new file with mode: 0644]
typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyExistsStaticMatcher.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/AbstractCoreMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/ArrayDimensionMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/Fixtures/PropertyExistsStaticMatcherFixture.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentDroppedStaticMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentRequiredStaticMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodArgumentUnusedMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/MethodCallStaticMatcherTest.php
typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcherTest.php [new file with mode: 0644]
typo3/sysext/install/Tests/Unit/FolderStructure/AbstractNodeTest.php
typo3/sysext/install/Tests/Unit/FolderStructure/DirectoryNodeTest.php
typo3/sysext/install/Tests/Unit/FolderStructure/FileNodeTest.php
typo3/sysext/install/Tests/Unit/FolderStructure/LinkNodeTest.php
typo3/sysext/install/Tests/Unit/Service/SilentConfigurationUpgradeServiceTest.php
typo3/sysext/install/Tests/Unit/Updates/RowUpdater/L10nModeUpdaterTest.php
typo3/sysext/recordlist/Tests/UnitDeprecated/RecordList/AbstractDatabaseRecordListTest.php
typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php
typo3/sysext/rsaauth/Tests/Unit/Backend/CommandLineBackendTest.php
typo3/sysext/scheduler/Tests/Unit/CronCommand/NormalizeCommandTest.php

index b82b14e..d9c4cee 100644 (file)
@@ -62,7 +62,7 @@
                "friendsofphp/php-cs-fixer": "^2.0",
                "fiunchinho/phpunit-randomizer": "~3.0.0",
                "typo3/cms-styleguide": "~9.0.1",
-               "typo3/testing-framework": "^2.0.3"
+               "typo3/testing-framework": "^3.0"
        },
        "suggest": {
                "ext-gd": "GDlib/Freetype is required for building images with text (GIFBUILDER) and can also be used to scale images",
index e99f7ff..bf81400 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "404f780d81028713a93bcb93bdfc3d69",
+    "content-hash": "2bd96e5071eb99b24b31261e2e03e4aa",
     "packages": [
         {
             "name": "cogpowered/finediff",
         },
         {
             "name": "typo3/testing-framework",
-            "version": "2.0.4",
+            "version": "3.0.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/TYPO3/testing-framework.git",
-                "reference": "602e59f8d80f83c006566ade6037875ecba30353"
+                "reference": "0793e458c801f746c8da55453d8c98744d477ede"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/602e59f8d80f83c006566ade6037875ecba30353",
-                "reference": "602e59f8d80f83c006566ade6037875ecba30353",
+                "url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/0793e458c801f746c8da55453d8c98744d477ede",
+                "reference": "0793e458c801f746c8da55453d8c98744d477ede",
                 "shasum": ""
             },
             "require": {
                 "mikey179/vfsstream": "~1.6.0",
                 "phpunit/phpunit": "^6.2",
-                "typo3/cms-backend": "^8.5 || ^9",
-                "typo3/cms-core": "^8.5 || ^9",
-                "typo3/cms-extbase": "^8.5 || ^9",
-                "typo3/cms-fluid": "^8.5 || ^9",
-                "typo3/cms-frontend": "^8.5 || ^9",
+                "typo3/cms-backend": "^9",
+                "typo3/cms-core": "^9",
+                "typo3/cms-extbase": "^9",
+                "typo3/cms-fluid": "^9",
+                "typo3/cms-frontend": "^9",
                 "typo3fluid/fluid": "^2.2"
             },
             "suggest": {
                 "codeception/codeception": "^2.2",
-                "typo3/cms-saltedpasswords": "^8.5",
+                "typo3/cms-saltedpasswords": "^9",
                 "typo3/cms-styleguide": "~8.0.8"
             },
             "type": "library",
                 "tests",
                 "typo3"
             ],
-            "time": "2018-02-13T16:14:26+00:00"
+            "time": "2018-02-13T22:48:10+00:00"
         },
         {
             "name": "webmozart/assert",
index 0b025b3..ead3205 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
 class FormInlineAjaxControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function createActionThrowsExceptionIfContextIsEmpty()
index c8f75a1..2b724c6 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class SuggestWizardControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getFlexFieldConfigurationThrowsExceptionIfSimpleFlexFieldIsNotFound()
index 16368f0..106ee11 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class ListOfFieldsContainerTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function renderDelegatesShowitemField()
index 8f32097..4987aa2 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class PaletteAndSingleContainerTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function renderUsesPaletteLabelFromFieldArray()
index f9e9cd8..4d4493d 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\Element\AbstractFormElement;
 class AbstractFormElementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @return array
      */
     public function formatValueDataProvider()
index 71f11f2..92a2628 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Core\Localization\LanguageService;
 class InputDateTimeElementTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var string Selected timezone backup
      */
     protected $timezoneBackup = '';
index 42c8dfd..bb30e3b 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseDefaultLanguagePageRow;
 class DatabaseDefaultLanguagePageRowTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var DatabaseDefaultLanguagePageRow|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject;
index 19b9dcf..a02dc91 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRecordTypeValue;
 class DatabaseRecordTypeValueTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var DatabaseRecordTypeValue|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject;
index 8916bda..56f1099 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRowInitializeNew;
 class DatabaseRowInitializeNewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var DatabaseRowInitializeNew
      */
     protected $subject;
index aba5808..d24ff0d 100644 (file)
@@ -34,6 +34,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class DatabaseSystemLanguageRowsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var DatabaseSystemLanguageRows
      */
     protected $subject;
index 9b82dcb..cf65e17 100644 (file)
@@ -33,6 +33,11 @@ use TYPO3\CMS\Core\Type\Bitmask\Permission;
 class DatabaseUserPermissionCheckTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var DatabaseUserPermissionCheck
      */
     protected $subject;
index 1ec7121..74333ed 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Core\Utility\ArrayUtility;
 class EvaluateDisplayConditionsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function addDataThrowsExceptionIfMultipleConditionsAreNotCombinedWithAndOrOr()
index 135fea0..2617288 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaCheckboxItemsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaCheckboxItems
      */
     protected $subject;
index 2296768..8add486 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessCommon;
 class TcaColumnsProcessCommonTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaColumnsProcessCommon
      */
     protected $subject;
index 21f27ae..a24d68f 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\CMS\Core\Localization\LanguageService;
 class TcaColumnsProcessFieldLabelsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaColumnsProcessFieldLabels
      */
     protected $subject;
index 19f3539..3df172a 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessRecordTitle;
 class TcaColumnsProcessRecordTitleTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaColumnsProcessRecordTitle
      */
     protected $subject;
index 3ce6bd7..e0cfb13 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaColumnsProcessShowitem;
 class TcaColumnsProcessShowitemTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaColumnsProcessShowitem
      */
     protected $subject;
index fa34efa..0ce65f1 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaFlexPrepareTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaFlexPrepare
      */
     protected $subject;
index cfbe720..a222ef9 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaFlexProcessTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var BackendUserAuthentication|ObjectProphecy
      */
     protected $backendUserProphecy;
index 3a9c6e8..e1b6b4c 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaGroupTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaGroup
      */
     protected $subject;
index ca08687..7a96acb 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineConfiguration;
 class TcaInlineConfigurationTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaInlineConfiguration
      */
     protected $subject;
index fa9a03f..f4c11e0 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Backend\Form\FormDataProvider\TcaInlineExpandCollapseState;
 class TcaInlineExpandCollapseStateTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaInlineExpandCollapseState
      */
     protected $subject;
index 0d1d4a4..aa68500 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
 class TcaInlineTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaInline
      */
     protected $subject;
index cb1b49f..81c076f 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaInputPlaceholdersTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaInputPlaceholders
      */
     protected $subject;
index c9b6739..865ad7a 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaRadioItemsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaRadioItems
      */
     protected $subject;
index f67b1e8..4af8057 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Core\Localization\LanguageService;
 class TcaRecordTitleTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaRecordTitle
      */
     protected $subject;
index c543a2f..e760c5d 100644 (file)
@@ -40,6 +40,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaSelectItemsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaSelectItems|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject;
index 027020d..c60a742 100644 (file)
@@ -38,6 +38,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaSelectTreeItemsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaSelectTreeItems
      */
     protected $subject;
index 92cf3a9..e44b6ec 100644 (file)
@@ -21,6 +21,10 @@ use TYPO3\CMS\Backend\Form\InlineStackProcessor;
  */
 class InlineStackProcessorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @return array
index 6561606..7d6e2bf 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Backend\Form\NodeResolverInterface;
 class NodeFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function constructThrowsExceptionIfOverrideMissesNodeNameKey()
index da49363..c688bb6 100644 (file)
@@ -37,6 +37,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
  */
 class BackendUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     ///////////////////////////////////////
     // Tests concerning calcAge
     ///////////////////////////////////////
index 1b1e346..60b3eaf 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TcaFlexPrepareTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TcaFlexPrepare
      */
     protected $subject;
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-83889-E_NOTICEFreeUnitTesting.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-83889-E_NOTICEFreeUnitTesting.rst
new file mode 100644 (file)
index 0000000..cec8a28
--- /dev/null
@@ -0,0 +1,54 @@
+.. include:: ../../Includes.txt
+
+=============================================
+Breaking: #83889 - E_NOTICE free unit testing
+=============================================
+
+See :issue:`83889`
+
+Description
+===========
+
+Writing unit tests and executing them using the typo3/testing-framework
+now requires the system under test to no longer raise PHP :php:`E_NOTICE`
+level errors, or the test fails.
+
+
+Impact
+======
+
+This is a first step towards a PHP notice free core.
+
+
+Affected Installations
+======================
+
+Extensions that use the core v9 compatible typo3/testing-framework
+package in a version >= 3.0.0 may see failing unit tests if the tested
+class raises E_NOTICE errors.
+
+
+Migration
+=========
+
+Best solution is to fix the unit test and/or the system under test
+to no longer raise E_NOTICE level PHP errors.
+
+In a transition phase, a single unit test case file can set a
+property to still suppress E_NOTICE warnings:
+
+.. code-block:: php
+
+    class FooTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
+    {
+        /**
+         * Subject is not notice free, disable E_NOTICES
+         */
+        protected static $suppressNotices = true;
+    }
+
+Note this property is deprecated and will be removed from
+:php:`UnitTestCase` as soon as the core does not need it
+anymore.
+
+.. index:: PHP-API, FullyScanned
\ No newline at end of file
index 93e8523..470e6a9 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class AbstractUserAuthenticationTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getAuthInfoArrayReturnsEmptyPidListIfNoCheckPidValueIsGiven()
index 10fe662..f7a7ff1 100644 (file)
@@ -21,6 +21,11 @@ use TYPO3\CMS\Core\Authentication\AuthenticationService;
 class AuthenticationServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Date provider for processLoginReturnsCorrectData
      *
      * @return array
index a826679..2d388c9 100644 (file)
@@ -35,6 +35,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class BackendUserAuthenticationTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array
      */
     protected $defaultFilePermissions = [
index 0282b76..c777c17 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class FileBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Sets up this testcase
      */
     protected function setUp()
index ddb379a..856e0b2 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Cache\Backend;
 class PdoBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Sets up this testcase
      */
     protected function setUp()
index 86dee8e..bd84223 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class Typo3DatabaseBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function setCacheCalculatesCacheTableName()
index d4d7f6e..1f515bc 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Category;
 class CategoryRegistryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Category\CategoryRegistry
      */
     protected $subject;
index ee0706e..86e328f 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class CharsetConverterTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Data provider for specialCharactersToAsciiConvertsUmlautsToAscii()
      *
      * @return string[][]
index 9eaf892..fe0d240 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Configuration;
 class ConfigurationManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Configuration\ConfigurationManager|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject;
index 870afe3..520c714 100644 (file)
@@ -53,6 +53,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class FlexFormToolsTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getDataStructureIdentifierCallsRegisteredPreProcessHook()
index 9a35e8a..911fb2a 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class AbstractConditionMatcherTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Core\ApplicationContext
      */
     protected $backupApplicationContext = null;
index 12722d4..adc62df 100644 (file)
@@ -30,6 +30,11 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
 class DataHandlerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 7bb1301..c80a4dc 100644 (file)
@@ -31,6 +31,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class QueryBuilderTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var Connection|\Prophecy\Prophecy\ObjectProphecy
      */
     protected $connection;
index 88efeeb..db1dc79 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Core\Database\Query\QueryHelper;
 class QueryHelperTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Test cases for stripping of leading logical operators in where constraints.
      *
      * @return array
index a27e4f7..c7b6083 100644 (file)
@@ -21,11 +21,9 @@ use TYPO3\CMS\Frontend\Page\PageRepository;
 class FrontendWorkspaceRestrictionTest extends AbstractRestrictionTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
      */
-    protected function setUp()
-    {
-        parent::setUp();
-    }
+    protected static $suppressNotices = true;
 
     /**
      * @test
index 8240066..0f09a44 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class QueryGeneratorTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @return array
      */
     public function getSubscriptReturnsExpectedValuesDataProvider(): array
index 67aaa29..1fdac50 100644 (file)
@@ -33,6 +33,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class SchemaColumnDefinitionListenerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var SchemaColumnDefinitionListener
      */
     protected $subject;
index c0ac486..fc7c9b1 100644 (file)
@@ -32,6 +32,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TableBuilderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var Table
      */
     protected $table;
index 7bcbc68..09b146b 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class SqlReaderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var SqlReader
      */
     protected $subject;
index 28d889e..7152dfe 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\TestingFramework\Core\FileStreamWrapper;
 class FileStreamWrapperTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function pathsAreOverlaidAndFinalDirectoryStructureCanBeQueried()
index 4684236..fadebea 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\FormProtection;
 class AbstractFormProtectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Tests\Unit\FormProtection\Fixtures\FormProtectionTesting
      */
     protected $subject;
index 91effe8..8913a11 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\Html\HtmlParser;
 class HtmlParserTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Html\HtmlParser
      */
     protected $subject = null;
index f0cb52f..9567823 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Html;
 class RteHtmlParserTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Html\RteHtmlParser
      */
     protected $subject = null;
index cf48744..27a9b5e 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class ServerRequestFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Set up
      */
     protected function setUp()
index 6de2add..8c77839 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Core\Resource\File;
 class IconFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Imaging\IconFactory
      */
     protected $subject = null;
index 9feacc6..d9fb5d2 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class AreaTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function makeRelativeToFileReducesSizes()
index 0a84e27..ad43e5d 100644 (file)
@@ -22,6 +22,10 @@ use TYPO3\CMS\Core\Utility\MathUtility;
 
 class FileLinkHandlerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * testing folders
index 838f64f..2822de2 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Core\Utility\MathUtility;
 class LegacyLinkNotationConverterTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Data to resolve strings to arrays and vice versa, external, mail, page
      *
      * @return array
index b7fed3d..094e69d 100644 (file)
@@ -20,6 +20,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class LinkServiceTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Data to resolve strings to arrays and vice versa, external, mail, page
      *
      * @return array
index f0edd74..5af2758 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class LocalizationFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getParsedDataHandlesLocallangXMLOverride()
index 74c8729..e16e53d 100644 (file)
@@ -21,6 +21,11 @@ use TYPO3\CMS\Core\Localization\LocalizationFactory;
 class LocallangXmlParserTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Localization\Parser\LocallangXmlParser
      */
     protected $parser;
index eadda1b..92cf764 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Log;
 class LogManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Log\LogManager
      */
     protected $logManagerInstance = null;
index a94c385..d6a383f 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\Log\LogRecord;
 class LogRecordTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Returns a \TYPO3\CMS\Core\Log\LogRecord
      *
      * @param array $parameters Parameters to set in \TYPO3\CMS\Core\Log\LogRecord constructor.
index b5f27bf..3d3250d 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Log\Processor;
 class WebProcessorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function webProcessorAddsWebDataToLogRecord()
index 38bf6fe..dd5882a 100644 (file)
@@ -23,6 +23,11 @@ use org\bovigo\vfs\vfsStreamWrapper;
 class FileWriterTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var string
      */
     protected $logFileDirectory = 'Log';
index b03f9a6..89eb32f 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\CMS\Core\Tests\Unit\Mail\Fixtures\FakeTransportFixture;
 class MailerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Mail\Mailer
      */
     protected $subject;
index 9a0e758..816bae6 100644 (file)
@@ -26,7 +26,12 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class TransportFactoryTest extends UnitTestCase
 {
     /**
-     * @var TransportFactory
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
+     * * @var TransportFactory
      */
     protected $subject;
 
index d0fe5ab..410c33f 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\Migrations\TcaMigration;
 class TcaMigrationTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function missingTypeThrowsException()
index bcc9816..39394dc 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Core\Package\PackageManager;
 class PackageManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var PackageManager|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface $packageManager
      */
     protected $packageManager;
index d2787b4..fdaa4b5 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Core\Resource\ResourceStorage;
 class AbstractFileTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getParentFolderGetsParentFolderFromStorage()
index ee55958..cefd5d4 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Driver;
 class DriverRegistryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Resource\Driver\DriverRegistry
      */
     protected $subject;
index 57b9f4b..a400c8b 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\TestingFramework\Core\FileStreamWrapper;
 class LocalDriverTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\BaseTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Resource\Driver\LocalDriver
      */
     protected $localDriver = null;
index 6e06c55..b528887 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\Resource\ResourceStorage;
 class FileTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 7a78698..34ee52a 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Core\Resource\ResourceStorage;
 class ProcessedFileTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \PHPUnit_Framework_MockObject_MockObject|Folder
      */
     protected $folderMock;
index 78df84b..1d163e7 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Rendering;
 class AudioTagRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getPriorityReturnsCorrectValue()
index 40bfeee..6380e1d 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Resource\Rendering;
 class VideoTagRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getPriorityReturnsCorrectValue()
index 923a676..f1be8c8 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Core\Resource\Rendering\VimeoRenderer;
 class VimeoRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var VimeoRenderer|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject;
index 14d8e52..c50ac8b 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class YouTubeRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var YouTubeRenderer|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject;
index c493bb5..15bbc7c 100644 (file)
@@ -23,6 +23,10 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
  */
 class ResourceCompressorIntegrationTest extends BaseTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @var TestableResourceCompressor
index 61f320a..e040614 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\Resource\ResourceCompressor;
 class ResourceCompressorTest extends BaseTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var ResourceCompressor|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $subject;
index b83a304..18659af 100644 (file)
@@ -35,6 +35,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class ResourceStorageTest extends BaseTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 032c0e3..8f17ea0 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class MarkerBasedTemplateServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var MarkerBasedTemplateService
      */
     protected $templateService;
index e9d7181..c4ef6c0 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Core\Tree\TableConfiguration\TreeDataProviderFactory;
 class TreeDataProviderFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TreeDataProviderFactory
      */
     protected $subject;
index 6fc69a5..45b1629 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Core\Type\Exception\InvalidEnumerationValueException;
 class EnumerationTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function constructorThrowsExceptionIfNoConstantsAreDefined()
index d5c9d19..1f5a3b8 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser;
 class TypoScriptParserTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $typoScriptParser = null;
index e0bfd6b..0bf388e 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class TemplateServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\TypoScript\TemplateService
      */
     protected $templateService;
index ac741c9..955cbc8 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\TypoScript\TypoScriptService;
 class TypoScriptServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * data provider for convertTypoScriptArrayToPlainArray
      * @return array
      */
index eb36c19..4b67b37 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
  */
 class ArrayUtilityTest extends UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     ///////////////////////
     // Tests concerning filterByValueRecursive
     ///////////////////////
index e23a925..1974444 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Utility;
 class ClassNamingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * DataProvider for translateModelNameToRepositoryName
      * and translateRepositoryNameToModelName
      * and translateModelNameToValidatorName
index 6b13e65..da9bd6d 100644 (file)
@@ -31,6 +31,11 @@ use TYPO3\CMS\Core\Utility\GeneralUtility;
 class ExtensionManagementUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 24d696d..e88c2ee 100644 (file)
@@ -38,6 +38,12 @@ use TYPO3\TestingFramework\Core\FileStreamWrapper;
 class GeneralUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     const NO_FIX_PERMISSIONS_ON_WINDOWS = 'fixPermissions() not available on Windows (method does nothing)';
+
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     /**
      * @var array A backup of registered singleton instances
      */
index 69a5d10..362245b 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\Utility\RootlineUtility;
 class RootlineUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var RootlineUtility|\TYPO3\TestingFramework\Core\AccessibleObjectInterface|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject;
index 8fe5b96..41f0b4e 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Core\Utility\StringUtility;
 class StringUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Data provider for endsWithReturnsTrueForMatchingFirstPart
      *
      * @return array
index 6f3864b..265eafe 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
 class IconViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var IconViewHelper
      */
     protected $viewHelper;
index 1a03661..e6c0e5d 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Core\Tests\Unit_Deprecated\Html;
 class RteHtmlParserTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Core\Html\RteHtmlParser
      */
     protected $subject = null;
index e437686..0b04792 100644 (file)
@@ -19,6 +19,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\Utility;
  */
 class ClientUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     //////////////////////////////////////////////////////////
     // Utility Functions
     //////////////////////////////////////////////////////////
index a04821c..f8e3b15 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Configuration;
 class AbstractConfigurationManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $abstractConfigurationManager;
index e866aa3..ec01340 100644 (file)
@@ -21,6 +21,11 @@ use TYPO3\CMS\Extbase\Configuration\Exception\ParseErrorException;
 class FrontendConfigurationManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $mockContentObject;
index 783b313..ae5b34e 100644 (file)
@@ -30,6 +30,11 @@ use TYPO3Fluid\Fluid\View\TemplateView;
 class ActionControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Mvc\Controller\ActionController|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $actionController;
index 2c5a8f7..95a6a47 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Extbase\Mvc\Exception\InvalidControllerNameException;
 class RequestBuilderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $requestBuilder;
index 914a719..bbaeff0 100644 (file)
@@ -37,6 +37,11 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
 class UriBuilderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var ConfigurationManagerInterface
      */
     protected $mockConfigurationManager;
index f9a2c49..5586d44 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic;
 class BackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function insertRelationInRelationtableSetsMmMatchFieldsInRow()
index 194cb28..747ce3d 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
 class DataMapFactoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @return array
      */
     public function oneToOneRelation()
index d217d87..d9978db 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
 class DataMapperTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function mapMapsArrayToObjectByCallingmapToObject()
index 99177db..2ac8cf1 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic;
 class PersistenceManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface
      */
     protected $mockObjectManager;
index a55741b..ef0fa80 100644 (file)
@@ -16,6 +16,11 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic;
 class SessionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function objectRegisteredWithRegisterReconstitutedEntityCanBeRetrievedWithGetReconstitutedEntities()
index cf3934a..91fb65b 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\CMS\Extbase\Service\EnvironmentService;
  */
 class Typo3DbBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     public function setUp()
     {
         parent::setUp();
index 2b8ab87..7de15c2 100644 (file)
@@ -35,7 +35,12 @@ use TYPO3\CMS\Extbase\Persistence\QueryInterface;
 class Typo3DbQueryParserTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
-     * @var arary
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
+     * @var array
      */
     protected $singletonInstances;
 
index 569c9d7..9347738 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Extbase\Persistence\Generic\Exception\UnsupportedMethodException;
 class RepositoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Persistence\Repository|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $repository;
index ae29c61..33a8e13 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Extbase\Reflection\ReflectionService;
 class ReflectionServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @param array $foo The foo parameter
      * @return string
      */
index 14c128c..34bb8e5 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Scheduler;
 class TaskTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Scheduler\Task|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $task;
index 4384e7b..bdc5b0e 100644 (file)
@@ -30,6 +30,11 @@ use TYPO3\CMS\Extbase\Exception;
 class ExtensionServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface
      */
     protected $mockConfigurationManager;
index 7f983b0..c7be01b 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\CMS\Extbase\Service\ImageService;
 class ImageScriptServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var ImageService
      */
     protected $subject;
index aeb17b2..e0a6720 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Extbase\Tests\Unit\SignalSlot\Fixtures\SlotMethodDoesNotExistFixtu
 class DispatcherTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $signalSlotDispatcher;
index 95d7614..5c66afd 100644 (file)
@@ -19,6 +19,11 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Utility;
  */
 class ExtensionUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     protected function setUp()
     {
         $GLOBALS['TSFE'] = new \stdClass();
index 0a0c05c..fe33a59 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Extbase\Utility\LocalizationUtility;
 class LocalizationUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Instance of configurationManager, injected to subject
      *
      * @var \TYPO3\CMS\Extbase\Configuration\ConfigurationManager
index d2f841b..2a0bcd7 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Report;
 class ExtensionStatusTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Object\ObjectManagerInterface
      */
     protected $mockObjectManager;
index 29dd372..6c1ce60 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Service;
 class ExtensionManagementServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function resolveDependenciesCallsDownloadDependenciesIfDownloadKeyExistsInQueue()
index c0c9ab1..2d9ee24 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Utility;
 class EmConfUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function constructEmConfAddsCommentBlock()
index a48fdfa..2a454b3 100644 (file)
@@ -21,6 +21,11 @@ use TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException;
 class FileHandlingUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array List of created fake extensions to be deleted in tearDown() again
      */
     protected $fakedExtensions = [];
index 8565de8..a05d318 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Utility;
 class InstallUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var string
      */
     protected $extensionKey;
index 8316e00..798648e 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Extensionmanager\Tests\Unit\Utility;
 class ListUtilityTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extensionmanager\Utility\ListUtility
      */
     protected $subject;
index 56a98b1..ed0fc9f 100644 (file)
@@ -31,6 +31,11 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
 class FrontendLoginControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Felogin\Controller\FrontendLoginController|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $accessibleFixture;
index b4ae07d..7fe545f 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperVariableContainer;
 class AbstractWidgetViewHelperTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetViewHelper
      */
     protected $viewHelper;
index 4476206..99c861e 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\Core\Widget;
 class WidgetRequestBuilderTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Fluid\Core\Widget\WidgetRequestBuilder
      */
     protected $widgetRequestBuilder;
index bc02f00..467c10b 100644 (file)
@@ -34,6 +34,11 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperVariableContainer;
 class StandaloneViewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index f3bd285..eb0060b 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
 class IfAuthenticatedViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Fluid\ViewHelpers\Be\Security\IfAuthenticatedViewHelper
      */
     protected $viewHelper;
index a877b45..3984bd8 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
 class CObjectViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var CObjectViewHelper
      */
     protected $viewHelper;
index 08713db..0124581 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
 class FlashMessagesViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Fluid\ViewHelpers\FlashMessagesViewHelper
      */
     protected $viewHelper;
index c71c576..59dc3f8 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder;
 class SelectViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Fluid\ViewHelpers\Form\SelectViewHelper
      */
     protected $viewHelper;
index 01b6c46..40f8c46 100644 (file)
@@ -21,6 +21,11 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder;
 class TextareaViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\FormFieldViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Fluid\ViewHelpers\Form\TextareaViewHelper
      */
     protected $viewHelper;
index 76621b7..bdc7e0b 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
 class TextfieldViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TextfieldViewHelper
      */
     protected $viewHelper;
index e509e5b..623fe0f 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperInterface;
 class FormViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Extbase\Service\ExtensionService
      */
     protected $mockExtensionService;
index 3519fa2..aa13c98 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
 class PageViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var PageViewHelper
      */
     protected $viewHelper;
index c09d2ac..dc8fdb6 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\TestingFramework\Fluid\Unit\ViewHelpers\ViewHelperBaseTestcase;
 class TypolinkViewHelperTest extends ViewHelperBaseTestcase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var TypolinkViewHelper|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $subject;
index a40315f..0e7f565 100644 (file)
@@ -25,6 +25,10 @@ use TYPO3\CMS\Form\Service\TranslationService;
  */
 class FormEditorControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @var array A backup of registered singleton instances
index 83e960b..05e76a6 100644 (file)
@@ -30,6 +30,10 @@ use TYPO3\CMS\Form\Service\TranslationService;
  */
 class FormManagerControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @var array A backup of registered singleton instances
index 7fdbea9..7144164 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\CMS\Form\Service\TranslationService;
 class AbstractFinisherTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 1f95e2c..29711ea 100644 (file)
@@ -14,6 +14,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class AbstractFormElementTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function newInstanceHasNoProperties()
index fa4ca60..629676f 100644 (file)
@@ -10,6 +10,11 @@ use TYPO3\CMS\Form\Domain\Model\FormElements\Section;
  */
 class SectionTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     protected static $IDENTIFIER = 'an_id';
     protected static $TYPE = 'a_type';
 
index 74bc44f..005463d 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManagerInterface;
 class DataStructureIdentifierHookTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 208e37b..9717db4 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\CMS\Form\Mvc\Configuration\InheritancesResolverService;
 class InheritancesResolverServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var InheritancesResolverService
      */
     protected $subject;
index 10531ce..d26ab52 100644 (file)
@@ -26,6 +26,10 @@ use TYPO3\CMS\Form\Mvc\Persistence\FormPersistenceManager;
  */
 class FormPersistenceManagerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @test
index 75f6922..5c9d513 100644 (file)
@@ -17,6 +17,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 
 class PropertyMappingConfigurationTest extends UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
     /** @var PropertyMappingConfiguration */
     protected $propertyMappingConfiguration;
 
index 2ce79cf..37da2f7 100644 (file)
@@ -24,6 +24,10 @@ use TYPO3\CMS\Form\Mvc\Validation\FileSizeValidator;
  */
 class FileSizeValidatorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @test
index 0f11cec..6ee0062 100644 (file)
@@ -24,6 +24,10 @@ use TYPO3\CMS\Form\Mvc\Validation\MimeTypeValidator;
  */
 class MimeTypeValidatorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @test
index 2077ced..07f7bde 100644 (file)
@@ -30,6 +30,10 @@ use TYPO3\CMS\Form\Service\TranslationService;
  */
 class TranslationServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @var array A backup of registered singleton instances
index f5f44f8..87e81f2 100644 (file)
@@ -39,6 +39,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class FrontendUserAuthenticationTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index db932da..8a1e0f8 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\Fix
 class ConditionMatcherTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var string Name of a key in $GLOBALS for this test
      */
     protected $testGlobalNamespace;
index caa7c8d..b33cb76 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\CMS\Frontend\Page\PageRepository;
 class CaseContentObjectTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var CaseContentObject|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject = null;
index 55b969b..f040b76 100644 (file)
@@ -62,6 +62,10 @@ use TYPO3\CMS\Frontend\Page\PageRepository;
  */
 class ContentObjectRendererTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
+    /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
 
     /**
      * @var array A backup of registered singleton instances
index 04f0621..c05ab87 100644 (file)
@@ -33,6 +33,11 @@ use TYPO3\CMS\Frontend\Resource\FileCollector;
 class FilesContentObjectTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Frontend\ContentObject\FilesContentObject|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $subject = null;
index b4e4ac7..85d0c75 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3Fluid\Fluid\View\TemplateView;
 class FluidTemplateContentObjectTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 9cf1321..c2d633c 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject;
 class AbstractMenuContentObjectTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array
      */
     protected $singletonInstances = [];
index 250019f..65d2fc0 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Frontend\Page\PageRepository;
 class TypoScriptFrontendControllerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \PHPUnit_Framework_MockObject_MockObject|\TYPO3\TestingFramework\Core\AccessibleObjectInterface|TypoScriptFrontendController
      */
     protected $subject;
index 2f00569..efdba66 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\Page;
 class CacheHashCalculatorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Frontend\Page\CacheHashCalculator
      */
     protected $subject;
index 9d3605d..9502b1c 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\CMS\Frontend\Page\PageGenerator;
 class PageGeneratorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index ec63f48..1fcd024 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\Frontend\Tests\Unit\Page;
 class PageRepositoryTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var \TYPO3\CMS\Frontend\Page\PageRepository|\TYPO3\TestingFramework\Core\AccessibleObjectInterface
      */
     protected $pageSelectObject;
index cfeae74..d3202f2 100644 (file)
@@ -25,6 +25,11 @@ use TYPO3\CMS\Frontend\Tests\Unit\Fixtures\ResultBrowserPluginHook;
 class AbstractPluginTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var AbstractPlugin
      */
     protected $abstractPlugin;
index 82a8e0f..c854df8 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\CMS\Frontend\DataProcessing\GalleryProcessor;
 class GalleryProcessorTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var ContentObjectRenderer|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $contentObjectRenderer;
index 003034c..3d5b589 100644 (file)
@@ -30,6 +30,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class AbstractTypolinkBuilderTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var array A backup of registered singleton instances
      */
     protected $singletonInstances = [];
index 36f498f..af79688 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController;
 class AdminPanelViewTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Set up
      */
     protected function setUp()
index 0bb7db0..e2a461d 100644 (file)
@@ -20,6 +20,11 @@ namespace TYPO3\CMS\IndexedSearch\Tests\Unit;
 class IndexerTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * Indexer instance
      *
      * @var \PHPUnit_Framework_MockObject_MockObject|\TYPO3\CMS\IndexedSearch\Indexer
index 8af39ea..af59fe5 100644 (file)
@@ -51,6 +51,7 @@ use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodArgumentUnusedMatcher;
 use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodCallMatcher;
 use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\MethodCallStaticMatcher;
 use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyAnnotationMatcher;
+use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyExistsStaticMatcher;
 use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyProtectedMatcher;
 use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyPublicMatcher;
 use TYPO3\CMS\Install\ExtensionScanner\Php\MatcherFactory;
@@ -147,6 +148,10 @@ class UpgradeController extends AbstractController
             'configurationFile' => 'EXT:install/Configuration/ExtensionScanner/Php/MethodCallStaticMatcher.php',
         ],
         [
+            'class' => PropertyExistsStaticMatcher::class,
+            'configurationFile' => 'EXT:install/Configuration/ExtensionScanner/Php/PropertyExistsStaticMatcher.php'
+        ],
+        [
             'class' => PropertyProtectedMatcher::class,
             'configurationFile' => 'EXT:install/Configuration/ExtensionScanner/Php/PropertyProtectedMatcher.php',
         ],
diff --git a/typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcher.php b/typo3/sysext/install/Classes/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcher.php
new file mode 100644 (file)
index 0000000..b614a45
--- /dev/null
@@ -0,0 +1,62 @@
+<?php
+declare(strict_types = 1);
+namespace TYPO3\CMS\Install\ExtensionScanner\Php\Matcher;
+
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
+use PhpParser\Node;
+use PhpParser\Node\Stmt\Property;
+
+/**
+ * Find usages of properties which have been deprecated or removed.
+ * Useful if abstract classes remove properties.
+ */
+class PropertyExistsStaticMatcher extends AbstractCoreMatcher
+{
+    /**
+     * Validate config and prepare flat mach array
+     *
+     * @param array $matcherDefinitions Incoming main configuration
+     */
+    public function __construct(array $matcherDefinitions)
+    {
+        $this->matcherDefinitions = $matcherDefinitions;
+        $this->validateMatcherDefinitions();
+    }
+
+    /**
+     * Called by PhpParser.
+     *
+     * @param Node $node
+     */
+    public function enterNode(Node $node)
+    {
+        if (!$this->isFileIgnored($node)
+            && !$this->isLineIgnored($node)
+            && $node instanceof Property
+            && $node->isStatic()
+            && !$node->isPrivate()
+            && in_array($node->props[0]->name, array_keys($this->matcherDefinitions), true)
+        ) {
+            $propertyName = $node->props[0]->name;
+            $match = [
+                'restFiles' => $this->matcherDefinitions[$propertyName]['restFiles'],
+                'line' => $node->getAttribute('startLine'),
+                'message' => 'Use of property "' . $node->props[0]->name . '"',
+                'indicator' => 'weak',
+            ];
+            $this->matches[] = $match;
+        }
+    }
+}
diff --git a/typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyExistsStaticMatcher.php b/typo3/sysext/install/Configuration/ExtensionScanner/Php/PropertyExistsStaticMatcher.php
new file mode 100644 (file)
index 0000000..74a5cd5
--- /dev/null
@@ -0,0 +1,9 @@
+<?php
+return [
+    // Properties changed from public to protected
+    'suppressNotices' => [
+        'restFiles' => [
+            'Breaking-83889-E_NOTICEFreeUnitTesting.rst',
+        ],
+    ],
+];
index ee7d670..f7e8cdc 100644 (file)
@@ -24,6 +24,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class AbstractCoreMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function validateMatcherDefinitionsRunsFineWithProperDefinition()
index 7ba3bba..7643bfa 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class ArrayDimensionMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/Fixtures/PropertyExistsStaticMatcherFixture.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/Fixtures/PropertyExistsStaticMatcherFixture.php
new file mode 100644 (file)
index 0000000..d93e244
--- /dev/null
@@ -0,0 +1,65 @@
+<?php
+declare(strict_types = 1);
+namespace TYPO3\CMS\Install\Tests\Unit\ExtensionScanner\Php\Matcher\Fixtures;
+
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
+/**
+ * Fixture file
+ */
+class PropertyExistsStaticMatcherFixture1
+{
+    protected static $iAmAMatch = 42;
+
+    protected static $iAmNotAMatch;
+
+    public static $iAmNotAMatchEither;
+
+    private static $iAmNoMatchToo;
+}
+
+class PropertyExistsStaticMatcherFixture2
+{
+    public static $iAmAMatch;
+}
+
+class PropertyExistsStaticMatcherFixture3
+{
+    // Not a match: private
+    private static $iAmAMatch;
+}
+
+class PropertyExistsStaticMatcherFixture4
+{
+    // Not a match: suppressed
+    // @extensionScannerIgnoreLine
+    public static $iAmAMatch;
+}
+
+class PropertyExistsStaticMatcherFixture5
+{
+    /**
+     * Not a match: suppressed
+     *
+     * @extensionScannerIgnoreLine
+     * @var string|null
+     */
+    public static $iAmAMatch;
+}
+
+class PropertyExistsStaticMatcherFixture6
+{
+    // Not a match: Not static
+    public $iAmAMatch;
+}
index ca2241f..f682b72 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class MethodArgumentDroppedMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
index 0cf0309..3262cdb 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class MethodArgumentDroppedStaticMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
index e35611e..e14ef04 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class MethodArgumentRequiredMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
index aaa2824..aa0c8e2 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class MethodArgumentRequiredStaticMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
index 5394148..ddbcbe2 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class MethodArgumentUnusedMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
index baa9f61..f4e69f0 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class MethodCallMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
index 9e946a9..64d4c3e 100644 (file)
@@ -28,6 +28,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class MethodCallStaticMatcherTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hitsFromFixtureAreFound()
diff --git a/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcherTest.php b/typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/PropertyExistsStaticMatcherTest.php
new file mode 100644 (file)
index 0000000..7c69f36
--- /dev/null
@@ -0,0 +1,61 @@
+<?php
+declare(strict_types = 1);
+namespace TYPO3\CMS\Install\Tests\Unit\ExtensionScanner\Php\Matcher;
+
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
+use PhpParser\NodeTraverser;
+use PhpParser\NodeVisitor\NameResolver;
+use PhpParser\ParserFactory;
+use TYPO3\CMS\Install\ExtensionScanner\Php\Matcher\PropertyExistsStaticMatcher;
+use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
+
+/**
+ * Test case
+ */
+class PropertyExistsStaticMatcherTest extends UnitTestCase
+{
+    /**
+     * @test
+     */
+    public function hitsFromFixtureAreFound()
+    {
+        $parser = (new ParserFactory())->create(ParserFactory::PREFER_PHP7);
+        $fixtureFile = __DIR__ . '/Fixtures/PropertyExistsStaticMatcherFixture.php';
+        $statements = $parser->parse(file_get_contents($fixtureFile));
+
+        $traverser = new NodeTraverser();
+        $traverser->addVisitor(new NameResolver());
+
+        $configuration = [
+            'iAmAMatch' => [
+                'restFiles' => [
+                    'Breaking-12345-DeprecateFoo.rst',
+                ],
+            ],
+        ];
+        $subject = new PropertyExistsStaticMatcher($configuration);
+        $traverser->addVisitor($subject);
+        $traverser->traverse($statements);
+        $expectedHitLineNumbers = [
+            23,
+            34,
+        ];
+        $actualHitLineNumbers = [];
+        foreach ($subject->getMatches() as $hit) {
+            $actualHitLineNumbers[] = $hit['line'];
+        }
+        $this->assertEquals($expectedHitLineNumbers, $actualHitLineNumbers);
+    }
+}
index af7ce69..22c5399 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
 class AbstractNodeTest extends FolderStructureTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function getNameReturnsSetName()
index b163ac6..2335986 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
 class DirectoryNodeTest extends FolderStructureTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function constructorThrowsExceptionIfParentIsNull()
index b1a2f70..9b633d5 100644 (file)
@@ -27,6 +27,11 @@ use TYPO3\TestingFramework\Core\AccessibleObjectInterface;
 class FileNodeTest extends FolderStructureTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function constructorThrowsExceptionIfParentIsNull()
index 2f98696..e50aca6 100644 (file)
@@ -26,6 +26,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class LinkNodeTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function constructorThrowsExceptionIfParentIsNull()
index 6c2530e..18769c0 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\CMS\Install\Service\SilentConfigurationUpgradeService;
 class SilentConfigurationUpgradeServiceTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var ConfigurationManager|\PHPUnit_Framework_MockObject_MockObject
      */
     protected $configurationManager;
index fc6b01a..d72ee36 100644 (file)
@@ -29,6 +29,11 @@ use TYPO3\CMS\Install\Updates\RowUpdater\L10nModeUpdater;
 class L10nModeUpdaterTest extends BaseTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      */
     public function hasPotentialUpdateForTableThrowsExceptionIfGlobalsTcaIsNoArray()
index d41edf7..61eb000 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRecordList;
 class AbstractDatabaseRecordListTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @test
      * @dataProvider setTableDisplayOrderConvertsStringsDataProvider
      * @param array $input
index 48a58d3..7d26210 100644 (file)
@@ -31,6 +31,11 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
 class RedirectServiceTest extends UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var RedirectCacheService|ObjectProphecy
      */
     protected $redirectCacheServiceProphecy;
index a6231c8..e1bad6f 100644 (file)
@@ -22,6 +22,11 @@ use TYPO3\CMS\Rsaauth\Backend\CommandLineBackend;
 class CommandLineBackendTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @var CommandLineBackend
      */
     protected $subject = null;
index 52dec9e..0662770 100644 (file)
@@ -23,6 +23,11 @@ use TYPO3\CMS\Scheduler\Tests\Unit\CronCommand\AccessibleProxies\NormalizeComman
 class NormalizeCommandTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
 {
     /**
+     * Subject is not notice free, disable E_NOTICES
+     */
+    protected static $suppressNotices = true;
+
+    /**
      * @return array
      */
     public static function normalizeValidDataProvider()