[BUGFIX] Adjust visibility of setUp() and tearDown() 38/36438/4
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 30 Jan 2015 15:08:32 +0000 (16:08 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Fri, 30 Jan 2015 18:37:54 +0000 (19:37 +0100)
Protected is the correct visibility for those functions, as
given by the base class.

Change-Id: If8ed81c49c6c5cdd6933dd61647f1c2ad1bfc746
Resolves: #64642
Releases: master
Reviewed-on: http://review.typo3.org/36438
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
297 files changed:
typo3/sysext/backend/Tests/Unit/Configuration/TypoScript/ConditionMatching/ConditionMatcherTest.php
typo3/sysext/backend/Tests/Unit/Tree/Pagetree/DataProviderTest.php
typo3/sysext/backend/Tests/Unit/Utility/IconUtilityTest.php
typo3/sysext/belog/Tests/Unit/Domain/Model/ConstraintTest.php
typo3/sysext/belog/Tests/Unit/Domain/Model/LogEntryTest.php
typo3/sysext/belog/Tests/Unit/Domain/Repository/HistoryEntryRepositoryTest.php
typo3/sysext/beuser/Tests/Unit/Domain/Model/BackendUserTest.php
typo3/sysext/beuser/Tests/Unit/Domain/Model/DemandTest.php
typo3/sysext/core/Tests/Functional/Category/Collection/CategoryCollectionTest.php
typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/AbstractTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
typo3/sysext/core/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php
typo3/sysext/core/Tests/FunctionalTestCase.php
typo3/sysext/core/Tests/Unit/Authentication/BackendUserAuthenticationTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/AbstractBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/ApcBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/FileBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/PdoBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/WincacheBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/XcacheBackendTest.php
typo3/sysext/core/Tests/Unit/Charset/CharsetConverterTest.php
typo3/sysext/core/Tests/Unit/Configuration/ConfigurationManagerTest.php
typo3/sysext/core/Tests/Unit/Core/ClassLoaderTest.php
typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php
typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
typo3/sysext/core/Tests/Unit/Database/RelationHandlerTest.php
typo3/sysext/core/Tests/Unit/Database/SqlParserTest.php
typo3/sysext/core/Tests/Unit/Encoder/JavaScriptEncoderTest.php
typo3/sysext/core/Tests/Unit/FormProtection/AbstractFormProtectionTest.php
typo3/sysext/core/Tests/Unit/FormProtection/BackendFormProtectionTest.php
typo3/sysext/core/Tests/Unit/FormProtection/FormProtectionFactoryTest.php
typo3/sysext/core/Tests/Unit/FormProtection/InstallToolFormProtectionTest.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php
typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php
typo3/sysext/core/Tests/Unit/Imaging/GraphicalFunctionsTest.php
typo3/sysext/core/Tests/Unit/Localization/Parser/LocallangXmlParserTest.php
typo3/sysext/core/Tests/Unit/Localization/Parser/XliffParserTest.php
typo3/sysext/core/Tests/Unit/Log/LogManagerTest.php
typo3/sysext/core/Tests/Unit/Log/Processor/IntrospectionProcessorTest.php
typo3/sysext/core/Tests/Unit/Mail/MailerTest.php
typo3/sysext/core/Tests/Unit/Messaging/FlashMessageQueueTest.php
typo3/sysext/core/Tests/Unit/Messaging/FlashMessageServiceTest.php
typo3/sysext/core/Tests/Unit/Package/PackageTest.php
typo3/sysext/core/Tests/Unit/RegistryTest.php
typo3/sysext/core/Tests/Unit/Resource/BaseTestCase.php
typo3/sysext/core/Tests/Unit/Resource/Collection/FileCollectionRegistryTest.php
typo3/sysext/core/Tests/Unit/Resource/Driver/AbstractDriverTest.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/FileReferenceTest.php
typo3/sysext/core/Tests/Unit/Resource/FileTest.php
typo3/sysext/core/Tests/Unit/Resource/FolderTest.php
typo3/sysext/core/Tests/Unit/Resource/Repository/AbstractRepositoryTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceCompressorTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceFactoryTest.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php
typo3/sysext/core/Tests/Unit/Resource/Service/FrontendContentAdapterServiceTest.php
typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/TreeDataProviderFactoryTest.php
typo3/sysext/core/Tests/Unit/Utility/ExtensionManagementUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/core/Tests/Unit/Utility/MailUtilityTest.php
typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionMssqlTest.php
typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionOracleTest.php
typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionPostgresqlTest.php
typo3/sysext/dbal/Tests/Unit/Database/DatabaseConnectionTest.php
typo3/sysext/dbal/Tests/Unit/Database/SqlParserTest.php
typo3/sysext/documentation/Tests/Unit/Domain/Model/DocumentFormatTest.php
typo3/sysext/documentation/Tests/Unit/Domain/Model/DocumentTest.php
typo3/sysext/documentation/Tests/Unit/Domain/Model/DocumentTranslationTest.php
typo3/sysext/extbase/Classes/Persistence/Generic/PersistenceManager.php
typo3/sysext/extbase/Tests/Functional/Persistence/AddTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/CountTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/InTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/OperatorTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/QueryParserTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/RelationTest.php
typo3/sysext/extbase/Tests/Functional/Persistence/TranslationTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/AbstractConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/BackendConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Configuration/FrontendConfigurationManagerTest.php
typo3/sysext/extbase/Tests/Unit/Core/BootstrapTest.php
typo3/sysext/extbase/Tests/Unit/Domain/Model/BackendUserGroupTest.php
typo3/sysext/extbase/Tests/Unit/Domain/Model/BackendUserTest.php
typo3/sysext/extbase/Tests/Unit/Domain/Model/CategoryTest.php
typo3/sysext/extbase/Tests/Unit/Domain/Model/FileMountTest.php
typo3/sysext/extbase/Tests/Unit/Domain/Model/FrontendUserGroupTest.php
typo3/sysext/extbase/Tests/Unit/Domain/Model/FrontendUserTest.php
typo3/sysext/extbase/Tests/Unit/Error/ResultTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandManagerTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/CommandTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/RequestBuilderTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Cli/RequestTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ActionControllerTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/ArgumentTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/Controller/CommandControllerTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/ResponseTest.php
typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.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/Object/Container/ClassInfoFactoryTest.php
typo3/sysext/extbase/Tests/Unit/Object/Container/ContainerTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/PersistenceManagerTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryResultTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/Generic/Typo3QuerySettingsTest.php
typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php
typo3/sysext/extbase/Tests/Unit/Property/PropertyMapperTest.php
typo3/sysext/extbase/Tests/Unit/Property/PropertyMappingConfigurationBuilderTest.php
typo3/sysext/extbase/Tests/Unit/Property/PropertyMappingConfigurationTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/ArrayConverterTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/BooleanConverterTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/DateTimeConverterTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/FloatConverterTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/IntegerConverterTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/ObjectConverterTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/PersistentObjectConverterTest.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/StringConverterTest.php
typo3/sysext/extbase/Tests/Unit/Reflection/ObjectAccessTest.php
typo3/sysext/extbase/Tests/Unit/Scheduler/TaskTest.php
typo3/sysext/extbase/Tests/Unit/Security/Cryptography/HashServiceTest.php
typo3/sysext/extbase/Tests/Unit/Service/CacheServiceTest.php
typo3/sysext/extbase/Tests/Unit/Service/ExtensionServiceTest.php
typo3/sysext/extbase/Tests/Unit/Service/FlexFormServiceTest.php
typo3/sysext/extbase/Tests/Unit/SignalSlot/DispatcherTest.php
typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Utility/ExtensionUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Utility/LocalizationUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/AbstractValidatorTestcase.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/CollectionValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/Validator/GenericObjectValidatorTest.php
typo3/sysext/extbase/Tests/Unit/Validation/ValidatorResolverTest.php
typo3/sysext/extensionmanager/Tests/Unit/Controller/UpdateFromTerControllerTest.php
typo3/sysext/extensionmanager/Tests/Unit/Domain/Model/DownloadQueueTest.php
typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/ConfigurationItemRepositoryTest.php
typo3/sysext/extensionmanager/Tests/Unit/Domain/Repository/RepositoryRepositoryTest.php
typo3/sysext/extensionmanager/Tests/Unit/Report/ExtensionStatusTest.php
typo3/sysext/extensionmanager/Tests/Unit/Task/UpdateExtensionListTaskTest.php
typo3/sysext/extensionmanager/Tests/Unit/Utility/DependencyUtilityTest.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/Parser/Interceptor/EscapeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/ParsingStateTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/AbstractNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/BooleanNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/ViewHelperNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/Rendering/RenderingContextTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractConditionViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractTagBasedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/TemplateVariableContainerTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/AbstractWidgetViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetContextTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetRequestBuilderTest.php
typo3/sysext/fluid/Tests/Unit/Core/Widget/WidgetRequestHandlerTest.php
typo3/sysext/fluid/Tests/Unit/View/AbstractTemplateViewTest.php
typo3/sysext/fluid/Tests/Unit/View/StandaloneViewTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Be/IfAuthenticatedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Be/IfHasRoleViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CaseViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CountViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CycleViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ElseViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FlashMessagesViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ForViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/ButtonViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/CheckboxViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/FormFieldViewHelperBaseTestcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/HiddenViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/PasswordViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/RadioViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SubmitViewHelperTest.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/Form/UploadViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/FormViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/BytesViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CropViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/HtmlentitiesDecodeViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/HtmlentitiesViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/HtmlspecialcharsViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/Nl2brViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/PaddingViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/PrintfViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/RawViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/StripTagsViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/UrlencodeViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/GroupedForViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/IfViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/EmailViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/ExternalViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/PageViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/RenderChildrenViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/RenderViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Security/IfAuthenticatedViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Security/IfHasRoleViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/SwitchViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ThenViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/EmailViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/ExternalViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ViewHelperBaseTestcase.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Widget/Controller/PaginateControllerTest.php
typo3/sysext/form/Tests/Unit/Domain/Factory/TypoScriptFactoryTest.php
typo3/sysext/form/Tests/Unit/Filter/AlphabeticFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/AlphanumericFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/CurrencyFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/DigitFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/IntegerFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/LowerCaseFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/RegExpFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/RemoveXssFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/StripNewLinesFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/TitleCaseFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/TrimFilterTest.php
typo3/sysext/form/Tests/Unit/Filter/UpperCaseFilterTest.php
typo3/sysext/form/Tests/Unit/PostProcess/MailPostProcessorTest.php
typo3/sysext/form/Tests/Unit/PostProcess/PostProcessorTest.php
typo3/sysext/form/Tests/Unit/Validation/AlphabeticValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/AlphanumericValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/BetweenValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/DateValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/DigitValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/EmailValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/EqualsValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/FileAllowedTypesValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/FileMaximumSizeValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/FileMinimumSizeValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/FloatValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/GreaterThanValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/InArrayValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/IntegerValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/IpValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/LengthValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/LessThanValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/RegExpValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/RequiredValidatorTest.php
typo3/sysext/form/Tests/Unit/Validation/UriValidatorTest.php
typo3/sysext/frontend/Tests/Functional/Page/PageRepositoryTest.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/MediaWizard/MediaWizardProviderTest.php
typo3/sysext/frontend/Tests/Unit/Page/CacheHashCalculatorTest.php
typo3/sysext/frontend/Tests/Unit/Page/PageRepositoryTest.php
typo3/sysext/frontend/Tests/Unit/Plugin/AbstractPluginTest.php
typo3/sysext/frontend/Tests/Unit/View/AdminPanelViewTest.php
typo3/sysext/impexp/Tests/Functional/Export/AbstractExportTestCase.php
typo3/sysext/impexp/Tests/Functional/Export/GroupFileAndFileReferenceItem/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/GroupFileAndFileReferenceItemInFlexForm/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/IrreTutorialRecords/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContent/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithImages/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Export/PagesAndTtContentWithRteImagesAndFileLink/ExportTest.php
typo3/sysext/impexp/Tests/Functional/Import/AbstractImportTestCase.php
typo3/sysext/impexp/Tests/Functional/ImportFromVersionFourDotFive/PagesAndTtContentWithRteImagesAndFileLink/ImportInEmptyDatabaseTest.php
typo3/sysext/indexed_search/Tests/Unit/IndexerTest.php
typo3/sysext/install/Tests/Functional/SqlSchemaMigrationServiceTest.php
typo3/sysext/install/Tests/Unit/Controller/Action/Ajax/ExtensionCompatibilityTesterTest.php
typo3/sysext/install/Tests/Unit/ViewHelpers/Format/PhpErrorCodeViewHelperTest.php
typo3/sysext/lang/Tests/Unit/Domain/Model/ExtensionTest.php
typo3/sysext/lang/Tests/Unit/Domain/Model/LanguageTest.php
typo3/sysext/lowlevel/Tests/Unit/Utility/ArrayBrowserTest.php
typo3/sysext/reports/Tests/Unit/Report/Status/Typo3StatusTest.php
typo3/sysext/rsaauth/Tests/Unit/Backend/CommandLineBackendTest.php
typo3/sysext/rsaauth/Tests/Unit/Backend/PhpBackendTest.php
typo3/sysext/rsaauth/Tests/Unit/KeypairTest.php
typo3/sysext/saltedpasswords/Tests/Unit/Evaluation/EvaluatorTest.php
typo3/sysext/saltedpasswords/Tests/Unit/Salt/BlowfishSaltTest.php
typo3/sysext/saltedpasswords/Tests/Unit/Salt/Md5SaltTest.php
typo3/sysext/saltedpasswords/Tests/Unit/Salt/PhpassSaltTest.php
typo3/sysext/scheduler/Tests/Unit/Controller/SchedulerModuleControllerTest.php
typo3/sysext/scheduler/Tests/Unit/CronCommand/CronCommandTest.php
typo3/sysext/scheduler/Tests/Unit/Task/CachingFrameworkGarbageCollectionTest.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/FAL/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/Group/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/Publish/ActionTest.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/CSV/PublishAll/ActionTest.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/IRRE/ForeignField/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/ManyToMany/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/Select/AbstractActionTestCase.php
typo3/sysext/workspaces/Tests/Functional/Service/WorkspaceServiceTest.php

index 906a3b0..6353412 100644 (file)
@@ -47,7 +47,7 @@ class ConditionMatcherTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up tests
         */
-       public function setUp() {
+       protected function setUp() {
                $this->testTableName = 'conditionMatcherTestTable';
                $this->testGlobalNamespace = $this->getUniqueId('TEST');
                $GLOBALS['TCA'][$this->testTableName] = array('ctrl' => array());
index e28613c..70a807d 100644 (file)
@@ -28,7 +28,7 @@ class DataProviderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TYPO3_CONF_VARS']['BE']['pageTree']['preloadLimit'] = 0;
                $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/tree/pagetree/class.t3lib_tree_pagetree_dataprovider.php']['postProcessCollections'] = array();
                $GLOBALS['LOCKED_RECORDS'] = array();
index 899e865..fc42e0c 100644 (file)
@@ -54,7 +54,7 @@ class IconUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                // Create a wrapper for IconUtility, so the static property $spriteIconCache is
                // not polluted. Use this as subject!
                $className = $this->getUniqueId('IconUtility');
index 1e9fbb7..175255a 100644 (file)
@@ -25,7 +25,7 @@ class ConstraintTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->subject = new \TYPO3\CMS\Belog\Domain\Model\Constraint();
        }
 
index 49990ec..e68e25d 100644 (file)
@@ -25,7 +25,7 @@ class LogEntryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Belog\Domain\Model\LogEntry();
        }
 
index 5b81f5e..a4c806b 100644 (file)
@@ -24,7 +24,7 @@ class HistoryEntryRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $querySettings = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->querySettings = $this->getMock(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
                $this->objectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                $this->objectManager->expects($this->any())->method('get')->with(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class)->will($this->returnValue($this->querySettings));
index a3444ca..d9ecb40 100644 (file)
@@ -24,7 +24,7 @@ class BackendUserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Beuser\Domain\Model\BackendUser();
        }
 
index b0236b8..3c4c9e6 100644 (file)
@@ -24,7 +24,7 @@ class DemandTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Beuser\Domain\Model\Demand();
        }
 
index 90ef46b..7396495 100644 (file)
@@ -63,7 +63,7 @@ class CategoryCollectionTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->database = $this->getDatabaseConnection();
                $this->fixture = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Category\Collection\CategoryCollection::class, $this->tableName);
index 4431494..ce47488 100644 (file)
@@ -73,7 +73,7 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\CMS\Core\Tests\F
         */
        protected $backendUser;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->backendUser = $this->setUpBackendUserFromFixture(self::VALUE_BackendUserId);
@@ -84,7 +84,7 @@ abstract class AbstractDataHandlerActionTestCase extends \TYPO3\CMS\Core\Tests\F
                \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->initializeLanguageObject();
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                $this->assertErrorLogEntries();
                unset($this->actionService);
                unset($this->recordIds);
index 8392cc3..cd4a480 100644 (file)
@@ -49,7 +49,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/FAL/DataSet/';
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->importScenarioDataSet('LiveDefaultPages');
                $this->importScenarioDataSet('LiveDefaultElements');
index 7071f61..db46a64 100644 (file)
@@ -40,7 +40,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Group/DataSet/';
 
-       public function setUp() {
+       protected function setUp() {
                $this->testExtensionsToLoad[] = 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler';
 
                parent::setUp();
index 7c7c789..0cdd07e 100644 (file)
@@ -46,7 +46,7 @@ abstract class AbstractTestCase extends \TYPO3\CMS\Core\Tests\FunctionalTestCase
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->setUpBackendUserFromFixture(1);
@@ -65,7 +65,7 @@ abstract class AbstractTestCase extends \TYPO3\CMS\Core\Tests\FunctionalTestCase
         *
         * @return void
         */
-       public function tearDown() {
+       protected function tearDown() {
                $this->assertNoLogEntries();
 
                $this->expectedLogEntries = 0;
index f0fcfb2..95af2b9 100644 (file)
@@ -44,7 +44,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/CSV/DataSet/';
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->importScenarioDataSet('LiveDefaultPages');
                $this->importScenarioDataSet('LiveDefaultElements');
index 6558541..a55a5c1 100644 (file)
@@ -44,7 +44,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/IRRE/ForeignField/DataSet/';
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->importScenarioDataSet('LiveDefaultPages');
                $this->importScenarioDataSet('LiveDefaultElements');
index 9102bc1..485201e 100644 (file)
@@ -39,7 +39,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/ManyToMany/DataSet/';
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->importScenarioDataSet('LiveDefaultPages');
                $this->importScenarioDataSet('LiveDefaultElements');
index 86c15da..e64ea0c 100644 (file)
@@ -38,7 +38,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Regular/DataSet/';
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->importScenarioDataSet('LiveDefaultPages');
                $this->importScenarioDataSet('LiveDefaultElements');
index dc2f554..9f20dae 100644 (file)
@@ -40,7 +40,7 @@ abstract class AbstractActionTestCase extends \TYPO3\CMS\Core\Tests\Functional\D
         */
        protected $scenarioDataSetDirectory = 'typo3/sysext/core/Tests/Functional/DataHandling/Select/DataSet/';
 
-       public function setUp() {
+       protected function setUp() {
                $this->testExtensionsToLoad[] = 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler';
 
                parent::setUp();
index bec4953..c96c242 100644 (file)
@@ -173,7 +173,7 @@ abstract class FunctionalTestCase extends BaseTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                if (!defined('ORIGINAL_ROOT')) {
                        $this->markTestSkipped('Functional tests must be called through phpunit on CLI');
                }
index 204b82c..acc1245 100644 (file)
@@ -44,12 +44,12 @@ class BackendUserAuthenticationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                'recursivedeleteFolder' => FALSE
        );
 
-       public function setUp() {
+       protected function setUp() {
                // reset hooks
                $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'] = array();
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\FormProtection\FormProtectionFactory::purgeInstances();
                parent::tearDown();
        }
index 9231a47..3e1b032 100644 (file)
@@ -31,7 +31,7 @@ class AbstractBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $className = $this->getUniqueId('ConcreteBackend_');
                eval('
                        class ' . $className . ' extends TYPO3\\CMS\\Core\\Cache\\Backend\\AbstractBackend {
index 7f7c70c..a2549ad 100644 (file)
@@ -33,7 +33,7 @@ class ApcBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                // Currently APCu identifies itself both as "apcu" and "apc" (for compatibility) although it doesn't provide the APC-opcache functionality
                if (!extension_loaded('apc') || ini_get('apc.enabled') == 0 || ini_get('apc.enable_cli') == 0) {
                        $this->markTestSkipped('APC/APCu extension was not available, or it was disabled for CLI.');
index fab5718..691f158 100644 (file)
@@ -32,7 +32,7 @@ class FileBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                if (!class_exists('org\\bovigo\\vfs\\vfsStreamWrapper')) {
                        $this->markTestSkipped('File backend tests are not available with this phpunit version.');
                }
index a990a89..0649896 100644 (file)
@@ -30,7 +30,7 @@ class MemcachedBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                if (!extension_loaded('memcache')) {
                        $this->markTestSkipped('memcache extension was not available');
                }
index 01926e5..d6fbce2 100644 (file)
@@ -24,7 +24,7 @@ class PdoBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Sets up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                if (!extension_loaded('pdo_sqlite')) {
                        $this->markTestSkipped('pdo_sqlite extension was not available');
                }
index 4d59e19..04f75b6 100644 (file)
@@ -48,7 +48,7 @@ class RedisBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                if (!extension_loaded('redis')) {
                        $this->markTestSkipped('redis extension was not available');
                }
@@ -85,7 +85,7 @@ class RedisBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Tear down this testcase
         */
-       public function tearDown() {
+       protected function tearDown() {
                if ($this->backend instanceof \TYPO3\CMS\Core\Cache\Backend\RedisBackend) {
                        $this->backend->flush();
                }
index a439297..930a3e5 100644 (file)
@@ -28,7 +28,7 @@ class WincacheBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                if (!extension_loaded('wincache')) {
                        $this->markTestSkipped('WinCache extension was not available');
                }
index 0a4f42c..10b8891 100644 (file)
@@ -28,7 +28,7 @@ class XcacheBackendTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                if (!extension_loaded('xcache')) {
                        $this->markTestSkipped('xcache extension was not available');
                }
index 566a55d..97d5189 100644 (file)
@@ -26,7 +26,7 @@ class CharsetConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Core\Charset\CharsetConverter();
        }
 
index 1079351..755edfa 100644 (file)
@@ -26,7 +26,7 @@ class ConfigurationManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->createFixtureWithMockedMethods(
                        array(
                                'getDefaultConfigurationFileLocation',
index ab14c0c..74ca5a1 100644 (file)
@@ -55,7 +55,7 @@ class ClassLoaderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * during tearDown if fiddling with the autoloader where
         * backupGlobals is not set up again yet
         */
-       public function setUp() {
+       protected function setUp() {
                vfsStream::setup('Test');
 
                mkdir('vfs://Test/Packages/Application/Acme.MyApp/Classes/', 0770, TRUE);
@@ -79,7 +79,7 @@ class ClassLoaderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * The class alias map is kept static in the class loader for legacy reasons
         * and has to be reset after mocking.
         */
-       public function tearDown() {
+       protected function tearDown() {
                $this->classLoader->injectClassAliasMap($this->orinalClassAliasMap);
                parent::tearDown();
        }
index ce1948f..7739bfd 100644 (file)
@@ -31,7 +31,7 @@ class SystemEnvironmentBuilderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = $this->getAccessibleMock(\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::class, array('dummy'));
        }
 
index 93b3e8b..4a1c8e1 100644 (file)
@@ -50,7 +50,7 @@ class DataHandlerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up the tests
         */
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TCA'] = array();
                $this->singletonInstances = GeneralUtility::getSingletonInstances();
                $this->backEndUser = $this->getMock(BackendUserAuthentication::class);
@@ -63,7 +63,7 @@ class DataHandlerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Tear down the tests
         */
-       public function tearDown() {
+       protected function tearDown() {
                GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index e51dfa9..0b07ec8 100644 (file)
@@ -27,14 +27,14 @@ class RelationHandlerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = $this->getMock(\TYPO3\CMS\Core\Database\RelationHandler::class, array('purgeVersionedIds', 'purgeLiveVersionedIds'));
        }
 
        /**
         * @return void
         */
-       public function tearDown() {
+       protected function tearDown() {
                unset($this->fixture);
        }
 
index 99af226..782651f 100644 (file)
@@ -26,7 +26,7 @@ class SqlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = $this->getAccessibleMock(\TYPO3\CMS\Core\Database\SqlParser::class, array('dummy'));
        }
 
index 8dfdb05..ad398c1 100644 (file)
@@ -26,7 +26,7 @@ class JavaScriptEncoderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Core\Encoder\JavaScriptEncoder();
        }
 
index a92008c..098ebe1 100644 (file)
@@ -26,7 +26,7 @@ class AbstractFormProtectionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->subject = new \TYPO3\CMS\Core\Tests\Unit\FormProtection\Fixtures\FormProtectionTesting();
        }
 
index 5c11760..631c277 100644 (file)
@@ -34,7 +34,7 @@ class BackendFormProtectionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
 
                $GLOBALS['BE_USER'] = $this->getMock(
@@ -49,7 +49,7 @@ class BackendFormProtectionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                );
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index a5084b3..5c32c0e 100644 (file)
@@ -22,11 +22,11 @@ namespace TYPO3\CMS\Core\Tests\Unit\FormProtection;
  */
 class FormProtectionFactoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
-       public function setUp() {
+       protected function setUp() {
 
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\FormProtection\FormProtectionFactory::purgeInstances();
                parent::tearDown();
        }
index 164c214..90f277c 100644 (file)
@@ -29,7 +29,7 @@ class InstallToolFormProtectionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = $this->getAccessibleMock(
                        \TYPO3\CMS\Core\FormProtection\InstallToolFormProtection::class,
                        array('dummy')
index c6cc1d9..39cb373 100644 (file)
@@ -26,7 +26,7 @@ class HtmlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Core\Html\HtmlParser();
        }
 
index 3b75f70..cc08c16 100644 (file)
@@ -26,7 +26,7 @@ class RteHtmlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Core\Html\RteHtmlParser();
                $this->fixture->procOptions = array(
                        'dontConvBRtoParagraph' => '1',
index d8df797..0f148e7 100644 (file)
@@ -31,7 +31,7 @@ class GraphicalFunctionsTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Core\Imaging\GraphicalFunctions();
        }
 
index 1aa851d..3a6ecfe 100644 (file)
@@ -44,7 +44,7 @@ class LocallangXmlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Prepares the environment before running a test.
         */
-       public function setUp() {
+       protected function setUp() {
                        // Backup locallangXMLOverride and localization format priority
                $this->locallangXMLOverride = $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'];
                $this->l10nPriority = $GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['format']['priority'];
@@ -59,7 +59,7 @@ class LocallangXmlParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Cleans up the environment after running a test.
         */
-       public function tearDown() {
+       protected function tearDown() {
                // Restore locallangXMLOverride and localization format priority
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'] = $this->locallangXMLOverride;
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['format']['priority'] = $this->l10nPriority;
index 4e688c3..62b0da8 100644 (file)
@@ -44,7 +44,7 @@ class XliffParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Prepares the environment before running a test.
         */
-       public function setUp() {
+       protected function setUp() {
                        // Backup locallangXMLOverride and localization format priority
                $this->locallangXMLOverride = $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'];
                $this->l10nPriority = $GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['format']['priority'];
@@ -66,7 +66,7 @@ class XliffParserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Cleans up the environment after running a test.
         */
-       public function tearDown() {
+       protected function tearDown() {
                // Restore locallangXMLOverride and localization format priority
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride'] = $this->locallangXMLOverride;
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['lang']['format']['priority'] = $this->l10nPriority;
index 8c6b0da..e038547 100644 (file)
@@ -27,11 +27,11 @@ class LogManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $logManagerInstance = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->logManagerInstance = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Log\LogManager::class);
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Log\LogManager::class)->reset();
                parent::tearDown();
        }
index d960198..fdeca96 100644 (file)
@@ -59,7 +59,7 @@ class IntrospectionProcessorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Sets up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                $this->processor = $this->getAccessibleMock(
                        \TYPO3\CMS\Core\Log\Processor\IntrospectionProcessor::class,
                        array('getDebugBacktrace', 'formatDebugBacktrace')
index e488cc4..c154c92 100644 (file)
@@ -26,7 +26,7 @@ class MailerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = $this->getMock(\TYPO3\CMS\Core\Mail\Mailer::class, array('emitPostInitializeMailerSignal'), array(), '', FALSE);
        }
 
index 164bf2f..ed3ce5f 100644 (file)
@@ -29,7 +29,7 @@ class FlashMessageQueueTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $frontendUser;
 
-       public function setUp() {
+       protected function setUp() {
                $this->frontendUser = $this->getMock(\TYPO3\CMS\Frontend\Authentication\FrontendUserAuthentication::class, array('dummy'));
                $this->flashMessageQueue = $this->getAccessibleMock(
                        \TYPO3\CMS\Core\Messaging\FlashMessageQueue::class,
index e1b9a37..26e7955 100644 (file)
@@ -24,7 +24,7 @@ class FlashMessageServiceTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $flashMessageService;
 
-       public function setUp() {
+       protected function setUp() {
                $this->flashMessageService = $this->getAccessibleMock(\TYPO3\CMS\Core\Messaging\FlashMessageService::class, array('dummy'));
        }
 
index 63520a2..59f1eff 100644 (file)
@@ -23,7 +23,7 @@ class PackageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        /**
         */
-       public function setUp() {
+       protected function setUp() {
                vfsStream::setup('Packages');
        }
 
index 171d5e3..08529d9 100644 (file)
@@ -29,7 +29,7 @@ class RegistryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Sets up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TYPO3_DB'] = $this->getMock(\TYPO3\CMS\Core\Database\DatabaseConnection::class, array());
                $GLOBALS['TYPO3_DB']->expects($this->any())->method('fullQuoteStr')->will($this->onConsecutiveCalls('\'tx_phpunit\'', '\'someKey\'', '\'tx_phpunit\'', '\'someKey\''));
                $this->registry = new \TYPO3\CMS\Core\Registry();
index 3f8bdc0..1050dbe 100644 (file)
@@ -32,7 +32,7 @@ abstract class BaseTestCase extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        protected $vfsContents = array();
 
-       public function setUp() {
+       protected function setUp() {
                $this->mountDir = $this->getUniqueId('mount-');
                $this->basedir = $this->getUniqueId('base-');
                vfsStream::setup($this->basedir);
index b40fac6..fa7b15f 100644 (file)
@@ -24,7 +24,7 @@ class FileCollectionRegistryTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\Bas
         */
        protected $testSubject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->initializeTestSubject();
        }
 
index d61cc6a..a5f1ba9 100644 (file)
@@ -26,7 +26,7 @@ class AbstractDriverTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\BaseTestCas
        protected $fixture;
 
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->fixture = $this->createDriverFixture();
        }
index b7b04d9..9d2d707 100644 (file)
@@ -26,7 +26,7 @@ class DriverRegistryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->initializeFixture();
        }
 
index 3c221b4..94095a9 100644 (file)
@@ -58,7 +58,7 @@ class LocalDriverTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\BaseTestCase {
        /**
         * Tear down
         */
-       public function tearDown() {
+       protected function tearDown() {
                foreach ($this->testDirs as $dir) {
                        chmod($dir, 0777);
                        \TYPO3\CMS\Core\Utility\GeneralUtility::rmdir($dir, TRUE);
index 61d4e68..d36b9e5 100644 (file)
@@ -26,12 +26,12 @@ class FileReferenceTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $singletonInstances = array();
 
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
                \TYPO3\CMS\Core\Utility\GeneralUtility::purgeInstances();
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index 99ec7f0..a185684 100644 (file)
@@ -33,7 +33,7 @@ class FileTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $storageMock;
 
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
                $this->storageMock = $this->getMock(\TYPO3\CMS\Core\Resource\ResourceStorage::class, array(), array(), '', FALSE);
                $this->storageMock->expects($this->any())->method('getUid')->will($this->returnValue(5));
@@ -43,7 +43,7 @@ class FileTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                \TYPO3\CMS\Core\Utility\GeneralUtility::setSingletonInstance(\TYPO3\CMS\Core\Resource\Index\MetaDataRepository::class, $mockedMetaDataRepository);
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index e9e3064..69e167c 100644 (file)
@@ -30,7 +30,7 @@ class FolderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        protected $basedir = 'basedir';
 
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
                vfsStream::setup($this->basedir);
        }
index 5348f77..82af419 100644 (file)
@@ -33,7 +33,7 @@ class AbstractRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $GLOBALS['TYPO3_DB'] = $this->mockedDb;
        }
 
-       public function setUp() {
+       protected function setUp() {
                $this->subject = $this->getMockForAbstractClass(\TYPO3\CMS\Core\Resource\AbstractRepository::class, array(), '', FALSE);
        }
 
index 34b46af..bfd069c 100644 (file)
@@ -31,7 +31,7 @@ class ResourceCompressorTest extends BaseTestCase {
        /**
         * Set up the test
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->subject = $this->getAccessibleMock(\TYPO3\CMS\Core\Resource\ResourceCompressor::class, array('compressCssFile', 'compressJsFile', 'createMergedCssFile', 'createMergedJsFile', 'getFilenameFromMainDir', 'checkBaseDirectory'));
        }
index 82847e2..2296864 100644 (file)
@@ -36,12 +36,12 @@ class ResourceFactoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $filesCreated = array();
 
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
                $this->subject = $this->getAccessibleMock(\TYPO3\CMS\Core\Resource\ResourceFactory::class, array('dummy'), array(), '', FALSE);
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                foreach ($this->filesCreated as $file) {
                        unlink($file);
index 77a339c..f82e49c 100644 (file)
@@ -44,7 +44,7 @@ class ResourceStorageTest extends BaseTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->singletonInstances = GeneralUtility::getSingletonInstances();
                /** @var FileRepository|\PHPUnit_Framework_MockObject_MockObject $fileRepositoryMock */
@@ -56,7 +56,7 @@ class ResourceStorageTest extends BaseTestCase {
                $GLOBALS['TYPO3_DB'] = $this->getMock(DatabaseConnection::class);
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index 45b170e..102dd2c 100644 (file)
@@ -32,7 +32,7 @@ class FrontendContentAdapterServiceTest extends \TYPO3\CMS\Core\Tests\UnitTestCa
        /**
         * Saving the singletons
         */
-       public function setUp() {
+       protected function setUp() {
                $this->pageRepositoryMock = $this->getMock(\TYPO3\CMS\Frontend\Page\PageRepository::class);
                $GLOBALS['TSFE'] = new \stdClass;
                $GLOBALS['TSFE']->sys_page = $this->pageRepositoryMock;
index 26a57a6..4f60a45 100644 (file)
@@ -24,7 +24,7 @@ class TreeDataProviderFactoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Core\Tree\TableConfiguration\TreeDataProviderFactory();
                $GLOBALS['TCA'] = array();
                $GLOBALS['TCA']['foo'] = array();
index ec5a8a3..d501492 100644 (file)
@@ -36,14 +36,14 @@ class ExtensionManagementUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
         */
        protected $backUpPackageManager;
 
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = GeneralUtility::getSingletonInstances();
                $this->createAccessibleProxyClass();
                $this->backUpPackageManager = ExtensionManagementUtilityAccessibleProxy::getPackageManager();
                $this->singletonInstances = GeneralUtility::getSingletonInstances();
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                ExtensionManagementUtility::clearExtensionKeyMap();
                ExtensionManagementUtilityAccessibleProxy::setPackageManager($this->backUpPackageManager);
                ExtensionManagementUtilityAccessibleProxy::setCacheManager(NULL);
index c1cc94e..7472239 100644 (file)
@@ -33,14 +33,14 @@ class GeneralUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $singletonInstances = array();
 
-       public function setUp() {
+       protected function setUp() {
                GeneralUtilityFixture::$isAllowedHostHeaderValueCallCount = 0;
                GeneralUtilityFixture::setAllowHostHeaderValue(FALSE);
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] = Utility\GeneralUtility::ENV_TRUSTED_HOSTS_PATTERN_ALLOW_ALL;
                $this->singletonInstances = Utility\GeneralUtility::getSingletonInstances();
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index e25f18e..3e55def 100644 (file)
@@ -26,11 +26,11 @@ class MailUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $singletonInstances = array();
 
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index a45c7eb..02f803a 100644 (file)
@@ -29,7 +29,7 @@ class DatabaseConnectionMssqlTest extends AbstractTestCase {
         *
         * @return \TYPO3\CMS\Dbal\Database\DatabaseConnection|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\CMS\Core\Tests\AccessibleObjectInterface
         */
-       public function setUp() {
+       protected function setUp() {
                $configuration = array(
                        'handlerCfg' => array(
                                '_DEFAULT' => array(
index 7c21b31..d04174a 100644 (file)
@@ -29,7 +29,7 @@ class DatabaseConnectionOracleTest extends AbstractTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $configuration = array(
                        'handlerCfg' => array(
                                '_DEFAULT' => array(
index 3b8bee0..f6a039e 100644 (file)
@@ -29,7 +29,7 @@ class DatabaseConnectionPostgresqlTest extends AbstractTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $configuration = array(
                        'handlerCfg' => array(
                                '_DEFAULT' => array(
index 25e5c23..0dce402 100644 (file)
@@ -29,7 +29,7 @@ class DatabaseConnectionTest extends AbstractTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TYPO3_LOADED_EXT'] = array();
 
                /** @var \TYPO3\CMS\Dbal\Database\DatabaseConnection|\PHPUnit_Framework_MockObject_MockObject|\TYPO3\CMS\Core\Tests\AccessibleObjectInterface $subject */
index bf17250..d2aa287 100644 (file)
@@ -27,7 +27,7 @@ class SqlParserTest extends AbstractTestCase {
        /**
         * Prepares the environment before running a test.
         */
-       public function setUp() {
+       protected function setUp() {
                $subject = $this->getAccessibleMock(\TYPO3\CMS\Dbal\Database\SqlParser::class, array('dummy'), array(), '', FALSE);
 
                $mockDatabaseConnection = $this->getMock(\TYPO3\CMS\Dbal\Database\DatabaseConnection::class, array(), array(), '', FALSE);
index d3b77f6..eb7598e 100644 (file)
@@ -24,7 +24,7 @@ class DocumentFormatTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Documentation\Domain\Model\DocumentFormat();
        }
 
index 4ca5d05..2076223 100644 (file)
@@ -24,7 +24,7 @@ class DocumentTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Documentation\Domain\Model\Document();
        }
 
index 6ff43f3..d3ba9ea 100644 (file)
@@ -24,7 +24,7 @@ class DocumentTranslationTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Documentation\Domain\Model\DocumentTranslation();
        }
 
index 352fd30..88df164 100644 (file)
@@ -319,4 +319,4 @@ class PersistenceManager implements \TYPO3\CMS\Extbase\Persistence\PersistenceMa
                }
        }
 
-}
+}
\ No newline at end of file
index dccf51e..114e480 100644 (file)
@@ -46,7 +46,7 @@ class AddTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
        /**
         * Sets up this test suite.
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->objectManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
index dfd6dd3..a359a83 100644 (file)
@@ -51,7 +51,7 @@ class CountTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
        /**
         * Sets up this test suite.
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/core/Tests/Functional/Fixtures/pages.xml');
index 983c88a..bc5eb4a 100644 (file)
@@ -46,7 +46,7 @@ class InTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
        /**
         * Sets up this test suite.
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/core/Tests/Functional/Fixtures/pages.xml');
index ca9b93f..b5b44f8 100644 (file)
@@ -46,7 +46,7 @@ class OperatorTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
        /**
         * Sets up this test suite.
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/core/Tests/Functional/Fixtures/pages.xml');
index 0393788..b2c2f68 100644 (file)
@@ -41,7 +41,7 @@ class QueryParserTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
        /**
         * Sets up this test suite.
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->objectManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
index 22a6f23..a23e5ca 100644 (file)
@@ -46,7 +46,7 @@ class RelationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
        /**
         * Sets up this test suite.
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
 
                $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/core/Tests/Functional/Fixtures/pages.xml');
index c8c992d..9bce361 100644 (file)
@@ -44,7 +44,7 @@ class TranslationTest extends \TYPO3\CMS\Core\Tests\FunctionalTestCase {
        /**
         * Sets up this test suite.
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                /*
                 * Posts Dataset for the tests:
index fdf4a0f..3856b2f 100644 (file)
@@ -110,7 +110,7 @@ class AbstractConfigurationManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCas
        /**
         * Sets up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                $this->abstractConfigurationManager = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Configuration\AbstractConfigurationManager::class, array('getContextSpecificFrameworkConfiguration', 'getTypoScriptSetup', 'getPluginConfiguration', 'getSwitchableControllerActions', 'getRecursiveStoragePids'));
                $this->mockTypoScriptService = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Service\TypoScriptService::class);
                $this->abstractConfigurationManager->_set('typoScriptService', $this->mockTypoScriptService);
index a8a045b..beb3945 100644 (file)
@@ -32,7 +32,7 @@ class BackendConfigurationManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
        /**
         * Sets up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TYPO3_DB'] = $this->getMock(\TYPO3\CMS\Core\Database\DatabaseConnection::class, array());
                $this->backendConfigurationManager = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager::class, array('getTypoScriptSetup'));
                $this->mockTypoScriptService = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Service\TypoScriptService::class);
index 6c7c40c..65ad6ab 100644 (file)
@@ -37,7 +37,7 @@ class FrontendConfigurationManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCas
        /**
         * Sets up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->tmpl = new \stdClass();
                $this->mockContentObject = $this->getMock(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class, array('getTreeList'));
index a7c7137..4c01ecb 100644 (file)
@@ -27,11 +27,11 @@ class BootstrapTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Sets up this testcase
         */
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = \TYPO3\CMS\Core\Utility\GeneralUtility::getSingletonInstances();
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::purgeInstances();
                \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
index 69dbd1e..a98cc31 100644 (file)
@@ -24,7 +24,7 @@ class BackendUserGroupTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Extbase\Domain\Model\BackendUserGroup();
        }
 
index bb3078f..b5d8f47 100644 (file)
@@ -24,7 +24,7 @@ class BackendUserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Extbase\Domain\Model\BackendUser();
        }
 
index 890eadc..86a1bdf 100644 (file)
@@ -24,7 +24,7 @@ class CategoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Extbase\Domain\Model\Category();
        }
 
index e6b1b31..973f2bd 100644 (file)
@@ -24,7 +24,7 @@ class FileMountTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Extbase\Domain\Model\FileMount();
        }
 
index 1d7df42..bf394dc 100644 (file)
@@ -24,7 +24,7 @@ class FrontendUserGroupTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup();
        }
 
index fe3dfb8..7f2f2bb 100644 (file)
@@ -24,7 +24,7 @@ class FrontendUserTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture = NULL;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Extbase\Domain\Model\FrontendUser();
        }
 
index 20c3163..b72ce74 100644 (file)
@@ -31,7 +31,7 @@ class ResultTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $result;
 
-       public function setUp() {
+       protected function setUp() {
                $this->result = new \TYPO3\CMS\Extbase\Error\Result();
        }
 
index cc6f00e..d943afa 100644 (file)
@@ -36,7 +36,7 @@ class CommandManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $commandManager;
 
-       public function setUp() {
+       protected function setUp() {
                $this->commandManager = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Cli\CommandManager::class, array('getAvailableCommands'));
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                $this->commandManager->_set('objectManager', $this->mockObjectManager);
index 87702ba..ac97f3a 100644 (file)
@@ -44,7 +44,7 @@ class CommandTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->command = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Cli\Command::class, array('getCommandMethodReflection'), array(), '', FALSE);
                $this->mockMethodReflection = $this->getMock(\TYPO3\CMS\Extbase\Reflection\MethodReflection::class, array(), array(), '', FALSE);
                $this->command->expects($this->any())->method('getCommandMethodReflection')->will($this->returnValue($this->mockMethodReflection));
index b4150c0..fc4df19 100644 (file)
@@ -66,7 +66,7 @@ class RequestBuilderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @author Robert Lemke <robert@typo3.org>
         */
-       public function setUp() {
+       protected function setUp() {
                $this->request = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Cli\Request::class, array('dummy'));
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                $this->mockObjectManager->expects($this->any())->method('get')->with(\TYPO3\CMS\Extbase\Mvc\Cli\Request::class)->will($this->returnValue($this->request));
index e61ca4d..1d82cfc 100644 (file)
@@ -39,7 +39,7 @@ class RequestTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Sets up this test case
         */
-       public function setUp() {
+       protected function setUp() {
                $this->request = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Cli\Request::class, array('dummy'));
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                $this->request->_set('objectManager', $this->mockObjectManager);
index 98095c9..ff1f4d4 100644 (file)
@@ -42,7 +42,7 @@ class ActionControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockMvcPropertyMappingConfigurationService;
 
-       public function setUp() {
+       protected function setUp() {
                $this->actionController = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Controller\ActionController::class);
        }
 
index 3deac02..303be2f 100644 (file)
@@ -45,7 +45,7 @@ class ArgumentTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @author Sebastian Kurfürst <sebastian@typo3.org>
         */
-       public function setUp() {
+       protected function setUp() {
                $this->simpleValueArgument = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Controller\Argument::class, array('dummy'), array('someName', 'string'));
                $this->objectArgument = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Controller\Argument::class, array('dummy'), array('someName', 'DateTime'));
                $this->mockPropertyMapper = $this->getMock(\TYPO3\CMS\Extbase\Property\PropertyMapper::class);
index dc3b03f..b53499e 100644 (file)
@@ -24,7 +24,7 @@ class CommandControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $commandController;
 
-       public function setUp() {
+       protected function setUp() {
                $this->commandController = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Controller\CommandController::class, array('dummyCommand'));
        }
 
index a84da9e..fd3b810 100644 (file)
@@ -24,7 +24,7 @@ class ResponseTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockResponse;
 
-       public function setUp() {
+       protected function setUp() {
                $this->mockResponse = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Response::class, array('dummy'));
        }
 
index aaf3b69..91120a7 100644 (file)
@@ -41,7 +41,7 @@ class JsonViewTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * Sets up this test case
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->view = $this->getMock(\TYPO3\CMS\Extbase\Mvc\View\JsonView::class, array('loadConfigurationFromYamlFile'));
                $this->controllerContext = $this->getMock(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext::class, array(), array(), '', FALSE);
                $this->response = $this->getMock(\TYPO3\CMS\Extbase\Mvc\Web\Response::class, array());
index c8666d2..af61c36 100644 (file)
@@ -54,7 +54,7 @@ class RequestBuilderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockRequest;
 
-       public function setUp() {
+       protected function setUp() {
                $this->requestBuilder = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Mvc\Web\RequestBuilder::class, array('dummy'));
                $this->configuration = array(
                        'userFunc' => 'Tx_Extbase_Dispatcher->dispatch',
index efc8dc5..d3fa9aa 100644 (file)
@@ -44,7 +44,7 @@ class UriBuilderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $uriBuilder;
 
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TSFE'] = $this->getMock(\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::class, array(), array(), '', FALSE);
                $this->mockContentObject = $this->getMock(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class);
                $this->mockRequest = $this->getMock(\TYPO3\CMS\Extbase\Mvc\Web\Request::class);
index 58ef9b0..68eb268 100644 (file)
@@ -29,7 +29,7 @@ class ClassInfoFactoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->classInfoFactory = new \TYPO3\CMS\Extbase\Object\Container\ClassInfoFactory();
        }
 
index 3f409f2..7dd96a0 100644 (file)
@@ -32,7 +32,7 @@ class ContainerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $cachedClassInfo;
 
-       public function setUp() {
+       protected function setUp() {
                // The mocked cache will always indicate that he has nothing in the cache to force that we get the real class info
                $mockedCache = $this->getMock(\TYPO3\CMS\Extbase\Object\Container\ClassInfoCache::class, array('get', 'set'));
                $mockedCache->expects($this->any())->method('get')->will($this->returnValue(FALSE));
index b185359..0af9e16 100644 (file)
@@ -24,7 +24,7 @@ class PersistenceManagerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockObjectManager;
 
-       public function setUp() {
+       protected function setUp() {
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
        }
 
index 65336a1..c919247 100644 (file)
@@ -49,7 +49,7 @@ class QueryResultTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->mockPersistenceManager = $this->getMock(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface::class);
                $this->mockPersistenceManager->expects($this->any())->method('getObjectDataByQuery')->will($this->returnValue(array('one', 'two')));
                $this->mockPersistenceManager->expects($this->any())->method('getObjectCountByQuery')->will($this->returnValue(2));
index b9ca84a..676c736 100644 (file)
@@ -49,7 +49,7 @@ class QueryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->query = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Persistence\Generic\Query::class, array('dummy'), array('someType'));
                $this->querySettings = $this->getMock(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
                $this->query->_set('querySettings', $this->querySettings);
index a219ff3..eb3a5ad 100644 (file)
@@ -27,7 +27,7 @@ class Typo3QuerySettingsTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * setup test environment
         */
-       public function setUp() {
+       protected function setUp() {
                $this->typo3QuerySettings = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::class, array('dummy'));
        }
 
index eeca674..078bc89 100644 (file)
@@ -69,7 +69,7 @@ class RepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockQuerySettings;
 
-       public function setUp() {
+       protected function setUp() {
                $this->mockIdentityMap = $this->getMock(\TYPO3\CMS\Extbase\Persistence\Generic\IdentityMap::class);
                $this->mockQueryFactory = $this->getMock(\TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory::class);
                $this->mockQuery = $this->getMock(\TYPO3\CMS\Extbase\Persistence\QueryInterface::class);
index dd9e89e..1cf6081 100644 (file)
@@ -36,7 +36,7 @@ class PropertyMapperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * @return void
         * @author Sebastian Kurfürst <sebastian@typo3.org>
         */
-       public function setUp() {
+       protected function setUp() {
                $this->mockConfigurationBuilder = $this->getMock(\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationBuilder::class);
                $this->mockConfiguration = $this->getMock(\TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationInterface::class);
        }
index 7656ad4..2364975 100644 (file)
@@ -31,7 +31,7 @@ class PropertyMappingConfigurationBuilderTest extends \TYPO3\CMS\Core\Tests\Unit
         */
        protected $propertyMappingConfigurationBuilder;
 
-       public function setUp() {
+       protected function setUp() {
                $this->propertyMappingConfigurationBuilder = new \TYPO3\CMS\Extbase\Property\PropertyMappingConfigurationBuilder();
        }
 
index cebd67a..767fa5b 100644 (file)
@@ -34,7 +34,7 @@ class PropertyMappingConfigurationTest extends \TYPO3\CMS\Core\Tests\UnitTestCas
        /**
         * Initialization
         */
-       public function setUp() {
+       protected function setUp() {
                $this->propertyMappingConfiguration = new \TYPO3\CMS\Extbase\Property\PropertyMappingConfiguration();
        }
 
index a438dfd..3f32653 100644 (file)
@@ -31,7 +31,7 @@ class ArrayConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $converter;
 
-       public function setUp() {
+       protected function setUp() {
                $this->converter = new \TYPO3\CMS\Extbase\Property\TypeConverter\ArrayConverter();
        }
 
index d7c4ab0..a79bb94 100644 (file)
@@ -31,7 +31,7 @@ class BooleanConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $converter;
 
-       public function setUp() {
+       protected function setUp() {
                $this->converter = new \TYPO3\CMS\Extbase\Property\TypeConverter\BooleanConverter();
        }
 
index 4baabd5..06d44f0 100644 (file)
@@ -31,7 +31,7 @@ class DateTimeConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $converter;
 
-       public function setUp() {
+       protected function setUp() {
                $this->converter = new \TYPO3\CMS\Extbase\Property\TypeConverter\DateTimeConverter();
        }
 
index 915a8c6..e6704c9 100644 (file)
@@ -31,7 +31,7 @@ class FloatConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $converter;
 
-       public function setUp() {
+       protected function setUp() {
                $this->converter = new \TYPO3\CMS\Extbase\Property\TypeConverter\FloatConverter();
        }
 
index db6a107..b245fd2 100644 (file)
@@ -31,7 +31,7 @@ class IntegerConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $converter;
 
-       public function setUp() {
+       protected function setUp() {
                $this->converter = new \TYPO3\CMS\Extbase\Property\TypeConverter\IntegerConverter();
        }
 
index 521b92d..ec8ddf1 100644 (file)
@@ -53,7 +53,7 @@ class ObjectConverterTest extends UnitTestCase {
         * @throws \InvalidArgumentException
         * @throws \RuntimeException
         */
-       public function setUp() {
+       protected function setUp() {
                $this->mockReflectionService = $this->getMock(\TYPO3\CMS\Extbase\Reflection\ReflectionService::class);
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                $this->mockContainer = $this->getMock(\TYPO3\CMS\Extbase\Object\Container\Container::class);
index a04ae3d..6a74a21 100644 (file)
@@ -58,7 +58,7 @@ class PersistentObjectConverterTest extends UnitTestCase {
         * @throws \PHPUnit_Framework_Exception
         * @throws \RuntimeException
         */
-       public function setUp() {
+       protected function setUp() {
                $this->converter = new PersistentObjectConverter();
                $this->mockReflectionService = $this->getMock(\TYPO3\CMS\Extbase\Reflection\ReflectionService::class);
                $this->inject($this->converter, 'reflectionService', $this->mockReflectionService);
index 489fb65..851a6fc 100644 (file)
@@ -31,7 +31,7 @@ class StringConverterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $converter;
 
-       public function setUp() {
+       protected function setUp() {
                $this->converter = new \TYPO3\CMS\Extbase\Property\TypeConverter\StringConverter();
        }
 
index 711e699..8f64b43 100644 (file)
@@ -21,7 +21,7 @@ class ObjectAccessTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        protected $dummyObject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->dummyObject = new \TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyClassWithGettersAndSetters();
                $this->dummyObject->setProperty('string1');
                $this->dummyObject->setAnotherProperty(42);
index d27349d..39dff66 100644 (file)
@@ -29,7 +29,7 @@ class TaskTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $taskExecutor;
 
-       public function setUp() {
+       protected function setUp() {
                $this->taskExecutor = $this->getMock(\TYPO3\CMS\Extbase\Scheduler\TaskExecutor::class, array('execute'), array(), '', FALSE);
                $this->task = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Scheduler\Task::class, array('logException', '__wakeup'), array(), '', FALSE);
        }
index d5af8f4..8902953 100644 (file)
@@ -24,7 +24,7 @@ class HashServiceTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $hashService;
 
-       public function setUp() {
+       protected function setUp() {
                $this->hashService = new \TYPO3\CMS\Extbase\Security\Cryptography\HashService();
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] = 'Testing';
        }
index 2a94ab6..3b8ab6e 100644 (file)
@@ -29,7 +29,7 @@ class CacheServiceTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $cacheManagerMock;
 
-       public function setUp() {
+       protected function setUp() {
                $this->cacheService = new \TYPO3\CMS\Extbase\Service\CacheService();
                $this->cacheManagerMock = $this->getMock(\TYPO3\CMS\Core\Cache\CacheManager::class);
                $this->cacheService->injectCacheManager($this->cacheManagerMock);
index 21bf535..f7a707c 100644 (file)
@@ -29,7 +29,7 @@ class ExtensionServiceTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $extensionService;
 
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TYPO3_DB'] = $this->getMock(\TYPO3\CMS\Core\Database\DatabaseConnection::class, array('fullQuoteStr', 'exec_SELECTgetRows'));
                $GLOBALS['TSFE'] = new \stdClass();
                $this->extensionService = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Service\ExtensionService::class, array('dummy'));
index 41eeeee..147b3a5 100644 (file)
@@ -29,14 +29,14 @@ class FlexFormServiceTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->backupSingletons = GeneralUtility::getSingletonInstances();
        }
 
        /**
         * Tear down
         */
-       public function tearDown() {
+       protected function tearDown() {
                GeneralUtility::resetSingletonInstances($this->backupSingletons);
                parent::tearDown();
        }
index 4d999ac..7c840b5 100644 (file)
@@ -24,7 +24,7 @@ class DispatcherTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $signalSlotDispatcher;
 
-       public function setUp() {
+       protected function setUp() {
                $accessibleClassName = $this->getAccessibleMock(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class, array('dummy'));
                $this->signalSlotDispatcher = new $accessibleClassName();
        }
index d2711e4..b631bb2 100644 (file)
@@ -24,7 +24,7 @@ class DebuggerUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $debugger;
 
-       public function setUp() {
+       protected function setUp() {
                $this->debugger = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Utility\DebuggerUtility::class, array('dummy'));
        }
 
index d180e52..ba9cd52 100644 (file)
@@ -19,7 +19,7 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Utility;
  */
 class ExtensionUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
-       public function setUp() {
+       protected function setUp() {
                $GLOBALS['TYPO3_DB'] = $this->getMock(\TYPO3\CMS\Core\Database\DatabaseConnection::class, array('fullQuoteStr', 'exec_SELECTgetRows'));
 
                $GLOBALS['TSFE'] = new \stdClass();
index 453d90a..dd3f874 100644 (file)
@@ -149,7 +149,7 @@ class LocalizationUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Prepare class mocking some dependencies
         */
-       public function setUp() {
+       protected function setUp() {
                $reflectionClass = new \ReflectionClass(\TYPO3\CMS\Extbase\Utility\LocalizationUtility::class);
 
                $this->configurationManager = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Configuration\ConfigurationManager::class, array('getConfiguration'));
@@ -161,7 +161,7 @@ class LocalizationUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Reset static properties
         */
-       public function tearDown() {
+       protected function tearDown() {
                $reflectionClass = new \ReflectionClass(\TYPO3\CMS\Extbase\Utility\LocalizationUtility::class);
 
                $property = $reflectionClass->getProperty('configurationManager');
index f0baa6e..71307f8 100644 (file)
@@ -33,7 +33,7 @@ abstract class AbstractValidatorTestcase extends \TYPO3\CMS\Core\Tests\UnitTestC
         */
        protected $validator;
 
-       public function setUp() {
+       protected function setUp() {
                $this->validator = $this->getValidator();
        }
 
index dd7fe2d..682bd39 100644 (file)
@@ -53,7 +53,7 @@ class CollectionValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->mockValidatorResolver = $this->getAccessibleMock(
                        \TYPO3\CMS\Extbase\Validation\ValidatorResolver::class,
                        array('createValidator', 'buildBaseValidatorConjunction', 'getBaseValidatorConjunction')
index 0c316fe..22fdd3d 100644 (file)
@@ -30,7 +30,7 @@ class GenericObjectValidatorTest extends \TYPO3\CMS\Extbase\Tests\Unit\Validatio
 
        protected $validatorClassName = \TYPO3\CMS\Extbase\Validation\Validator\GenericObjectValidator::class;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
        }
 
index 83d9f0b..94048f0 100644 (file)
@@ -29,7 +29,7 @@ class ValidatorResolverTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockObjectManager;
 
-       public function setUp() {
+       protected function setUp() {
                $this->validatorResolver = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Validation\ValidatorResolver::class, array('dummy'));
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
                $this->validatorResolver->_set('objectManager', $this->mockObjectManager);
index e8be172..f54aaa1 100644 (file)
@@ -40,7 +40,7 @@ class UpdateFromTerControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $repositoryHelperMock;
 
-       public function setUp() {
+       protected function setUp() {
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                $this->repositoryRepositoryMock = $this->getMock(\TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository::class, array('findByUid'), array($this->mockObjectManager));
                $this->extensionRepositoryMock = $this->getAccessibleMock(\TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository::class, array(), array($this->mockObjectManager));
index 74f671b..304ecb6 100644 (file)
@@ -33,7 +33,7 @@ class DownloadQueueTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->downloadQueueMock = $this->getAccessibleMock(\TYPO3\CMS\Extensionmanager\Domain\Model\DownloadQueue::class, array('dummy'));
                $this->extensionMock = $this->getMock(\TYPO3\CMS\Extensionmanager\Domain\Model\Extension::class, array('dummy'));
                $this->extensionMock->setExtensionKey('foobar');
index 7966d9e..ca76551 100644 (file)
@@ -35,7 +35,7 @@ class ConfigurationItemRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                // Mock system under test to make protected methods accessible
                $this->configurationItemRepository = $this->getAccessibleMock(
                        \TYPO3\CMS\Extensionmanager\Domain\Repository\ConfigurationItemRepository::class,
index d7d7ef3..2a21975 100644 (file)
@@ -30,7 +30,7 @@ class RepositoryRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                /** @var $fixture \TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository|\PHPUnit_Framework_MockObject_MockObject */
                $this->fixture = $this->getMock(\TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository::class, array('findAll'), array($this->mockObjectManager));
index 42cb2d9..f231511 100644 (file)
@@ -39,7 +39,7 @@ class ExtensionStatusTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
                /** @var $mockRepositoryRepository \TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository|\PHPUnit_Framework_MockObject_MockObject */
                $this->mockRepositoryRepository = $this->getMock(\TYPO3\CMS\Extensionmanager\Domain\Repository\RepositoryRepository::class, array(), array($this->mockObjectManager));
index ed069e4..35c4175 100644 (file)
@@ -33,7 +33,7 @@ class UpdateExtensionListTaskTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('scheduler')) {
                        $this->markTestSkipped('Tests need EXT:scheduler loaded.');
                }
@@ -44,7 +44,7 @@ class UpdateExtensionListTaskTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Tear down
         */
-       public function tearDown() {
+       protected function tearDown() {
                \TYPO3\CMS\Core\Utility\GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
        }
index d2e37e8..75da72d 100644 (file)
@@ -28,7 +28,7 @@ class DependencyUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->objectManagerMock = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
        }
 
index c14cc49..a2e4c77 100644 (file)
@@ -42,7 +42,7 @@ class InstallUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->extensionKey = 'dummy';
                $this->extensionData = array(
                        'key' => $this->extensionKey
@@ -84,7 +84,7 @@ class InstallUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function tearDown() {
+       protected function tearDown() {
                foreach ($this->fakedExtensions as $fakeExtkey => $fakeExtension) {
                        $this->testFilesToDelete[] = PATH_site . 'typo3temp/' . $fakeExtkey;
                }
index bc7d209..6680a1a 100644 (file)
@@ -30,7 +30,7 @@ class ListUtilityTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->subject = $this->getMock(\TYPO3\CMS\Extensionmanager\Utility\ListUtility::class, array('emitPackagesMayHaveChangedSignal'));
                $packageManagerMock = $this->getMock(\TYPO3\CMS\Core\Package\PackageManager::class);
                $packageManagerMock
index 18ffa1a..afef70d 100644 (file)
@@ -44,7 +44,7 @@ class FrontendLoginControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->testTableName = 'sys_domain';
                $this->testHostName = 'hostname.tld';
                $this->testSitePath = '/';
index adffe5b..3a1bffd 100644 (file)
@@ -36,7 +36,7 @@ class EscapeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockParsingState;
 
-       public function setUp() {
+       protected function setUp() {
                $this->escapeInterceptor = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\Parser\Interceptor\Escape::class, array('dummy'));
                $this->mockViewHelper = $this->getMock(\TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::class);
                $this->mockNode = $this->getMock(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\ViewHelperNode::class, array(), array(), '', FALSE);
index ff911e6..a7039f5 100644 (file)
@@ -23,7 +23,7 @@ class ParsingStateTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $parsingState;
 
-       public function setUp() {
+       protected function setUp() {
                $this->parsingState = new \TYPO3\CMS\Fluid\Core\Parser\ParsingState();
        }
 
index 0bc1c11..7a9b7d7 100644 (file)
@@ -22,7 +22,7 @@ class AbstractNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
        protected $childNode;
 
-       public function setUp() {
+       protected function setUp() {
                $this->renderingContext = $this->getMock(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::class, array(), array(), '', FALSE);
 
                $this->abstractNode = $this->getMock(\TYPO3\CMS\Fluid\Core\Parser\SyntaxTree\AbstractNode::class, array('evaluate'));
index 07fdd55..b249fee 100644 (file)
@@ -29,7 +29,7 @@ class BooleanNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Setup fixture
         */
-       public function setUp() {
+       protected function setUp() {
                $this->renderingContext = $this->getMock(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface::class);
        }
 
index 5fbfa0e..800bb3d 100644 (file)
@@ -50,7 +50,7 @@ class ViewHelperNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Setup fixture
         */
-       public function setUp() {
+       protected function setUp() {
                $this->renderingContext = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::class);
 
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
index 6713415..dab1681 100644 (file)
@@ -23,7 +23,7 @@ class RenderingContextTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $renderingContext;
 
-       public function setUp() {
+       protected function setUp() {
                $this->renderingContext = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\Rendering\RenderingContext::class, array('dummy'));
        }
 
index 71215dd..ce04a76 100644 (file)
@@ -26,7 +26,7 @@ class AbstractConditionViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHe
         */
        protected $mockArguments;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\ViewHelper\AbstractConditionViewHelper::class, array('getRenderingContext', 'renderChildren', 'hasArgument'));
                $this->viewHelper->expects($this->any())->method('getRenderingContext')->will($this->returnValue($this->renderingContext));
index 957f769..4d0f03b 100644 (file)
@@ -21,7 +21,7 @@ class AbstractTagBasedViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\ViewHelper\AbstractTagBasedViewHelper::class, array('dummy'), array(), '', FALSE);
        }
 
index ec01a84..06e043d 100644 (file)
@@ -58,7 +58,7 @@ class AbstractViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                )
        );
 
-       public function setUp() {
+       protected function setUp() {
                $this->mockReflectionService = $this->getMock(\TYPO3\CMS\Extbase\Reflection\ReflectionService::class, array(), array(), '', FALSE);
        }
 
index a33e95f..584a4ad 100644 (file)
@@ -21,7 +21,7 @@ class TemplateVariableContainerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $variableContainer;
 
-       public function setUp() {
+       protected function setUp() {
                $this->variableContainer = new \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer();
        }
 
index ffe95b0..cdfa119 100644 (file)
@@ -64,7 +64,7 @@ class AbstractWidgetViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
 
         */
-       public function setUp() {
+       protected function setUp() {
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\Widget\AbstractWidgetViewHelper::class, array('validateArguments', 'initialize', 'callRenderMethod', 'getWidgetConfiguration', 'getRenderingContext'));
                $this->mockExtensionService = $this->getMock(\TYPO3\CMS\Extbase\Service\ExtensionService::class);
                $this->viewHelper->_set('extensionService', $this->mockExtensionService);
index f7a1791..48b2b6e 100644 (file)
@@ -34,7 +34,7 @@ class WidgetContextTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
 
         */
-       public function setUp() {
+       protected function setUp() {
                $this->widgetContext = new \TYPO3\CMS\Fluid\Core\Widget\WidgetContext();
        }
 
index 1a83804..6663089 100644 (file)
@@ -51,7 +51,7 @@ class WidgetRequestBuilderTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockWidgetContext;
 
-       public function setUp() {
+       protected function setUp() {
                $this->widgetRequestBuilder = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\Widget\WidgetRequestBuilder::class, array('setArgumentsFromRawRequestData'));
                $this->mockWidgetRequest = $this->getMock(\TYPO3\CMS\Fluid\Core\Widget\WidgetRequest::class);
                $this->mockObjectManager = $this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class);
index db770ef..b4dc25c 100644 (file)
@@ -34,7 +34,7 @@ class WidgetRequestHandlerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->widgetRequestHandler = $this->getAccessibleMock(\TYPO3\CMS\Fluid\Core\Widget\WidgetRequestHandler::class, array('dummy'), array(), '', FALSE);
        }
 
index acfdaa3..23e1a55 100644 (file)
@@ -48,7 +48,7 @@ class AbstractTemplateViewTest extends UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->templateVariableContainer = $this->getMock(TemplateVariableContainer::class, array('exists', 'remove', 'add'));
                $this->viewHelperVariableContainer = $this->getMock(ViewHelperVariableContainer::class, array('setView'));
                $this->renderingContext = $this->getMock(RenderingContext::class, array('getViewHelperVariableContainer', 'getTemplateVariableContainer'));
index adc4d6e..7c0573f 100644 (file)
@@ -107,7 +107,7 @@ class StandaloneViewTest extends UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->singletonInstances = GeneralUtility::getSingletonInstances();
                $this->view = $this->getAccessibleMock(\TYPO3\CMS\Fluid\View\StandaloneView::class, array('testFileExistence', 'buildParserConfiguration'), array(), '', FALSE);
                $this->mockTemplateParser = $this->getMock(TemplateParser::class);
@@ -142,7 +142,7 @@ class StandaloneViewTest extends UnitTestCase {
        /**
         * @return void
         */
-       public function tearDown() {
+       protected function tearDown() {
                GeneralUtility::purgeInstances();
                GeneralUtility::resetSingletonInstances($this->singletonInstances);
                parent::tearDown();
index 3d04b3f..b7297f6 100644 (file)
@@ -31,7 +31,7 @@ class IfAuthenticatedViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelp
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $GLOBALS['BE_USER'] = new \stdClass();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Be\Security\IfAuthenticatedViewHelper::class, array('renderThenChild', 'renderElseChild'));
index 2005b74..18d04a7 100644 (file)
@@ -31,7 +31,7 @@ class IfHasRoleViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Vi
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $GLOBALS['BE_USER'] = new \stdClass();
                $GLOBALS['BE_USER']->userGroups = array(
index a1f5ddc..53e2629 100644 (file)
@@ -21,7 +21,7 @@ class CaseViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHel
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\CaseViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 9349782..28d7e67 100644 (file)
@@ -21,7 +21,7 @@ class CountViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\CountViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index a4ead32..e1de221 100644 (file)
@@ -21,7 +21,7 @@ class CycleViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\CycleViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 2442356..9466b0f 100644 (file)
@@ -23,7 +23,7 @@ class ElseViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->subject = $this->getMock(ElseViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->subject);
index 9078011..2071ded 100644 (file)
@@ -31,7 +31,7 @@ class FlashMessagesViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelper
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                /** @var \TYPO3\CMS\Core\Messaging\FlashMessageQueue|\PHPUnit_Framework_MockObject_MockObject $mockFlashMessagingQueue */
                $mockFlashMessagingQueue = $this->getMock(\TYPO3\CMS\Core\Messaging\FlashMessageQueue::class, array('getAllMessagesAndFlush'), array('foo'));
                $mockFlashMessagingQueue->expects($this->once())->method('getAllMessagesAndFlush')->will($this->returnValue(array()));
index fdef26f..10a575d 100644 (file)
@@ -16,7 +16,7 @@ namespace TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers;
  */
 class ForViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHelperBaseTestcase {
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->templateVariableContainer = new \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer(array());
                $this->renderingContext->injectTemplateVariableContainer($this->templateVariableContainer);
index a745ebf..e933d2f 100644 (file)
@@ -21,7 +21,7 @@ class ButtonViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\ButtonViewHelper::class, array('renderChildren'));
                $this->arguments['name'] = '';
index c24853b..52ded26 100644 (file)
@@ -21,7 +21,7 @@ class CheckboxViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\For
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\CheckboxViewHelper::class, array('setErrorClassAttribute', 'getName', 'getValue', 'isObjectAccessorMode', 'getPropertyValue', 'registerFieldNameForFormTokenGeneration'));
                $this->arguments['property'] = '';
index 4e7de40..3c6bb94 100644 (file)
@@ -34,7 +34,7 @@ abstract class FormFieldViewHelperBaseTestcase extends \TYPO3\CMS\Fluid\Tests\Un
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->mockConfigurationManager = $this->getMock(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::class);
        }
index bd0be20..f2c09bd 100644 (file)
@@ -21,7 +21,7 @@ class HiddenViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\HiddenViewHelper::class, array('setErrorClassAttribute', 'getName', 'getValue', 'registerFieldNameForFormTokenGeneration'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index ab17c05..7bc2cf5 100644 (file)
@@ -21,7 +21,7 @@ class PasswordViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\For
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\PasswordViewHelper::class, array('setErrorClassAttribute', 'registerFieldNameForFormTokenGeneration'));
                $this->arguments['name'] = '';
index 0ea0c51..0af6a26 100644 (file)
@@ -21,7 +21,7 @@ class RadioViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\F
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\RadioViewHelper::class, array('setErrorClassAttribute', 'getName', 'getValue', 'isObjectAccessorMode', 'getPropertyValue', 'registerFieldNameForFormTokenGeneration'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 9bfabf5..e055ec2 100644 (file)
@@ -26,7 +26,7 @@ class SelectViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
         */
        protected $backupLocales = array();
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                // Store all locale categories manipulated in tests for reconstruction in tearDown
                $this->backupLocales = array(
@@ -40,7 +40,7 @@ class SelectViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\SelectViewHelper::class, array('setErrorClassAttribute', 'registerFieldNameForFormTokenGeneration'));
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                foreach ($this->backupLocales as $category => $locale) {
                        setlocale(constant($category), $locale);
                }
index 720d902..2c52a38 100644 (file)
@@ -21,7 +21,7 @@ class SubmitViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\SubmitViewHelper::class, array('dummy'));
                $this->arguments['name'] = '';
index cf5a913..090f35f 100644 (file)
@@ -21,7 +21,7 @@ class TextareaViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\For
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\TextareaViewHelper::class, array('setErrorClassAttribute', 'registerFieldNameForFormTokenGeneration'));
                $this->arguments['name'] = '';
index f4703a2..4016c28 100644 (file)
@@ -21,7 +21,7 @@ class TextfieldViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Fo
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\TextfieldViewHelper::class, array('setErrorClassAttribute', 'registerFieldNameForFormTokenGeneration'));
                $this->arguments['name'] = '';
index 796d497..6033933 100644 (file)
@@ -21,7 +21,7 @@ class UploadViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Form\
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Form\UploadViewHelper::class, array('setErrorClassAttribute', 'registerFieldNameForFormTokenGeneration'));
                $this->arguments['name'] = '';
index 56dd7c5..2085b38 100644 (file)
@@ -36,7 +36,7 @@ class FormViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHel
         */
        protected $mockConfigurationManager;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->mockExtensionService = $this->getMock(\TYPO3\CMS\Extbase\Service\ExtensionService::class);
                $this->mockConfigurationManager = $this->getMock(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::class);
index 8386452..d5ffa58 100644 (file)
@@ -23,7 +23,7 @@ class BytesViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\Format\BytesViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index a704348..aa42723 100644 (file)
@@ -41,7 +41,7 @@ class CropViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $mockConfigurationManager;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->mockContentObject = $this->getMock(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class, array(), array(), '', FALSE);
                $this->mockConfigurationManager = $this->getMock(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::class);
index 7143abb..1036fe2 100644 (file)
@@ -27,7 +27,7 @@ class DateViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $timezone;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                // Store all locale categories manipulated in tests for reconstruction in tearDown
                $this->backupLocales = array(
@@ -40,7 +40,7 @@ class DateViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] = 'Y-m-d';
        }
 
-       public function tearDown() {
+       protected function tearDown() {
                foreach ($this->backupLocales as $category => $locale) {
                        setlocale(constant($category), $locale);
                }
index b0f493c..8e239e5 100644 (file)
@@ -21,7 +21,7 @@ class HtmlentitiesDecodeViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCas
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlentitiesDecodeViewHelper::class, array('renderChildren'));
        }
 
index 6e04730..c33fb28 100644 (file)
@@ -21,7 +21,7 @@ class HtmlentitiesViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlentitiesViewHelper::class, array('renderChildren', 'resolveDefaultEncoding'));
                $this->viewHelper->expects($this->any())->method('resolveDefaultEncoding')->will($this->returnValue('UTF-8'));
        }
index af055aa..392c1af 100644 (file)
@@ -21,7 +21,7 @@ class HtmlspecialcharsViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper::class, array('renderChildren'));
        }
 
index 560ba0d..5a218e2 100644 (file)
@@ -23,7 +23,7 @@ class Nl2brViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock('TYPO3\CMS\Fluid\ViewHelpers\Format\Nl2brViewHelper', array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 4e01948..a870ff3 100644 (file)
@@ -23,7 +23,7 @@ class PaddingViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock('TYPO3\CMS\Fluid\ViewHelpers\Format\PaddingViewHelper', array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 03d4550..90adc59 100644 (file)
@@ -23,7 +23,7 @@ class PrintfViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock('TYPO3\CMS\Fluid\ViewHelpers\Format\PrintfViewHelper', array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 7057d40..81a4628 100644 (file)
@@ -24,7 +24,7 @@ class RawViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->subject = $this->getMock(RawViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->subject);
index 1829d5d..4a6425c 100644 (file)
@@ -23,7 +23,7 @@ class StripTagsViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\Format\StripTagsViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 59889af..1fada50 100644 (file)
@@ -21,7 +21,7 @@ class UrlencodeViewHelperTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\Format\UrlencodeViewHelper::class, array('renderChildren'));
        }
 
index 8b29c8e..b8211e6 100644 (file)
@@ -21,7 +21,7 @@ class GroupedForViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\V
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\GroupedForViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 77cc2f8..f6dfb3d 100644 (file)
@@ -26,7 +26,7 @@ class IfViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHelpe
         */
        protected $mockArguments;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\IfViewHelper::class, array('renderThenChild', 'renderElseChild'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 59c1437..51b4715 100644 (file)
@@ -29,7 +29,7 @@ class EmailViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
         */
        protected $cObjBackup;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->cObj = $this->getMock(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class, array(), array(), '', FALSE);
index 9df2460..f8e3d7d 100644 (file)
@@ -21,7 +21,7 @@ class ExternalViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Vie
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Link\ExternalViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 738778b..c1c9030 100644 (file)
@@ -29,7 +29,7 @@ class PageViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHel
        /**
         * setUp function
         */
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Link\PageViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index f6ac305..05b272f 100644 (file)
@@ -34,7 +34,7 @@ class RenderChildrenViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpe
        /**
 
         */
-       public function setUp() {
+       protected function setUp() {
                $this->controllerContext = $this->getMock(\TYPO3\CMS\Extbase\Mvc\Controller\ControllerContext::class, array(), array(), '', FALSE);
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\RenderChildrenViewHelper::class, array('renderChildren'));
                $this->viewHelper->_set('controllerContext', $this->controllerContext);
index dfd5cd5..415c1da 100644 (file)
@@ -21,7 +21,7 @@ class RenderViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewH
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->templateVariableContainer = new \TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer();
                $this->renderingContext->injectTemplateVariableContainer($this->templateVariableContainer);
index 042b039..5397c94 100644 (file)
@@ -31,7 +31,7 @@ class IfAuthenticatedViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelp
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $GLOBALS['TSFE'] = new \stdClass();
                $this->viewHelper = $this->getAccessibleMock(\TYPO3\CMS\Fluid\ViewHelpers\Security\IfAuthenticatedViewHelper::class, array('renderThenChild', 'renderElseChild'));
index db3c890..ff64719 100644 (file)
@@ -31,7 +31,7 @@ class IfHasRoleViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Vi
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->loginUser = 1;
index 875e9f9..6cbe526 100644 (file)
@@ -21,7 +21,7 @@ class SwitchViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewH
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = $this->getMock(\TYPO3\CMS\Fluid\ViewHelpers\SwitchViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 4dd7f7f..e1e6878 100644 (file)
@@ -23,7 +23,7 @@ class ThenViewHelperTest extends ViewHelperBaseTestcase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->subject = $this->getMock(ThenViewHelper::class, array('renderChildren'));
                $this->injectDependenciesIntoViewHelper($this->subject);
index bce4514..b0cc84c 100644 (file)
@@ -31,7 +31,7 @@ class EmailViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\ViewHe
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->cObj = $this->getMock(\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::class, array(), array(), '', FALSE);
index 91b0559..b31311d 100644 (file)
@@ -21,7 +21,7 @@ class ExternalViewHelperTest extends \TYPO3\CMS\Fluid\Tests\Unit\ViewHelpers\Vie
         */
        protected $viewHelper;
 
-       public function setUp() {
+       protected function setUp() {
                parent::setUp();
                $this->viewHelper = new \TYPO3\CMS\Fluid\ViewHelpers\Uri\ExternalViewHelper();
                $this->injectDependenciesIntoViewHelper($this->viewHelper);
index 260d6ae..4a7bd85 100644 (file)
@@ -64,7 +64,7 @@ abstract class ViewHelperBaseTestcase extends \TYPO3\CMS\Core\Tests\UnitTestCase
        /**
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->viewHelperVariableContainer = $this->getMock(\TYPO3\CMS\Fluid\Core\ViewHelper\ViewHelperVariableContainer::class);
                $this->templateVariableContainer = $this->getMock(\TYPO3\CMS\Fluid\Core\ViewHelper\TemplateVariableContainer::class);
                $this->uriBuilder = $this->getMock(\TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder::class);
index 7108f29..4579ceb 100644 (file)
@@ -53,7 +53,7 @@ class PaginateControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->query = $this->getAccessibleMock(\TYPO3\CMS\Extbase\Persistence\Generic\Query::class, array('dummy'), array('someType'));
                $this->querySettings = $this->getMock(\TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface::class);
                $this->query->_set('querySettings', $this->querySettings);
index cef8389..1343177 100644 (file)
@@ -24,7 +24,7 @@ class TypoScriptFactoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->subject = new \TYPO3\CMS\Form\Domain\Factory\TypoScriptFactory();
        }
 
index 7d42028..787c941 100644 (file)
@@ -29,7 +29,7 @@ class AlphabeticFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\AlphabeticFilter();
        }
 
index 389b9c8..0b83c5a 100644 (file)
@@ -29,7 +29,7 @@ class AlphanumericFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\AlphanumericFilter();
        }
 
index 8146992..f2414f9 100644 (file)
@@ -26,7 +26,7 @@ class CurrencyFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\CurrencyFilter();
        }
 
index 58100ae..185e555 100644 (file)
@@ -26,7 +26,7 @@ class DigitFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\DigitFilter();
        }
 
index 6968453..6c02b97 100644 (file)
@@ -26,7 +26,7 @@ class IntegerFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\IntegerFilter();
        }
 
index 67d94f9..6be9c85 100644 (file)
@@ -26,7 +26,7 @@ class LowerCaseFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\LowerCaseFilter();
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->csConvObj = new \TYPO3\CMS\Core\Charset\CharsetConverter();
index d013ec1..181ee88 100644 (file)
@@ -26,7 +26,7 @@ class RegExpFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\RegExpFilter();
        }
 
index a86eebd..7802919 100644 (file)
@@ -26,7 +26,7 @@ class RemoveXssFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $fixture;
 
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\RemoveXssFilter();
        }
 
index de90353..a5c6f04 100644 (file)
@@ -29,7 +29,7 @@ class StripNewLinesFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\StripNewLinesFilter();
        }
 
index 61cbcc0..f5d9a7f 100644 (file)
@@ -32,7 +32,7 @@ class TitleCaseFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new TitleCaseFilter();
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->csConvObj = new CharsetConverter();
index 7e3561c..24e3e38 100644 (file)
@@ -29,7 +29,7 @@ class TrimFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\TrimFilter();
        }
 
index d08d74a..620dacd 100644 (file)
@@ -29,7 +29,7 @@ class UpperCaseFilterTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->fixture = new \TYPO3\CMS\Form\Filter\UpperCaseFilter();
                $GLOBALS['TSFE'] = new \stdClass();
                $GLOBALS['TSFE']->csConvObj = new \TYPO3\CMS\Core\Charset\CharsetConverter();
index 80cabcb..ba50991 100644 (file)
@@ -29,7 +29,7 @@ class MailPostProcessorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         *
         * @return void
         */
-       public function setUp() {
+       protected function setUp() {
                $this->mailPostProcessor = $this->getAccessibleMock(
                        \TYPO3\CMS\Form\PostProcess\MailPostProcessor::class,
                        array('dummy'),
index 19debc4..4f096ed 100644 (file)
@@ -27,7 +27,7 @@ class PostProcessorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $form = $this->getMock(\TYPO3\CMS\Form\Domain\Model\Form::class, array(), array(), '', FALSE);
                $this->fixture = $this->getMock(
                        \TYPO3\CMS\Form\PostProcess\PostProcessor::class,
index 8423958..3afb5a2 100644 (file)
@@ -32,7 +32,7 @@ class AlphabeticValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\AlphabeticValidator::class, array('dummy'), array(), '', FALSE);
        }
index cfaf941..0755c87 100644 (file)
@@ -29,7 +29,7 @@ class AlphanumericValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\AlphanumericValidator::class, array('dummy'), array(), '', FALSE);
        }
index c7c26fa..b7c4adb 100644 (file)
@@ -29,7 +29,7 @@ class BetweenValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\BetweenValidator::class, array('dummy'), array(), '', FALSE);
        }
index 49cde00..033c59d 100644 (file)
@@ -29,7 +29,7 @@ class DateValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\DateValidator::class, array('dummy'), array(), '', FALSE);
        }
index 697d062..3b1e308 100644 (file)
@@ -29,7 +29,7 @@ class DigitValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\DigitValidator::class, array('dummy'), array(), '', FALSE);
        }
index 099f0ab..5161fcf 100644 (file)
@@ -29,7 +29,7 @@ class EmailValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\EmailValidator::class, array('dummy'), array(), '', FALSE);
        }
index 66c6c2c..de1d54f 100644 (file)
@@ -29,7 +29,7 @@ class EqualsValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\EqualsValidator::class, array('dummy'), array(), '', FALSE);
        }
index eb49184..4c6312b 100644 (file)
@@ -29,7 +29,7 @@ class FileAllowedTypesValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\FileAllowedTypesValidator::class, array('dummy'), array(), '', FALSE);
        }
index 9aba414..5fdf44e 100644 (file)
@@ -29,7 +29,7 @@ class FileMaximumSizeValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\FileMaximumSizeValidator::class, array('dummy'), array(), '', FALSE);
        }
index 2f29d9f..fe0b253 100644 (file)
@@ -29,7 +29,7 @@ class FileMinimumSizeValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\FileMinimumSizeValidator::class, array('dummy'), array(), '', FALSE);
        }
index 6887318..e117ab6 100644 (file)
@@ -29,7 +29,7 @@ class FloatValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\FloatValidator::class, array('dummy'), array(), '', FALSE);
        }
index 6c786c6..94a70fb 100644 (file)
@@ -29,7 +29,7 @@ class GreaterThanValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\GreaterThanValidator::class, array('dummy'), array(), '', FALSE);
        }
index fe4aced..c5735ec 100644 (file)
@@ -29,7 +29,7 @@ class InArrayValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\InArrayValidator::class, array('dummy'), array(), '', FALSE);
        }
index c24b852..dbb2de9 100644 (file)
@@ -29,7 +29,7 @@ class IntegerValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\IntegerValidator::class, array('dummy'), array(), '', FALSE);
        }
index ecd9f08..d7d1cd0 100644 (file)
@@ -29,7 +29,7 @@ class IpValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\IpValidator::class, array('dummy'), array(), '', FALSE);
        }
index 14d8eef..7804fe4 100644 (file)
@@ -32,7 +32,7 @@ class LengthValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * Set up
         */
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $charsetConverterMock = $this->getMock(\TYPO3\CMS\Core\Charset\CharsetConverter::class, array(), array(), '', FALSE);
                $charsetConverterMock->expects($this->any())->method('strlen')
index 05d93cd..d377195 100644 (file)
@@ -29,7 +29,7 @@ class LessThanValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\LessthanValidator::class, array('dummy'), array(), '', FALSE);
        }
index 5a0ad63..e1d42d2 100644 (file)
@@ -29,7 +29,7 @@ class RegExpValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\RegExpValidator::class, array('dummy'), array(), '', FALSE);
        }
index 61f6215..36b6d9b 100644 (file)
@@ -29,7 +29,7 @@ class RequiredValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\RequiredValidator::class, array('dummy'), array(), '', FALSE);
        }
index 42a5d58..a61607b 100644 (file)
@@ -29,7 +29,7 @@ class UriValidatorTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         */
        protected $subject;
 
-       public function setUp() {
+       protected function setUp() {
                $this->helper = new \TYPO3\CMS\Form\Tests\Unit\Validation\Helper();
                $this->subject = $this->getMock(\TYPO3\CMS\Form\Validation\UriValidator::class, array('dummy'), array(), '', FALSE);
        }