From e6c9d9dad38f985ba40f722240188c88f3fa8916 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 29 Jul 2023 02:29:52 +0200 Subject: [PATCH] Tests: rename base class and make abstract The `BaseSniffTest` class, which is used as a basis for all test classes, should by rights be an `abstract` class as it doesn't contain any tests itself. However, using the `Test` suffix for abstract test case classes is deprecated since PHPUnit 9.6. Even though this wasn't causing us any problems so far (as the class wasn't `abstract`), let's tidy this up to future-proof PHPUnit cross-version compatibility. So, in this commit: * The `BaseSniffTest` class is renamed to `BaseSniffTestCase`, including updating the file name to match. * All test classes which `extend` the class have been updated to now extend the `BaseSniffTestCase`. Ref: https://github.com/sebastianbergmann/phpunit/issues/5132 --- PHPCompatibility/Tests/Attributes/NewAttributesUnitTest.php | 4 ++-- .../Tests/{BaseSniffTest.php => BaseSniffTestCase.php} | 2 +- .../Tests/Classes/ForbiddenExtendingFinalPHPClassUnitTest.php | 4 ++-- .../Tests/Classes/NewAnonymousClassesUnitTest.php | 4 ++-- PHPCompatibility/Tests/Classes/NewClassesUnitTest.php | 4 ++-- PHPCompatibility/Tests/Classes/NewConstVisibilityUnitTest.php | 4 ++-- .../Tests/Classes/NewConstructorPropertyPromotionUnitTest.php | 4 ++-- PHPCompatibility/Tests/Classes/NewFinalConstantsUnitTest.php | 4 ++-- .../Tests/Classes/NewLateStaticBindingUnitTest.php | 4 ++-- PHPCompatibility/Tests/Classes/NewReadonlyClassesUnitTest.php | 4 ++-- .../Tests/Classes/NewReadonlyPropertiesUnitTest.php | 4 ++-- PHPCompatibility/Tests/Classes/NewTypedPropertiesUnitTest.php | 4 ++-- PHPCompatibility/Tests/Classes/RemovedClassesUnitTest.php | 4 ++-- .../Tests/Classes/RemovedOrphanedParentUnitTest.php | 4 ++-- .../Tests/Constants/NewConstantsInTraitsUnitTest.php | 4 ++-- PHPCompatibility/Tests/Constants/NewConstantsUnitTest.php | 4 ++-- .../Tests/Constants/NewMagicClassConstantUnitTest.php | 4 ++-- PHPCompatibility/Tests/Constants/RemovedConstantsUnitTest.php | 4 ++-- .../ControlStructures/DiscouragedSwitchContinueUnitTest.php | 4 ++-- .../ForbiddenBreakContinueOutsideLoopUnitTest.php | 4 ++-- .../ForbiddenBreakContinueVariableArgumentsUnitTest.php | 4 ++-- .../ForbiddenSwitchWithMultipleDefaultBlocksUnitTest.php | 4 ++-- .../ControlStructures/NewExecutionDirectivesUnitTest.php | 4 ++-- .../NewForeachExpressionReferencingUnitTest.php | 4 ++-- .../Tests/ControlStructures/NewListInForeachUnitTest.php | 4 ++-- .../Tests/ControlStructures/NewMultiCatchUnitTest.php | 4 ++-- .../Tests/ControlStructures/NewNonCapturingCatchUnitTest.php | 4 ++-- .../Tests/Extensions/RemovedExtensionsUnitTest.php | 4 ++-- .../FunctionDeclarations/AbstractPrivateMethodsUnitTest.php | 4 ++-- .../ForbiddenFinalPrivateMethodsUnitTest.php | 4 ++-- .../ForbiddenParameterShadowSuperGlobalsUnitTest.php | 4 ++-- .../ForbiddenParametersWithSameNameUnitTest.php | 4 ++-- .../ForbiddenToStringParametersUnitTest.php | 4 ++-- .../ForbiddenVariableNamesInClosureUseUnitTest.php | 4 ++-- .../Tests/FunctionDeclarations/NewArrowFunctionUnitTest.php | 4 ++-- .../Tests/FunctionDeclarations/NewClosureUnitTest.php | 4 ++-- .../NewExceptionsFromToStringUnitTest.php | 4 ++-- .../Tests/FunctionDeclarations/NewNullableTypesUnitTest.php | 4 ++-- .../FunctionDeclarations/NewParamTypeDeclarationsUnitTest.php | 4 ++-- .../NewReturnTypeDeclarationsUnitTest.php | 4 ++-- .../Tests/FunctionDeclarations/NewTrailingCommaUnitTest.php | 4 ++-- .../FunctionDeclarations/NonStaticMagicMethodsUnitTest.php | 4 ++-- .../RemovedCallingDestructAfterConstructorExitUnitTest.php | 4 ++-- .../RemovedOptionalBeforeRequiredParamUnitTest.php | 4 ++-- .../RemovedReturnByReferenceFromVoidUnitTest.php | 4 ++-- .../FunctionNameRestrictions/NewMagicMethodsUnitTest.php | 4 ++-- .../FunctionNameRestrictions/RemovedMagicAutoloadUnitTest.php | 4 ++-- .../RemovedNamespacedAssertUnitTest.php | 4 ++-- .../RemovedPHP4StyleConstructorsUnitTest.php | 4 ++-- .../ReservedFunctionNamesUnitTest.php | 4 ++-- .../ArgumentFunctionsReportCurrentValueUnitTest.php | 4 ++-- .../Tests/FunctionUse/ArgumentFunctionsUsageUnitTest.php | 4 ++-- .../Tests/FunctionUse/NewFunctionParametersUnitTest.php | 4 ++-- PHPCompatibility/Tests/FunctionUse/NewFunctionsUnitTest.php | 4 ++-- .../Tests/FunctionUse/NewNamedParametersUnitTest.php | 4 ++-- .../OptionalToRequiredFunctionParametersUnitTest.php | 4 ++-- .../Tests/FunctionUse/RemovedFunctionParametersUnitTest.php | 4 ++-- .../Tests/FunctionUse/RemovedFunctionsUnitTest.php | 4 ++-- .../RequiredToOptionalFunctionParametersUnitTest.php | 4 ++-- .../Tests/Generators/NewGeneratorReturnUnitTest.php | 4 ++-- .../Tests/IniDirectives/NewIniDirectivesUnitTest.php | 4 ++-- .../Tests/IniDirectives/RemovedIniDirectivesUnitTest.php | 4 ++-- .../InitialValue/NewConstantArraysUsingConstUnitTest.php | 4 ++-- .../InitialValue/NewConstantArraysUsingDefineUnitTest.php | 4 ++-- .../InitialValue/NewConstantScalarExpressionsUnitTest.php | 4 ++-- PHPCompatibility/Tests/InitialValue/NewHeredocUnitTest.php | 4 ++-- .../Tests/InitialValue/NewNewInDefineUnitTest.php | 4 ++-- .../Tests/InitialValue/NewNewInInitializersUnitTest.php | 4 ++-- .../Tests/Interfaces/InternalInterfacesUnitTest.php | 4 ++-- PHPCompatibility/Tests/Interfaces/NewInterfacesUnitTest.php | 4 ++-- .../Tests/Interfaces/RemovedSerializableUnitTest.php | 4 ++-- .../Tests/Keywords/CaseSensitiveKeywordsUnitTest.php | 4 ++-- PHPCompatibility/Tests/Keywords/ForbiddenNamesUnitTest.php | 4 ++-- PHPCompatibility/Tests/Keywords/NewKeywordsUnitTest.php | 4 ++-- .../Tests/LanguageConstructs/NewEmptyNonVariableUnitTest.php | 4 ++-- .../LanguageConstructs/NewLanguageConstructsUnitTest.php | 4 ++-- PHPCompatibility/Tests/Lists/AssignmentOrderUnitTest.php | 4 ++-- .../Tests/Lists/ForbiddenEmptyListAssignmentUnitTest.php | 4 ++-- PHPCompatibility/Tests/Lists/NewKeyedListUnitTest.php | 4 ++-- .../Tests/Lists/NewListReferenceAssignmentUnitTest.php | 4 ++-- PHPCompatibility/Tests/Lists/NewShortListUnitTest.php | 4 ++-- .../Tests/MethodUse/ForbiddenToStringParametersUnitTest.php | 4 ++-- .../Tests/MethodUse/NewDirectCallsToCloneUnitTest.php | 4 ++-- .../Tests/Miscellaneous/NewPHPOpenTagEOFUnitTest.php | 4 ++-- .../Tests/Miscellaneous/RemovedAlternativePHPTagsUnitTest.php | 4 ++-- PHPCompatibility/Tests/Namespaces/ReservedNamesUnitTest.php | 4 ++-- .../Tests/Numbers/NewExplicitOctalNotationUnitTest.php | 4 ++-- .../Tests/Numbers/NewNumericLiteralSeparatorUnitTest.php | 4 ++-- .../Numbers/RemovedHexadecimalNumericStringsUnitTest.php | 4 ++-- PHPCompatibility/Tests/Numbers/ValidIntegersUnitTest.php | 4 ++-- .../Operators/ChangedConcatOperatorPrecedenceUnitTest.php | 4 ++-- .../Tests/Operators/ForbiddenNegativeBitshiftUnitTest.php | 4 ++-- PHPCompatibility/Tests/Operators/NewOperatorsUnitTest.php | 4 ++-- PHPCompatibility/Tests/Operators/NewShortTernaryUnitTest.php | 4 ++-- .../Tests/Operators/RemovedTernaryAssociativityUnitTest.php | 4 ++-- .../ParameterValues/ChangedIntToBoolParamTypeUnitTest.php | 4 ++-- .../ParameterValues/ChangedObStartEraseFlagsUnitTest.php | 4 ++-- .../Tests/ParameterValues/ForbiddenGetClassNullUnitTest.php | 4 ++-- .../ForbiddenSessionModuleNameUserUnitTest.php | 4 ++-- .../ForbiddenStripTagsSelfClosingXHTMLUnitTest.php | 4 ++-- .../NewArrayMergeRecursiveWithGlobalsVarUnitTest.php | 4 ++-- .../ParameterValues/NewArrayReduceInitialTypeUnitTest.php | 4 ++-- .../ParameterValues/NewAssertCustomExceptionUnitTest.php | 4 ++-- .../Tests/ParameterValues/NewFopenModesUnitTest.php | 4 ++-- .../NewHTMLEntitiesEncodingDefaultUnitTest.php | 4 ++-- .../ParameterValues/NewHTMLEntitiesFlagsDefaultUnitTest.php | 4 ++-- .../Tests/ParameterValues/NewHashAlgorithmsUnitTest.php | 4 ++-- .../Tests/ParameterValues/NewIDNVariantDefaultUnitTest.php | 4 ++-- .../NewIconvMbstringCharsetDefaultUnitTest.php | 4 ++-- .../Tests/ParameterValues/NewNegativeStringOffsetUnitTest.php | 4 ++-- .../NewNumberFormatMultibyteSeparatorsUnitTest.php | 4 ++-- .../Tests/ParameterValues/NewPCREModifiersUnitTest.php | 4 ++-- .../Tests/ParameterValues/NewPackFormatUnitTest.php | 4 ++-- .../ParameterValues/NewPasswordAlgoConstantValuesUnitTest.php | 4 ++-- .../Tests/ParameterValues/NewProcOpenCmdArrayUnitTest.php | 4 ++-- .../NewStripTagsAllowableTagsArrayUnitTest.php | 4 ++-- .../ParameterValues/RemovedAssertStringAssertionUnitTest.php | 4 ++-- ...RemovedGetDefinedFunctionsExcludeDisabledFalseUnitTest.php | 4 ++-- .../Tests/ParameterValues/RemovedHashAlgorithmsUnitTest.php | 4 ++-- .../Tests/ParameterValues/RemovedIconvEncodingUnitTest.php | 4 ++-- .../RemovedImplodeFlexibleParamOrderUnitTest.php | 4 ++-- .../ParameterValues/RemovedMbCheckEncodingNoArgsUnitTest.php | 4 ++-- .../RemovedMbStrrposEncodingThirdParamUnitTest.php | 4 ++-- .../ParameterValues/RemovedMbstringModifiersUnitTest.php | 4 ++-- .../Tests/ParameterValues/RemovedNonCryptoHashUnitTest.php | 4 ++-- .../Tests/ParameterValues/RemovedPCREModifiersUnitTest.php | 4 ++-- .../Tests/ParameterValues/RemovedSetlocaleStringUnitTest.php | 4 ++-- .../RemovedSplAutoloadRegisterThrowFalseUnitTest.php | 4 ++-- .../RemovedVersionCompareOperatorsUnitTest.php | 4 ++-- .../Tests/Syntax/ForbiddenCallTimePassByReferenceUnitTest.php | 4 ++-- .../Tests/Syntax/NewArrayStringDereferencingUnitTest.php | 4 ++-- PHPCompatibility/Tests/Syntax/NewArrayUnpackingUnitTest.php | 4 ++-- .../Tests/Syntax/NewClassMemberAccessUnitTest.php | 4 ++-- .../Tests/Syntax/NewDynamicAccessToStaticUnitTest.php | 4 ++-- .../Tests/Syntax/NewFirstClassCallablesUnitTest.php | 4 ++-- .../Tests/Syntax/NewFlexibleHeredocNowdocUnitTest.php | 4 ++-- .../Tests/Syntax/NewFunctionArrayDereferencingUnitTest.php | 4 ++-- .../Tests/Syntax/NewFunctionCallTrailingCommaUnitTest.php | 4 ++-- .../Syntax/NewInterpolatedStringDereferencingUnitTest.php | 4 ++-- .../Tests/Syntax/NewMagicConstantDereferencingUnitTest.php | 4 ++-- .../Tests/Syntax/NewNestedStaticAccessUnitTest.php | 4 ++-- PHPCompatibility/Tests/Syntax/NewShortArrayUnitTest.php | 4 ++-- .../Tests/Syntax/RemovedCurlyBraceArrayAccessUnitTest.php | 4 ++-- PHPCompatibility/Tests/Syntax/RemovedNewReferenceUnitTest.php | 4 ++-- .../Tests/TextStrings/NewUnicodeEscapeSequenceUnitTest.php | 4 ++-- .../TextStrings/RemovedDollarBraceStringEmbedsUnitTest.php | 4 ++-- PHPCompatibility/Tests/TypeCasts/NewTypeCastsUnitTest.php | 4 ++-- PHPCompatibility/Tests/TypeCasts/RemovedTypeCastsUnitTest.php | 4 ++-- PHPCompatibility/Tests/Upgrade/LowPHPUnitTest.php | 4 ++-- .../Tests/UseDeclarations/NewGroupUseDeclarationsUnitTest.php | 4 ++-- .../Tests/UseDeclarations/NewUseConstFunctionUnitTest.php | 4 ++-- .../Variables/ForbiddenGlobalVariableVariableUnitTest.php | 4 ++-- .../Tests/Variables/ForbiddenThisUseContextsUnitTest.php | 4 ++-- .../Tests/Variables/NewUniformVariableSyntaxUnitTest.php | 4 ++-- .../RemovedIndirectModificationOfGlobalsUnitTest.php | 4 ++-- .../Variables/RemovedPredefinedGlobalVariablesUnitTest.php | 4 ++-- phpunit-bootstrap.php | 2 +- 157 files changed, 312 insertions(+), 312 deletions(-) rename PHPCompatibility/Tests/{BaseSniffTest.php => BaseSniffTestCase.php} (99%) diff --git a/PHPCompatibility/Tests/Attributes/NewAttributesUnitTest.php b/PHPCompatibility/Tests/Attributes/NewAttributesUnitTest.php index 0cebc3578..033b78a3e 100644 --- a/PHPCompatibility/Tests/Attributes/NewAttributesUnitTest.php +++ b/PHPCompatibility/Tests/Attributes/NewAttributesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Attributes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewAttributes sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewAttributesUnitTest extends BaseSniffTest +class NewAttributesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/BaseSniffTest.php b/PHPCompatibility/Tests/BaseSniffTestCase.php similarity index 99% rename from PHPCompatibility/Tests/BaseSniffTest.php rename to PHPCompatibility/Tests/BaseSniffTestCase.php index 68c9d605a..a46ce3895 100644 --- a/PHPCompatibility/Tests/BaseSniffTest.php +++ b/PHPCompatibility/Tests/BaseSniffTestCase.php @@ -30,7 +30,7 @@ * @since 9.0.0 Dropped support for PHP_CodeSniffer 1.x. * @since 10.0.0 Updated for preliminary support of PHP_CodeSniffer 4 and dropped support for PHPCS 2.x. */ -class BaseSniffTest extends TestCase +abstract class BaseSniffTestCase extends TestCase { use AssertStringContains; diff --git a/PHPCompatibility/Tests/Classes/ForbiddenExtendingFinalPHPClassUnitTest.php b/PHPCompatibility/Tests/Classes/ForbiddenExtendingFinalPHPClassUnitTest.php index a184270f0..ccddd6e98 100644 --- a/PHPCompatibility/Tests/Classes/ForbiddenExtendingFinalPHPClassUnitTest.php +++ b/PHPCompatibility/Tests/Classes/ForbiddenExtendingFinalPHPClassUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenExtendingFinalPHPClass sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class ForbiddenExtendingFinalPHPClassUnitTest extends BaseSniffTest +class ForbiddenExtendingFinalPHPClassUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewAnonymousClassesUnitTest.php b/PHPCompatibility/Tests/Classes/NewAnonymousClassesUnitTest.php index 72d7038ab..4288d45b0 100644 --- a/PHPCompatibility/Tests/Classes/NewAnonymousClassesUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewAnonymousClassesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewAnonymousClasses sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewAnonymousClassesUnitTest extends BaseSniffTest +class NewAnonymousClassesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewClassesUnitTest.php b/PHPCompatibility/Tests/Classes/NewClassesUnitTest.php index 177a8e204..bf0d32218 100644 --- a/PHPCompatibility/Tests/Classes/NewClassesUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewClassesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewClasses sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class NewClassesUnitTest extends BaseSniffTest +class NewClassesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewConstVisibilityUnitTest.php b/PHPCompatibility/Tests/Classes/NewConstVisibilityUnitTest.php index a60df3ca0..f4b764fd5 100644 --- a/PHPCompatibility/Tests/Classes/NewConstVisibilityUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewConstVisibilityUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewConstVisibility sniff. @@ -22,7 +22,7 @@ * * @since 7.0.7 */ -class NewConstVisibilityUnitTest extends BaseSniffTest +class NewConstVisibilityUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewConstructorPropertyPromotionUnitTest.php b/PHPCompatibility/Tests/Classes/NewConstructorPropertyPromotionUnitTest.php index 7692eac37..ab82bccd9 100644 --- a/PHPCompatibility/Tests/Classes/NewConstructorPropertyPromotionUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewConstructorPropertyPromotionUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewConstructorPropertyPromotion sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class NewConstructorPropertyPromotionUnitTest extends BaseSniffTest +final class NewConstructorPropertyPromotionUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewFinalConstantsUnitTest.php b/PHPCompatibility/Tests/Classes/NewFinalConstantsUnitTest.php index c6fe6e423..425cdbb83 100644 --- a/PHPCompatibility/Tests/Classes/NewFinalConstantsUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewFinalConstantsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFinalConstants sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewFinalConstantsUnitTest extends BaseSniffTest +class NewFinalConstantsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewLateStaticBindingUnitTest.php b/PHPCompatibility/Tests/Classes/NewLateStaticBindingUnitTest.php index 978b3839d..7e67d24eb 100644 --- a/PHPCompatibility/Tests/Classes/NewLateStaticBindingUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewLateStaticBindingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewLateStaticBinding sniff. @@ -22,7 +22,7 @@ * * @since 7.0.3 */ -class NewLateStaticBindingUnitTest extends BaseSniffTest +class NewLateStaticBindingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewReadonlyClassesUnitTest.php b/PHPCompatibility/Tests/Classes/NewReadonlyClassesUnitTest.php index 8815a2700..112600859 100644 --- a/PHPCompatibility/Tests/Classes/NewReadonlyClassesUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewReadonlyClassesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewReadonlyClasses sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class NewReadonlyClassesUnitTest extends BaseSniffTest +final class NewReadonlyClassesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewReadonlyPropertiesUnitTest.php b/PHPCompatibility/Tests/Classes/NewReadonlyPropertiesUnitTest.php index 15397c8b0..48258116c 100644 --- a/PHPCompatibility/Tests/Classes/NewReadonlyPropertiesUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewReadonlyPropertiesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewReadonlyProperties sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class NewReadonlyPropertiesUnitTest extends BaseSniffTest +final class NewReadonlyPropertiesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/NewTypedPropertiesUnitTest.php b/PHPCompatibility/Tests/Classes/NewTypedPropertiesUnitTest.php index 32630270f..2787f7e12 100644 --- a/PHPCompatibility/Tests/Classes/NewTypedPropertiesUnitTest.php +++ b/PHPCompatibility/Tests/Classes/NewTypedPropertiesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewTypedProperties sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class NewTypedPropertiesUnitTest extends BaseSniffTest +class NewTypedPropertiesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/RemovedClassesUnitTest.php b/PHPCompatibility/Tests/Classes/RemovedClassesUnitTest.php index a92f9fb15..3c253f439 100644 --- a/PHPCompatibility/Tests/Classes/RemovedClassesUnitTest.php +++ b/PHPCompatibility/Tests/Classes/RemovedClassesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedClasses sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedClassesUnitTest extends BaseSniffTest +class RemovedClassesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Classes/RemovedOrphanedParentUnitTest.php b/PHPCompatibility/Tests/Classes/RemovedOrphanedParentUnitTest.php index d2a9287ab..9b02d5222 100644 --- a/PHPCompatibility/Tests/Classes/RemovedOrphanedParentUnitTest.php +++ b/PHPCompatibility/Tests/Classes/RemovedOrphanedParentUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Classes; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedOrphanedParent sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class RemovedOrphanedParentUnitTest extends BaseSniffTest +class RemovedOrphanedParentUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Constants/NewConstantsInTraitsUnitTest.php b/PHPCompatibility/Tests/Constants/NewConstantsInTraitsUnitTest.php index 562054b73..44dec2545 100644 --- a/PHPCompatibility/Tests/Constants/NewConstantsInTraitsUnitTest.php +++ b/PHPCompatibility/Tests/Constants/NewConstantsInTraitsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Constants; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewConstantsInTraits sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class NewConstantsInTraitsUnitTest extends BaseSniffTest +final class NewConstantsInTraitsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Constants/NewConstantsUnitTest.php b/PHPCompatibility/Tests/Constants/NewConstantsUnitTest.php index 2e331becf..f38709c76 100644 --- a/PHPCompatibility/Tests/Constants/NewConstantsUnitTest.php +++ b/PHPCompatibility/Tests/Constants/NewConstantsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Constants; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewConstants sniff. @@ -22,7 +22,7 @@ * * @since 8.1.0 */ -class NewConstantsUnitTest extends BaseSniffTest +class NewConstantsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Constants/NewMagicClassConstantUnitTest.php b/PHPCompatibility/Tests/Constants/NewMagicClassConstantUnitTest.php index 5ed4ed690..2a7b58db8 100644 --- a/PHPCompatibility/Tests/Constants/NewMagicClassConstantUnitTest.php +++ b/PHPCompatibility/Tests/Constants/NewMagicClassConstantUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Constants; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewMagicClassConstant sniff. @@ -22,7 +22,7 @@ * * @since 7.1.4 */ -class NewMagicClassConstantUnitTest extends BaseSniffTest +class NewMagicClassConstantUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Constants/RemovedConstantsUnitTest.php b/PHPCompatibility/Tests/Constants/RemovedConstantsUnitTest.php index f1ebc998a..796c30980 100644 --- a/PHPCompatibility/Tests/Constants/RemovedConstantsUnitTest.php +++ b/PHPCompatibility/Tests/Constants/RemovedConstantsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Constants; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedConstants sniff. @@ -22,7 +22,7 @@ * * @since 8.1.0 */ -class RemovedConstantsUnitTest extends BaseSniffTest +class RemovedConstantsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/DiscouragedSwitchContinueUnitTest.php b/PHPCompatibility/Tests/ControlStructures/DiscouragedSwitchContinueUnitTest.php index 2e62fcf06..08c6ee73a 100644 --- a/PHPCompatibility/Tests/ControlStructures/DiscouragedSwitchContinueUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/DiscouragedSwitchContinueUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the DiscouragedSwitchContinue sniff. @@ -22,7 +22,7 @@ * * @since 8.2.0 */ -class DiscouragedSwitchContinueUnitTest extends BaseSniffTest +class DiscouragedSwitchContinueUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueOutsideLoopUnitTest.php b/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueOutsideLoopUnitTest.php index 2c257b67f..772e4659a 100644 --- a/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueOutsideLoopUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueOutsideLoopUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenBreakContinueOutsideLoop sniff. @@ -22,7 +22,7 @@ * * @since 7.0.7 */ -class ForbiddenBreakContinueOutsideLoopUnitTest extends BaseSniffTest +class ForbiddenBreakContinueOutsideLoopUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueVariableArgumentsUnitTest.php b/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueVariableArgumentsUnitTest.php index 22b6b0e1f..ced9afd3d 100644 --- a/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueVariableArgumentsUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/ForbiddenBreakContinueVariableArgumentsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenBreakContinueVariableArguments sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class ForbiddenBreakContinueVariableArgumentsUnitTest extends BaseSniffTest +class ForbiddenBreakContinueVariableArgumentsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksUnitTest.php b/PHPCompatibility/Tests/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksUnitTest.php index 4efc82df0..2b76ad8c6 100644 --- a/PHPCompatibility/Tests/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/ForbiddenSwitchWithMultipleDefaultBlocksUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenSwitchWithMultipleDefaultBlocks sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class ForbiddenSwitchWithMultipleDefaultBlocksUnitTest extends BaseSniffTest +class ForbiddenSwitchWithMultipleDefaultBlocksUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/NewExecutionDirectivesUnitTest.php b/PHPCompatibility/Tests/ControlStructures/NewExecutionDirectivesUnitTest.php index 509bd4335..f6b466411 100644 --- a/PHPCompatibility/Tests/ControlStructures/NewExecutionDirectivesUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/NewExecutionDirectivesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewExecutionDirectives sniff. @@ -22,7 +22,7 @@ * * @since 7.0.3 */ -class NewExecutionDirectivesUnitTest extends BaseSniffTest +class NewExecutionDirectivesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/NewForeachExpressionReferencingUnitTest.php b/PHPCompatibility/Tests/ControlStructures/NewForeachExpressionReferencingUnitTest.php index db3e43d38..07d42083d 100644 --- a/PHPCompatibility/Tests/ControlStructures/NewForeachExpressionReferencingUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/NewForeachExpressionReferencingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewForeachExpressionReferencing sniff. @@ -23,7 +23,7 @@ * * @since 9.0.0 */ -class NewForeachExpressionReferencingUnitTest extends BaseSniffTest +class NewForeachExpressionReferencingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/NewListInForeachUnitTest.php b/PHPCompatibility/Tests/ControlStructures/NewListInForeachUnitTest.php index 0c2557ef1..829050c08 100644 --- a/PHPCompatibility/Tests/ControlStructures/NewListInForeachUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/NewListInForeachUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewListInForeach sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewListInForeachUnitTest extends BaseSniffTest +class NewListInForeachUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/NewMultiCatchUnitTest.php b/PHPCompatibility/Tests/ControlStructures/NewMultiCatchUnitTest.php index 488759f73..f22a7d493 100644 --- a/PHPCompatibility/Tests/ControlStructures/NewMultiCatchUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/NewMultiCatchUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewMultiCatch sniff. @@ -23,7 +23,7 @@ * * @since 7.0.7 */ -class NewMultiCatchUnitTest extends BaseSniffTest +class NewMultiCatchUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ControlStructures/NewNonCapturingCatchUnitTest.php b/PHPCompatibility/Tests/ControlStructures/NewNonCapturingCatchUnitTest.php index 3e98d035e..db4cc49fb 100644 --- a/PHPCompatibility/Tests/ControlStructures/NewNonCapturingCatchUnitTest.php +++ b/PHPCompatibility/Tests/ControlStructures/NewNonCapturingCatchUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ControlStructures; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNonCapturingCatch sniff. @@ -23,7 +23,7 @@ * * @since 10.0.0 */ -class NewNonCapturingCatchUnitTest extends BaseSniffTest +class NewNonCapturingCatchUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Extensions/RemovedExtensionsUnitTest.php b/PHPCompatibility/Tests/Extensions/RemovedExtensionsUnitTest.php index ac8c4fb1e..eb02b1757 100644 --- a/PHPCompatibility/Tests/Extensions/RemovedExtensionsUnitTest.php +++ b/PHPCompatibility/Tests/Extensions/RemovedExtensionsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Extensions; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedExtensions sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class RemovedExtensionsUnitTest extends BaseSniffTest +class RemovedExtensionsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/AbstractPrivateMethodsUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/AbstractPrivateMethodsUnitTest.php index 3ae32b9f0..6b28f744b 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/AbstractPrivateMethodsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/AbstractPrivateMethodsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the AbstractPrivateMethods sniff. @@ -23,7 +23,7 @@ * @since 9.2.0 * @since 10.0.0 Moved from `Classes` to `FunctionDeclarations`. */ -class AbstractPrivateMethodsUnitTest extends BaseSniffTest +class AbstractPrivateMethodsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenFinalPrivateMethodsUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenFinalPrivateMethodsUnitTest.php index 752d76a23..2d181ab8c 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenFinalPrivateMethodsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenFinalPrivateMethodsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenFinalPrivateMethods sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class ForbiddenFinalPrivateMethodsUnitTest extends BaseSniffTest +class ForbiddenFinalPrivateMethodsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsUnitTest.php index ac52efe2a..8aa9f2ecf 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParameterShadowSuperGlobalsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenParameterShadowSuperGlobals sniff. @@ -23,7 +23,7 @@ * * @since 7.0.3 */ -class ForbiddenParameterShadowSuperGlobalsUnitTest extends BaseSniffTest +class ForbiddenParameterShadowSuperGlobalsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParametersWithSameNameUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParametersWithSameNameUnitTest.php index a78392ca4..7d8a9ce36 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParametersWithSameNameUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenParametersWithSameNameUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenParametersWithSameName sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class ForbiddenParametersWithSameNameUnitTest extends BaseSniffTest +class ForbiddenParametersWithSameNameUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenToStringParametersUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenToStringParametersUnitTest.php index d40b69558..acaee2ffe 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenToStringParametersUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenToStringParametersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenToStringParameters sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class ForbiddenToStringParametersUnitTest extends BaseSniffTest +class ForbiddenToStringParametersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenVariableNamesInClosureUseUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenVariableNamesInClosureUseUnitTest.php index f7839ffb4..06fefacf9 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenVariableNamesInClosureUseUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/ForbiddenVariableNamesInClosureUseUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenVariableNamesInClosureUse sniff. @@ -23,7 +23,7 @@ * * @since 7.1.4 */ -class ForbiddenVariableNamesInClosureUseUnitTest extends BaseSniffTest +class ForbiddenVariableNamesInClosureUseUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NewArrowFunctionUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NewArrowFunctionUnitTest.php index d18e2a43d..2116e6df8 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NewArrowFunctionUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NewArrowFunctionUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * New Arrow Function Sniff tests @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewArrowFunctionUnitTest extends BaseSniffTest +class NewArrowFunctionUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NewClosureUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NewClosureUnitTest.php index 89ac62783..9c8b192b3 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NewClosureUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NewClosureUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewClosure sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewClosureUnitTest extends BaseSniffTest +class NewClosureUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NewExceptionsFromToStringUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NewExceptionsFromToStringUnitTest.php index 8c910372f..ee6bcb99b 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NewExceptionsFromToStringUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NewExceptionsFromToStringUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewExceptionsFromToString sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class NewExceptionsFromToStringUnitTest extends BaseSniffTest +class NewExceptionsFromToStringUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NewNullableTypesUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NewNullableTypesUnitTest.php index 8a584917f..a60b262b5 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NewNullableTypesUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NewNullableTypesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNullableTypes sniff. @@ -23,7 +23,7 @@ * * @since 7.0.7 */ -class NewNullableTypesUnitTest extends BaseSniffTest +class NewNullableTypesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NewParamTypeDeclarationsUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NewParamTypeDeclarationsUnitTest.php index 3e193ea95..342c77d35 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NewParamTypeDeclarationsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NewParamTypeDeclarationsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewParamTypeDeclarations sniff. @@ -23,7 +23,7 @@ * * @since 7.0.0 */ -class NewParamTypeDeclarationsUnitTest extends BaseSniffTest +class NewParamTypeDeclarationsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NewReturnTypeDeclarationsUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NewReturnTypeDeclarationsUnitTest.php index 642438eb5..7c57a53c2 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NewReturnTypeDeclarationsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NewReturnTypeDeclarationsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewReturnTypeDeclarations sniff. @@ -23,7 +23,7 @@ * * @since 7.0.0 */ -class NewReturnTypeDeclarationsUnitTest extends BaseSniffTest +class NewReturnTypeDeclarationsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NewTrailingCommaUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NewTrailingCommaUnitTest.php index a16bca3f0..fb3d3d6f1 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NewTrailingCommaUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NewTrailingCommaUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewTrailingComma sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewTrailingCommaUnitTest extends BaseSniffTest +class NewTrailingCommaUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/NonStaticMagicMethodsUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/NonStaticMagicMethodsUnitTest.php index e83aaf48e..10c75da56 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/NonStaticMagicMethodsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/NonStaticMagicMethodsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NonStaticMagicMethods sniff. @@ -23,7 +23,7 @@ * * @since 5.5 */ -class NonStaticMagicMethodsUnitTest extends BaseSniffTest +class NonStaticMagicMethodsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitUnitTest.php index 575ac997a..ceb662d96 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/RemovedCallingDestructAfterConstructorExitUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedCallingDestructAfterConstructorExit sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedCallingDestructAfterConstructorExitUnitTest extends BaseSniffTest +class RemovedCallingDestructAfterConstructorExitUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/RemovedOptionalBeforeRequiredParamUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/RemovedOptionalBeforeRequiredParamUnitTest.php index 68de1aa5e..e44d37222 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/RemovedOptionalBeforeRequiredParamUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/RemovedOptionalBeforeRequiredParamUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedOptionalBeforeRequiredParam sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedOptionalBeforeRequiredParamUnitTest extends BaseSniffTest +class RemovedOptionalBeforeRequiredParamUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionDeclarations/RemovedReturnByReferenceFromVoidUnitTest.php b/PHPCompatibility/Tests/FunctionDeclarations/RemovedReturnByReferenceFromVoidUnitTest.php index 99af21cc3..4c68fba87 100644 --- a/PHPCompatibility/Tests/FunctionDeclarations/RemovedReturnByReferenceFromVoidUnitTest.php +++ b/PHPCompatibility/Tests/FunctionDeclarations/RemovedReturnByReferenceFromVoidUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedReturnByReferenceFromVoid sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedReturnByReferenceFromVoidUnitTest extends BaseSniffTest +class RemovedReturnByReferenceFromVoidUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionNameRestrictions/NewMagicMethodsUnitTest.php b/PHPCompatibility/Tests/FunctionNameRestrictions/NewMagicMethodsUnitTest.php index 08657ddb5..4bc095246 100644 --- a/PHPCompatibility/Tests/FunctionNameRestrictions/NewMagicMethodsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionNameRestrictions/NewMagicMethodsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionNameRestrictions; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewMagicMethods sniff. @@ -23,7 +23,7 @@ * * @since 7.0.4 */ -class NewMagicMethodsUnitTest extends BaseSniffTest +class NewMagicMethodsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedMagicAutoloadUnitTest.php b/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedMagicAutoloadUnitTest.php index c11e8e75b..147ecdc2f 100644 --- a/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedMagicAutoloadUnitTest.php +++ b/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedMagicAutoloadUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionNameRestrictions; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedMagicAutoload sniff. @@ -22,7 +22,7 @@ * * @since 8.1.0 */ -class RemovedMagicAutoloadUnitTest extends BaseSniffTest +class RemovedMagicAutoloadUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedNamespacedAssertUnitTest.php b/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedNamespacedAssertUnitTest.php index abe816e2a..6f0440192 100644 --- a/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedNamespacedAssertUnitTest.php +++ b/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedNamespacedAssertUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionNameRestrictions; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedNamespacedAssert sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class RemovedNamespacedAssertUnitTest extends BaseSniffTest +class RemovedNamespacedAssertUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedPHP4StyleConstructorsUnitTest.php b/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedPHP4StyleConstructorsUnitTest.php index 2db1f6ec3..4837ba9bc 100644 --- a/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedPHP4StyleConstructorsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionNameRestrictions/RemovedPHP4StyleConstructorsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionNameRestrictions; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedPHP4StyleConstructors sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class RemovedPHP4StyleConstructorsUnitTest extends BaseSniffTest +class RemovedPHP4StyleConstructorsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionNameRestrictions/ReservedFunctionNamesUnitTest.php b/PHPCompatibility/Tests/FunctionNameRestrictions/ReservedFunctionNamesUnitTest.php index 2eb541121..c123b8b29 100644 --- a/PHPCompatibility/Tests/FunctionNameRestrictions/ReservedFunctionNamesUnitTest.php +++ b/PHPCompatibility/Tests/FunctionNameRestrictions/ReservedFunctionNamesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionNameRestrictions; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ReservedFunctionNames sniff. @@ -22,7 +22,7 @@ * * @since 8.2.0 */ -class ReservedFunctionNamesUnitTest extends BaseSniffTest +class ReservedFunctionNamesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsReportCurrentValueUnitTest.php b/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsReportCurrentValueUnitTest.php index 7717871a0..7426d35e0 100644 --- a/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsReportCurrentValueUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsReportCurrentValueUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ArgumentFunctionsReportCurrentValue sniff. @@ -22,7 +22,7 @@ * * @since 9.1.0 */ -class ArgumentFunctionsReportCurrentValueUnitTest extends BaseSniffTest +class ArgumentFunctionsReportCurrentValueUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsUsageUnitTest.php b/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsUsageUnitTest.php index 5a4f02686..9f4b5879d 100644 --- a/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsUsageUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/ArgumentFunctionsUsageUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ArgumentFunctionsUsage sniff. @@ -22,7 +22,7 @@ * * @since 8.2.0 */ -class ArgumentFunctionsUsageUnitTest extends BaseSniffTest +class ArgumentFunctionsUsageUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/NewFunctionParametersUnitTest.php b/PHPCompatibility/Tests/FunctionUse/NewFunctionParametersUnitTest.php index ac2a996a8..449c73c81 100644 --- a/PHPCompatibility/Tests/FunctionUse/NewFunctionParametersUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/NewFunctionParametersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFunctionParameters sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewFunctionParametersUnitTest extends BaseSniffTest +class NewFunctionParametersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/NewFunctionsUnitTest.php b/PHPCompatibility/Tests/FunctionUse/NewFunctionsUnitTest.php index 850364171..df16c3c73 100644 --- a/PHPCompatibility/Tests/FunctionUse/NewFunctionsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/NewFunctionsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFunctions sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class NewFunctionsUnitTest extends BaseSniffTest +class NewFunctionsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/NewNamedParametersUnitTest.php b/PHPCompatibility/Tests/FunctionUse/NewNamedParametersUnitTest.php index 406ef6f08..eee96918e 100644 --- a/PHPCompatibility/Tests/FunctionUse/NewNamedParametersUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/NewNamedParametersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNamedParameters sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewNamedParametersUnitTest extends BaseSniffTest +class NewNamedParametersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/OptionalToRequiredFunctionParametersUnitTest.php b/PHPCompatibility/Tests/FunctionUse/OptionalToRequiredFunctionParametersUnitTest.php index c331469b5..db95bec5c 100644 --- a/PHPCompatibility/Tests/FunctionUse/OptionalToRequiredFunctionParametersUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/OptionalToRequiredFunctionParametersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the OptionalToRequiredFunctionParameters sniff. @@ -22,7 +22,7 @@ * * @since 8.1.0 */ -class OptionalToRequiredFunctionParametersUnitTest extends BaseSniffTest +class OptionalToRequiredFunctionParametersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/RemovedFunctionParametersUnitTest.php b/PHPCompatibility/Tests/FunctionUse/RemovedFunctionParametersUnitTest.php index 8d71cf8cf..1b1ee21b4 100644 --- a/PHPCompatibility/Tests/FunctionUse/RemovedFunctionParametersUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/RemovedFunctionParametersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedFunctionParameters sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class RemovedFunctionParametersUnitTest extends BaseSniffTest +class RemovedFunctionParametersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/RemovedFunctionsUnitTest.php b/PHPCompatibility/Tests/FunctionUse/RemovedFunctionsUnitTest.php index a6a2a4b46..fe96743e4 100644 --- a/PHPCompatibility/Tests/FunctionUse/RemovedFunctionsUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/RemovedFunctionsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedFunctions sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class RemovedFunctionsUnitTest extends BaseSniffTest +class RemovedFunctionsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/FunctionUse/RequiredToOptionalFunctionParametersUnitTest.php b/PHPCompatibility/Tests/FunctionUse/RequiredToOptionalFunctionParametersUnitTest.php index 514a50090..93a31571e 100644 --- a/PHPCompatibility/Tests/FunctionUse/RequiredToOptionalFunctionParametersUnitTest.php +++ b/PHPCompatibility/Tests/FunctionUse/RequiredToOptionalFunctionParametersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\FunctionUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RequiredToOptionalFunctionParameters sniff. @@ -22,7 +22,7 @@ * * @since 7.0.3 */ -class RequiredToOptionalFunctionParametersUnitTest extends BaseSniffTest +class RequiredToOptionalFunctionParametersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Generators/NewGeneratorReturnUnitTest.php b/PHPCompatibility/Tests/Generators/NewGeneratorReturnUnitTest.php index 9bfe9c8ab..f4616c1b1 100644 --- a/PHPCompatibility/Tests/Generators/NewGeneratorReturnUnitTest.php +++ b/PHPCompatibility/Tests/Generators/NewGeneratorReturnUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Generators; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewGeneratorReturn sniff. @@ -22,7 +22,7 @@ * * @since 8.2.0 */ -class NewGeneratorReturnUnitTest extends BaseSniffTest +class NewGeneratorReturnUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/IniDirectives/NewIniDirectivesUnitTest.php b/PHPCompatibility/Tests/IniDirectives/NewIniDirectivesUnitTest.php index 4755e16a8..29fc7137e 100644 --- a/PHPCompatibility/Tests/IniDirectives/NewIniDirectivesUnitTest.php +++ b/PHPCompatibility/Tests/IniDirectives/NewIniDirectivesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\IniDirectives; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewIniDirectives sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class NewIniDirectivesUnitTest extends BaseSniffTest +class NewIniDirectivesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/IniDirectives/RemovedIniDirectivesUnitTest.php b/PHPCompatibility/Tests/IniDirectives/RemovedIniDirectivesUnitTest.php index 69252b36c..7e357f5f8 100644 --- a/PHPCompatibility/Tests/IniDirectives/RemovedIniDirectivesUnitTest.php +++ b/PHPCompatibility/Tests/IniDirectives/RemovedIniDirectivesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\IniDirectives; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedIniDirectives sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class RemovedIniDirectivesUnitTest extends BaseSniffTest +class RemovedIniDirectivesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingConstUnitTest.php b/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingConstUnitTest.php index 0b0608405..ffb2cb847 100644 --- a/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingConstUnitTest.php +++ b/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingConstUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\InitialValue; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewConstantArraysUsingConst sniff. @@ -22,7 +22,7 @@ * * @since 7.1.4 */ -class NewConstantArraysUsingConstUnitTest extends BaseSniffTest +class NewConstantArraysUsingConstUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingDefineUnitTest.php b/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingDefineUnitTest.php index a76ba236b..46decf4e1 100644 --- a/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingDefineUnitTest.php +++ b/PHPCompatibility/Tests/InitialValue/NewConstantArraysUsingDefineUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\InitialValue; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewConstantArraysUsingDefine sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewConstantArraysUsingDefineUnitTest extends BaseSniffTest +class NewConstantArraysUsingDefineUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/InitialValue/NewConstantScalarExpressionsUnitTest.php b/PHPCompatibility/Tests/InitialValue/NewConstantScalarExpressionsUnitTest.php index 56936b083..e8d53cb0f 100644 --- a/PHPCompatibility/Tests/InitialValue/NewConstantScalarExpressionsUnitTest.php +++ b/PHPCompatibility/Tests/InitialValue/NewConstantScalarExpressionsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\InitialValue; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewConstantScalarExpressions sniff. @@ -23,7 +23,7 @@ * * @since 8.2.0 */ -class NewConstantScalarExpressionsUnitTest extends BaseSniffTest +class NewConstantScalarExpressionsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/InitialValue/NewHeredocUnitTest.php b/PHPCompatibility/Tests/InitialValue/NewHeredocUnitTest.php index a15cbd95c..64f4a5a41 100644 --- a/PHPCompatibility/Tests/InitialValue/NewHeredocUnitTest.php +++ b/PHPCompatibility/Tests/InitialValue/NewHeredocUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\InitialValue; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewHeredoc sniff. @@ -23,7 +23,7 @@ * * @since 7.1.4 */ -class NewHeredocUnitTest extends BaseSniffTest +class NewHeredocUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/InitialValue/NewNewInDefineUnitTest.php b/PHPCompatibility/Tests/InitialValue/NewNewInDefineUnitTest.php index f075d8ca0..40c56c4f1 100644 --- a/PHPCompatibility/Tests/InitialValue/NewNewInDefineUnitTest.php +++ b/PHPCompatibility/Tests/InitialValue/NewNewInDefineUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\InitialValue; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNewInDefine sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class NewNewInDefineUnitTest extends BaseSniffTest +final class NewNewInDefineUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/InitialValue/NewNewInInitializersUnitTest.php b/PHPCompatibility/Tests/InitialValue/NewNewInInitializersUnitTest.php index 4c24efad2..65b108895 100644 --- a/PHPCompatibility/Tests/InitialValue/NewNewInInitializersUnitTest.php +++ b/PHPCompatibility/Tests/InitialValue/NewNewInInitializersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\InitialValue; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNewInInitializers sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class NewNewInInitializersUnitTest extends BaseSniffTest +final class NewNewInInitializersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Interfaces/InternalInterfacesUnitTest.php b/PHPCompatibility/Tests/Interfaces/InternalInterfacesUnitTest.php index 2f7f35417..3314e038c 100644 --- a/PHPCompatibility/Tests/Interfaces/InternalInterfacesUnitTest.php +++ b/PHPCompatibility/Tests/Interfaces/InternalInterfacesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Interfaces; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the InternalInterfaces sniff. @@ -22,7 +22,7 @@ * * @since 7.0.3 */ -class InternalInterfacesUnitTest extends BaseSniffTest +class InternalInterfacesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Interfaces/NewInterfacesUnitTest.php b/PHPCompatibility/Tests/Interfaces/NewInterfacesUnitTest.php index f9982601c..918f290b1 100644 --- a/PHPCompatibility/Tests/Interfaces/NewInterfacesUnitTest.php +++ b/PHPCompatibility/Tests/Interfaces/NewInterfacesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Interfaces; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewInterfaces sniff. @@ -22,7 +22,7 @@ * * @since 7.0.3 */ -class NewInterfacesUnitTest extends BaseSniffTest +class NewInterfacesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Interfaces/RemovedSerializableUnitTest.php b/PHPCompatibility/Tests/Interfaces/RemovedSerializableUnitTest.php index d115201be..2aca402da 100644 --- a/PHPCompatibility/Tests/Interfaces/RemovedSerializableUnitTest.php +++ b/PHPCompatibility/Tests/Interfaces/RemovedSerializableUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Interfaces; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedSerializable sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedSerializableUnitTest extends BaseSniffTest +class RemovedSerializableUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Keywords/CaseSensitiveKeywordsUnitTest.php b/PHPCompatibility/Tests/Keywords/CaseSensitiveKeywordsUnitTest.php index 54697a17e..365dadf65 100644 --- a/PHPCompatibility/Tests/Keywords/CaseSensitiveKeywordsUnitTest.php +++ b/PHPCompatibility/Tests/Keywords/CaseSensitiveKeywordsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Keywords; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the CaseSensitiveKeywords sniff. @@ -22,7 +22,7 @@ * * @since 7.1.4 */ -class CaseSensitiveKeywordsUnitTest extends BaseSniffTest +class CaseSensitiveKeywordsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Keywords/ForbiddenNamesUnitTest.php b/PHPCompatibility/Tests/Keywords/ForbiddenNamesUnitTest.php index 338b4df76..82738452c 100644 --- a/PHPCompatibility/Tests/Keywords/ForbiddenNamesUnitTest.php +++ b/PHPCompatibility/Tests/Keywords/ForbiddenNamesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Keywords; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenNames sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class ForbiddenNamesUnitTest extends BaseSniffTest +class ForbiddenNamesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Keywords/NewKeywordsUnitTest.php b/PHPCompatibility/Tests/Keywords/NewKeywordsUnitTest.php index 45544542a..8eea6bd1c 100644 --- a/PHPCompatibility/Tests/Keywords/NewKeywordsUnitTest.php +++ b/PHPCompatibility/Tests/Keywords/NewKeywordsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Keywords; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewKeywords sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class NewKeywordsUnitTest extends BaseSniffTest +class NewKeywordsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/LanguageConstructs/NewEmptyNonVariableUnitTest.php b/PHPCompatibility/Tests/LanguageConstructs/NewEmptyNonVariableUnitTest.php index 21faf6cd8..4d20fc599 100644 --- a/PHPCompatibility/Tests/LanguageConstructs/NewEmptyNonVariableUnitTest.php +++ b/PHPCompatibility/Tests/LanguageConstructs/NewEmptyNonVariableUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\LanguageConstructs; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewEmptyNonVariable sniff. @@ -23,7 +23,7 @@ * * @since 7.0.4 */ -class NewEmptyNonVariableUnitTest extends BaseSniffTest +class NewEmptyNonVariableUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/LanguageConstructs/NewLanguageConstructsUnitTest.php b/PHPCompatibility/Tests/LanguageConstructs/NewLanguageConstructsUnitTest.php index 4bdb23289..656a53ef9 100644 --- a/PHPCompatibility/Tests/LanguageConstructs/NewLanguageConstructsUnitTest.php +++ b/PHPCompatibility/Tests/LanguageConstructs/NewLanguageConstructsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\LanguageConstructs; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewLanguageConstructs sniff. @@ -22,7 +22,7 @@ * * @since 5.6 */ -class NewLanguageConstructsUnitTest extends BaseSniffTest +class NewLanguageConstructsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Lists/AssignmentOrderUnitTest.php b/PHPCompatibility/Tests/Lists/AssignmentOrderUnitTest.php index 9049e7308..5f9fab168 100644 --- a/PHPCompatibility/Tests/Lists/AssignmentOrderUnitTest.php +++ b/PHPCompatibility/Tests/Lists/AssignmentOrderUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Lists; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the AssignmentOrder sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class AssignmentOrderUnitTest extends BaseSniffTest +class AssignmentOrderUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Lists/ForbiddenEmptyListAssignmentUnitTest.php b/PHPCompatibility/Tests/Lists/ForbiddenEmptyListAssignmentUnitTest.php index e374d1ebb..278476921 100644 --- a/PHPCompatibility/Tests/Lists/ForbiddenEmptyListAssignmentUnitTest.php +++ b/PHPCompatibility/Tests/Lists/ForbiddenEmptyListAssignmentUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Lists; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenEmptyListAssignment sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class ForbiddenEmptyListAssignmentUnitTest extends BaseSniffTest +class ForbiddenEmptyListAssignmentUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Lists/NewKeyedListUnitTest.php b/PHPCompatibility/Tests/Lists/NewKeyedListUnitTest.php index 6b7488394..89fba2290 100644 --- a/PHPCompatibility/Tests/Lists/NewKeyedListUnitTest.php +++ b/PHPCompatibility/Tests/Lists/NewKeyedListUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Lists; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewKeyedList sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewKeyedListUnitTest extends BaseSniffTest +class NewKeyedListUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Lists/NewListReferenceAssignmentUnitTest.php b/PHPCompatibility/Tests/Lists/NewListReferenceAssignmentUnitTest.php index f56b17b64..afd414405 100644 --- a/PHPCompatibility/Tests/Lists/NewListReferenceAssignmentUnitTest.php +++ b/PHPCompatibility/Tests/Lists/NewListReferenceAssignmentUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Lists; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewListReferenceAssignment sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewListReferenceAssignmentUnitTest extends BaseSniffTest +class NewListReferenceAssignmentUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Lists/NewShortListUnitTest.php b/PHPCompatibility/Tests/Lists/NewShortListUnitTest.php index 4e18f5d46..acedd3bdf 100644 --- a/PHPCompatibility/Tests/Lists/NewShortListUnitTest.php +++ b/PHPCompatibility/Tests/Lists/NewShortListUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Lists; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewShortList sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewShortListUnitTest extends BaseSniffTest +class NewShortListUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/MethodUse/ForbiddenToStringParametersUnitTest.php b/PHPCompatibility/Tests/MethodUse/ForbiddenToStringParametersUnitTest.php index 3d47fe84a..6ac7ed55e 100644 --- a/PHPCompatibility/Tests/MethodUse/ForbiddenToStringParametersUnitTest.php +++ b/PHPCompatibility/Tests/MethodUse/ForbiddenToStringParametersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\MethodUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenToStringParameters sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class ForbiddenToStringParametersUnitTest extends BaseSniffTest +class ForbiddenToStringParametersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/MethodUse/NewDirectCallsToCloneUnitTest.php b/PHPCompatibility/Tests/MethodUse/NewDirectCallsToCloneUnitTest.php index 39a0606f1..b57c85d01 100644 --- a/PHPCompatibility/Tests/MethodUse/NewDirectCallsToCloneUnitTest.php +++ b/PHPCompatibility/Tests/MethodUse/NewDirectCallsToCloneUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\MethodUse; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewDirectCallsToClone sniff. @@ -22,7 +22,7 @@ * * @since 9.1.0 */ -class NewDirectCallsToCloneUnitTest extends BaseSniffTest +class NewDirectCallsToCloneUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Miscellaneous/NewPHPOpenTagEOFUnitTest.php b/PHPCompatibility/Tests/Miscellaneous/NewPHPOpenTagEOFUnitTest.php index 981a8a9fa..52458fde7 100644 --- a/PHPCompatibility/Tests/Miscellaneous/NewPHPOpenTagEOFUnitTest.php +++ b/PHPCompatibility/Tests/Miscellaneous/NewPHPOpenTagEOFUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Miscellaneous; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewPHPOpenTagEOF sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewPHPOpenTagEOFUnitTest extends BaseSniffTest +class NewPHPOpenTagEOFUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Miscellaneous/RemovedAlternativePHPTagsUnitTest.php b/PHPCompatibility/Tests/Miscellaneous/RemovedAlternativePHPTagsUnitTest.php index 630311e7d..ca6bb3591 100644 --- a/PHPCompatibility/Tests/Miscellaneous/RemovedAlternativePHPTagsUnitTest.php +++ b/PHPCompatibility/Tests/Miscellaneous/RemovedAlternativePHPTagsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Miscellaneous; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedAlternativePHPTags sniff. @@ -22,7 +22,7 @@ * * @since 7.0.4 */ -class RemovedAlternativePHPTagsUnitTest extends BaseSniffTest +class RemovedAlternativePHPTagsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Namespaces/ReservedNamesUnitTest.php b/PHPCompatibility/Tests/Namespaces/ReservedNamesUnitTest.php index cee9a3654..5de8b712e 100644 --- a/PHPCompatibility/Tests/Namespaces/ReservedNamesUnitTest.php +++ b/PHPCompatibility/Tests/Namespaces/ReservedNamesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Namespaces; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ReservedNames sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class ReservedNamesUnitTest extends BaseSniffTest +class ReservedNamesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Numbers/NewExplicitOctalNotationUnitTest.php b/PHPCompatibility/Tests/Numbers/NewExplicitOctalNotationUnitTest.php index 682e3e684..d6b6b165c 100644 --- a/PHPCompatibility/Tests/Numbers/NewExplicitOctalNotationUnitTest.php +++ b/PHPCompatibility/Tests/Numbers/NewExplicitOctalNotationUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Numbers; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Tests for the NewExplicitOctalNotationSniff sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewExplicitOctalNotationUnitTest extends BaseSniffTest +class NewExplicitOctalNotationUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Numbers/NewNumericLiteralSeparatorUnitTest.php b/PHPCompatibility/Tests/Numbers/NewNumericLiteralSeparatorUnitTest.php index c6d3337e1..7b5c38b1c 100644 --- a/PHPCompatibility/Tests/Numbers/NewNumericLiteralSeparatorUnitTest.php +++ b/PHPCompatibility/Tests/Numbers/NewNumericLiteralSeparatorUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Numbers; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; use PHPCSUtils\BackCompat\Helper; /** @@ -23,7 +23,7 @@ * * @since 10.0.0 */ -class NewNumericLiteralSeparatorUnitTest extends BaseSniffTest +class NewNumericLiteralSeparatorUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Numbers/RemovedHexadecimalNumericStringsUnitTest.php b/PHPCompatibility/Tests/Numbers/RemovedHexadecimalNumericStringsUnitTest.php index 6d1d87256..a63f3e91a 100644 --- a/PHPCompatibility/Tests/Numbers/RemovedHexadecimalNumericStringsUnitTest.php +++ b/PHPCompatibility/Tests/Numbers/RemovedHexadecimalNumericStringsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Numbers; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedHexadecimalNumericStrings sniff. @@ -23,7 +23,7 @@ * @since 7.0.3 * @since 10.0.0 Split off from the ValidIntegers sniff. */ -class RemovedHexadecimalNumericStringsUnitTest extends BaseSniffTest +class RemovedHexadecimalNumericStringsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Numbers/ValidIntegersUnitTest.php b/PHPCompatibility/Tests/Numbers/ValidIntegersUnitTest.php index 43575ba5d..413dd8763 100644 --- a/PHPCompatibility/Tests/Numbers/ValidIntegersUnitTest.php +++ b/PHPCompatibility/Tests/Numbers/ValidIntegersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Numbers; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ValidIntegers sniff. @@ -22,7 +22,7 @@ * * @since 7.0.3 */ -class ValidIntegersUnitTest extends BaseSniffTest +class ValidIntegersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Operators/ChangedConcatOperatorPrecedenceUnitTest.php b/PHPCompatibility/Tests/Operators/ChangedConcatOperatorPrecedenceUnitTest.php index 78dc4dea7..e9eabdbed 100644 --- a/PHPCompatibility/Tests/Operators/ChangedConcatOperatorPrecedenceUnitTest.php +++ b/PHPCompatibility/Tests/Operators/ChangedConcatOperatorPrecedenceUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Operators; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ChangedConcatOperatorPrecedence sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class ChangedConcatOperatorPrecedenceUnitTest extends BaseSniffTest +class ChangedConcatOperatorPrecedenceUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Operators/ForbiddenNegativeBitshiftUnitTest.php b/PHPCompatibility/Tests/Operators/ForbiddenNegativeBitshiftUnitTest.php index 8b686fa71..3807f243c 100644 --- a/PHPCompatibility/Tests/Operators/ForbiddenNegativeBitshiftUnitTest.php +++ b/PHPCompatibility/Tests/Operators/ForbiddenNegativeBitshiftUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Operators; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenNegativeBitshift sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class ForbiddenNegativeBitshiftUnitTest extends BaseSniffTest +class ForbiddenNegativeBitshiftUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Operators/NewOperatorsUnitTest.php b/PHPCompatibility/Tests/Operators/NewOperatorsUnitTest.php index 50612fc30..b743fffc9 100644 --- a/PHPCompatibility/Tests/Operators/NewOperatorsUnitTest.php +++ b/PHPCompatibility/Tests/Operators/NewOperatorsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Operators; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewOperators sniff. @@ -23,7 +23,7 @@ * @since 9.0.0 Detection of new operators was originally included in the * NewLanguageConstructSniff (since 5.6). */ -class NewOperatorsUnitTest extends BaseSniffTest +class NewOperatorsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Operators/NewShortTernaryUnitTest.php b/PHPCompatibility/Tests/Operators/NewShortTernaryUnitTest.php index b1bf37413..3fec1b671 100644 --- a/PHPCompatibility/Tests/Operators/NewShortTernaryUnitTest.php +++ b/PHPCompatibility/Tests/Operators/NewShortTernaryUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Operators; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewShortTernary sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewShortTernaryUnitTest extends BaseSniffTest +class NewShortTernaryUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Operators/RemovedTernaryAssociativityUnitTest.php b/PHPCompatibility/Tests/Operators/RemovedTernaryAssociativityUnitTest.php index d605f2496..536b0a87d 100644 --- a/PHPCompatibility/Tests/Operators/RemovedTernaryAssociativityUnitTest.php +++ b/PHPCompatibility/Tests/Operators/RemovedTernaryAssociativityUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Operators; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedTernaryAssociativity sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class RemovedTernaryAssociativityUnitTest extends BaseSniffTest +class RemovedTernaryAssociativityUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/ChangedIntToBoolParamTypeUnitTest.php b/PHPCompatibility/Tests/ParameterValues/ChangedIntToBoolParamTypeUnitTest.php index 4aaafacac..0455f0a7d 100644 --- a/PHPCompatibility/Tests/ParameterValues/ChangedIntToBoolParamTypeUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/ChangedIntToBoolParamTypeUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ChangedIntToBoolParamType sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class ChangedIntToBoolParamTypeUnitTest extends BaseSniffTest +class ChangedIntToBoolParamTypeUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/ChangedObStartEraseFlagsUnitTest.php b/PHPCompatibility/Tests/ParameterValues/ChangedObStartEraseFlagsUnitTest.php index 17b2c9529..2a69a4b8d 100644 --- a/PHPCompatibility/Tests/ParameterValues/ChangedObStartEraseFlagsUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/ChangedObStartEraseFlagsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ChangedObStartEraseFlags sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class ChangedObStartEraseFlagsUnitTest extends BaseSniffTest +class ChangedObStartEraseFlagsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/ForbiddenGetClassNullUnitTest.php b/PHPCompatibility/Tests/ParameterValues/ForbiddenGetClassNullUnitTest.php index 421bad954..0d662b2eb 100644 --- a/PHPCompatibility/Tests/ParameterValues/ForbiddenGetClassNullUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/ForbiddenGetClassNullUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenGetClassNull sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class ForbiddenGetClassNullUnitTest extends BaseSniffTest +class ForbiddenGetClassNullUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/ForbiddenSessionModuleNameUserUnitTest.php b/PHPCompatibility/Tests/ParameterValues/ForbiddenSessionModuleNameUserUnitTest.php index a6b2cfb69..ef808d76a 100644 --- a/PHPCompatibility/Tests/ParameterValues/ForbiddenSessionModuleNameUserUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/ForbiddenSessionModuleNameUserUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenSessionModuleNameUser sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class ForbiddenSessionModuleNameUserUnitTest extends BaseSniffTest +class ForbiddenSessionModuleNameUserUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLUnitTest.php b/PHPCompatibility/Tests/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLUnitTest.php index 6f5c4c0ee..72e5e15df 100644 --- a/PHPCompatibility/Tests/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/ForbiddenStripTagsSelfClosingXHTMLUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenStripTagsSelfClosingXHTML sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class ForbiddenStripTagsSelfClosingXHTMLUnitTest extends BaseSniffTest +class ForbiddenStripTagsSelfClosingXHTMLUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarUnitTest.php index c1a047118..031ce5129 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewArrayMergeRecursiveWithGlobalsVarUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewArrayMergeRecursiveWithGlobalsVar sniff. @@ -23,7 +23,7 @@ * * @since 10.0.0 */ -final class NewArrayMergeRecursiveWithGlobalsVarUnitTest extends BaseSniffTest +final class NewArrayMergeRecursiveWithGlobalsVarUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewArrayReduceInitialTypeUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewArrayReduceInitialTypeUnitTest.php index 959f09a90..6412066b8 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewArrayReduceInitialTypeUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewArrayReduceInitialTypeUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewArrayReduceInitialType sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewArrayReduceInitialTypeUnitTest extends BaseSniffTest +class NewArrayReduceInitialTypeUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewAssertCustomExceptionUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewAssertCustomExceptionUnitTest.php index 620d21716..9fe16af91 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewAssertCustomExceptionUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewAssertCustomExceptionUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewAssertCustomException sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewAssertCustomExceptionUnitTest extends BaseSniffTest +class NewAssertCustomExceptionUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewFopenModesUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewFopenModesUnitTest.php index 90e248549..0779d23d8 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewFopenModesUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewFopenModesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFopenModes sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewFopenModesUnitTest extends BaseSniffTest +class NewFopenModesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesEncodingDefaultUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesEncodingDefaultUnitTest.php index 6688aaeda..fb561fd1b 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesEncodingDefaultUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesEncodingDefaultUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewHTMLEntitiesEncoding sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewHTMLEntitiesEncodingDefaultUnitTest extends BaseSniffTest +class NewHTMLEntitiesEncodingDefaultUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesFlagsDefaultUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesFlagsDefaultUnitTest.php index e490dd267..f912e793a 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesFlagsDefaultUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewHTMLEntitiesFlagsDefaultUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewHTMLEntitiesFlagsDefault sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewHTMLEntitiesFlagsDefaultUnitTest extends BaseSniffTest +class NewHTMLEntitiesFlagsDefaultUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewHashAlgorithmsUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewHashAlgorithmsUnitTest.php index dea2c521e..7a375b1be 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewHashAlgorithmsUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewHashAlgorithmsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewHashAlgorithms sniff. @@ -24,7 +24,7 @@ * * @since 7.0.7 */ -class NewHashAlgorithmsUnitTest extends BaseSniffTest +class NewHashAlgorithmsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewIDNVariantDefaultUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewIDNVariantDefaultUnitTest.php index 57e23fa4d..0695fe5df 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewIDNVariantDefaultUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewIDNVariantDefaultUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewIDNVariantDefault sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewIDNVariantDefaultUnitTest extends BaseSniffTest +class NewIDNVariantDefaultUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewIconvMbstringCharsetDefaultUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewIconvMbstringCharsetDefaultUnitTest.php index cd37537b8..6beefdfd9 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewIconvMbstringCharsetDefaultUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewIconvMbstringCharsetDefaultUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewIconvMbstringCharsetDefault sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewIconvMbstringCharsetDefaultUnitTest extends BaseSniffTest +class NewIconvMbstringCharsetDefaultUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewNegativeStringOffsetUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewNegativeStringOffsetUnitTest.php index 5540df40a..51cb067eb 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewNegativeStringOffsetUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewNegativeStringOffsetUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNegativeStringOffset sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewNegativeStringOffsetUnitTest extends BaseSniffTest +class NewNegativeStringOffsetUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewNumberFormatMultibyteSeparatorsUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewNumberFormatMultibyteSeparatorsUnitTest.php index 6a96708cd..4f3af1d29 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewNumberFormatMultibyteSeparatorsUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewNumberFormatMultibyteSeparatorsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNumberFormatMultibyteSeparators sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewNumberFormatMultibyteSeparatorsUnitTest extends BaseSniffTest +class NewNumberFormatMultibyteSeparatorsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewPCREModifiersUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewPCREModifiersUnitTest.php index 51ee4e12c..388ed0bae 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewPCREModifiersUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewPCREModifiersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewPCREModifiers sniff. @@ -24,7 +24,7 @@ * * @since 8.2.0 */ -class NewPCREModifiersUnitTest extends BaseSniffTest +class NewPCREModifiersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewPackFormatUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewPackFormatUnitTest.php index 12fd53a06..f261a54fb 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewPackFormatUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewPackFormatUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewPackFormat sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewPackFormatUnitTest extends BaseSniffTest +class NewPackFormatUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewPasswordAlgoConstantValuesUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewPasswordAlgoConstantValuesUnitTest.php index aaf5aa34b..e0522bf94 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewPasswordAlgoConstantValuesUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewPasswordAlgoConstantValuesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewPasswordAlgoConstantValues sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewPasswordAlgoConstantValuesUnitTest extends BaseSniffTest +class NewPasswordAlgoConstantValuesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewProcOpenCmdArrayUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewProcOpenCmdArrayUnitTest.php index 56d905d73..a9124bdcc 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewProcOpenCmdArrayUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewProcOpenCmdArrayUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewProcOpenCmdArray sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewProcOpenCmdArrayUnitTest extends BaseSniffTest +class NewProcOpenCmdArrayUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/NewStripTagsAllowableTagsArrayUnitTest.php b/PHPCompatibility/Tests/ParameterValues/NewStripTagsAllowableTagsArrayUnitTest.php index 1ae46bc02..d0514872e 100644 --- a/PHPCompatibility/Tests/ParameterValues/NewStripTagsAllowableTagsArrayUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/NewStripTagsAllowableTagsArrayUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewStripTagsAllowableTagsArray sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewStripTagsAllowableTagsArrayUnitTest extends BaseSniffTest +class NewStripTagsAllowableTagsArrayUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedAssertStringAssertionUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedAssertStringAssertionUnitTest.php index 4efc5b968..cdf8f3bdf 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedAssertStringAssertionUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedAssertStringAssertionUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedAssertStringAssertion sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedAssertStringAssertionUnitTest extends BaseSniffTest +class RemovedAssertStringAssertionUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseUnitTest.php index dd2bc65e1..a325fac69 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedGetDefinedFunctionsExcludeDisabledFalseUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedGetDefinedFunctionsExcludeDisabledFalse sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedGetDefinedFunctionsExcludeDisabledFalseUnitTest extends BaseSniffTest +class RemovedGetDefinedFunctionsExcludeDisabledFalseUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedHashAlgorithmsUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedHashAlgorithmsUnitTest.php index 395758a2e..0097e4a9e 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedHashAlgorithmsUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedHashAlgorithmsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedHashAlgorithms sniff. @@ -24,7 +24,7 @@ * * @since 5.5 */ -class RemovedHashAlgorithmsUnitTest extends BaseSniffTest +class RemovedHashAlgorithmsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedIconvEncodingUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedIconvEncodingUnitTest.php index d2985e0e9..b21163ce0 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedIconvEncodingUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedIconvEncodingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedIconvEncoding sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class RemovedIconvEncodingUnitTest extends BaseSniffTest +class RemovedIconvEncodingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedImplodeFlexibleParamOrderUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedImplodeFlexibleParamOrderUnitTest.php index cfbb2568c..77a0d476a 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedImplodeFlexibleParamOrderUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedImplodeFlexibleParamOrderUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedImplodeFlexibleParamOrder sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class RemovedImplodeFlexibleParamOrderUnitTest extends BaseSniffTest +class RemovedImplodeFlexibleParamOrderUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedMbCheckEncodingNoArgsUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedMbCheckEncodingNoArgsUnitTest.php index 7c4cc7c0c..ca1cbf1db 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedMbCheckEncodingNoArgsUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedMbCheckEncodingNoArgsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedMbCheckEncodingNoArgs sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedMbCheckEncodingNoArgsUnitTest extends BaseSniffTest +class RemovedMbCheckEncodingNoArgsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedMbStrrposEncodingThirdParamUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedMbStrrposEncodingThirdParamUnitTest.php index 92fc2cbab..a5f5cdfde 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedMbStrrposEncodingThirdParamUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedMbStrrposEncodingThirdParamUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedMbStrrposEncodingThirdParam sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class RemovedMbStrrposEncodingThirdParamUnitTest extends BaseSniffTest +class RemovedMbStrrposEncodingThirdParamUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedMbstringModifiersUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedMbstringModifiersUnitTest.php index 937efe50a..da0c31c75 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedMbstringModifiersUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedMbstringModifiersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedMbstringModifiers sniff. @@ -23,7 +23,7 @@ * * @since 7.0.5 */ -class RemovedMbstringModifiersUnitTest extends BaseSniffTest +class RemovedMbstringModifiersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedNonCryptoHashUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedNonCryptoHashUnitTest.php index 99a2d069c..ea62c7143 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedNonCryptoHashUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedNonCryptoHashUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedNonCryptoHash sniff. @@ -23,7 +23,7 @@ * * @since 9.0.0 */ -class RemovedNonCryptoHashUnitTest extends BaseSniffTest +class RemovedNonCryptoHashUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedPCREModifiersUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedPCREModifiersUnitTest.php index 4325036d2..6820598d8 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedPCREModifiersUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedPCREModifiersUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedPCREModifiers sniff. @@ -24,7 +24,7 @@ * * @since 5.6 */ -class RemovedPCREModifiersUnitTest extends BaseSniffTest +class RemovedPCREModifiersUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedSetlocaleStringUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedSetlocaleStringUnitTest.php index bdb4de42b..3f20cbcc7 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedSetlocaleStringUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedSetlocaleStringUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedSetlocaleString sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class RemovedSetlocaleStringUnitTest extends BaseSniffTest +class RemovedSetlocaleStringUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedSplAutoloadRegisterThrowFalseUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedSplAutoloadRegisterThrowFalseUnitTest.php index 389c1bafc..d902a8df0 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedSplAutoloadRegisterThrowFalseUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedSplAutoloadRegisterThrowFalseUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedSplAutoloadRegisterThrowFalse sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedSplAutoloadRegisterThrowFalseUnitTest extends BaseSniffTest +class RemovedSplAutoloadRegisterThrowFalseUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/ParameterValues/RemovedVersionCompareOperatorsUnitTest.php b/PHPCompatibility/Tests/ParameterValues/RemovedVersionCompareOperatorsUnitTest.php index 8595ae151..b35c52649 100644 --- a/PHPCompatibility/Tests/ParameterValues/RemovedVersionCompareOperatorsUnitTest.php +++ b/PHPCompatibility/Tests/ParameterValues/RemovedVersionCompareOperatorsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\ParameterValues; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedVersionCompareOperators sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedVersionCompareOperatorsUnitTest extends BaseSniffTest +class RemovedVersionCompareOperatorsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/ForbiddenCallTimePassByReferenceUnitTest.php b/PHPCompatibility/Tests/Syntax/ForbiddenCallTimePassByReferenceUnitTest.php index 9db94fb42..2395dfa95 100644 --- a/PHPCompatibility/Tests/Syntax/ForbiddenCallTimePassByReferenceUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/ForbiddenCallTimePassByReferenceUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenCallTimePassByReference sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class ForbiddenCallTimePassByReferenceUnitTest extends BaseSniffTest +class ForbiddenCallTimePassByReferenceUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewArrayStringDereferencingUnitTest.php b/PHPCompatibility/Tests/Syntax/NewArrayStringDereferencingUnitTest.php index 97e1371c0..0e74f1977 100644 --- a/PHPCompatibility/Tests/Syntax/NewArrayStringDereferencingUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewArrayStringDereferencingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewArrayStringDereferencing sniff. @@ -22,7 +22,7 @@ * * @since 7.1.4 */ -class NewArrayStringDereferencingUnitTest extends BaseSniffTest +class NewArrayStringDereferencingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewArrayUnpackingUnitTest.php b/PHPCompatibility/Tests/Syntax/NewArrayUnpackingUnitTest.php index eb107d295..ab3cc3ce3 100644 --- a/PHPCompatibility/Tests/Syntax/NewArrayUnpackingUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewArrayUnpackingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewArrayUnpacking sniff. @@ -22,7 +22,7 @@ * * @since 9.2.0 */ -class NewArrayUnpackingUnitTest extends BaseSniffTest +class NewArrayUnpackingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewClassMemberAccessUnitTest.php b/PHPCompatibility/Tests/Syntax/NewClassMemberAccessUnitTest.php index 17e825c5a..50a65590e 100644 --- a/PHPCompatibility/Tests/Syntax/NewClassMemberAccessUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewClassMemberAccessUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewClassMemberAccess sniff. @@ -22,7 +22,7 @@ * * @since 8.2.0 */ -class NewClassMemberAccessUnitTest extends BaseSniffTest +class NewClassMemberAccessUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewDynamicAccessToStaticUnitTest.php b/PHPCompatibility/Tests/Syntax/NewDynamicAccessToStaticUnitTest.php index c9e8eed73..8c050f959 100644 --- a/PHPCompatibility/Tests/Syntax/NewDynamicAccessToStaticUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewDynamicAccessToStaticUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewDynamicAccessToStatic sniff. @@ -22,7 +22,7 @@ * * @since 8.1.0 */ -class NewDynamicAccessToStaticUnitTest extends BaseSniffTest +class NewDynamicAccessToStaticUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewFirstClassCallablesUnitTest.php b/PHPCompatibility/Tests/Syntax/NewFirstClassCallablesUnitTest.php index dd2a0eac3..b43d35865 100644 --- a/PHPCompatibility/Tests/Syntax/NewFirstClassCallablesUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewFirstClassCallablesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFirstClassCallables sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class NewFirstClassCallablesUnitTest extends BaseSniffTest +final class NewFirstClassCallablesUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewFlexibleHeredocNowdocUnitTest.php b/PHPCompatibility/Tests/Syntax/NewFlexibleHeredocNowdocUnitTest.php index c87eb7864..4283f435c 100644 --- a/PHPCompatibility/Tests/Syntax/NewFlexibleHeredocNowdocUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewFlexibleHeredocNowdocUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFlexibleHeredocNowdoc sniff. @@ -22,7 +22,7 @@ * * @since 9.0.0 */ -class NewFlexibleHeredocNowdocUnitTest extends BaseSniffTest +class NewFlexibleHeredocNowdocUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewFunctionArrayDereferencingUnitTest.php b/PHPCompatibility/Tests/Syntax/NewFunctionArrayDereferencingUnitTest.php index 86a0eeed4..b6472bf3f 100644 --- a/PHPCompatibility/Tests/Syntax/NewFunctionArrayDereferencingUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewFunctionArrayDereferencingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFunctionArrayDereferencing sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewFunctionArrayDereferencingUnitTest extends BaseSniffTest +class NewFunctionArrayDereferencingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewFunctionCallTrailingCommaUnitTest.php b/PHPCompatibility/Tests/Syntax/NewFunctionCallTrailingCommaUnitTest.php index e9b0c5b27..61913a987 100644 --- a/PHPCompatibility/Tests/Syntax/NewFunctionCallTrailingCommaUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewFunctionCallTrailingCommaUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewFunctionCallTrailingComma sniff. @@ -22,7 +22,7 @@ * * @since 8.2.0 */ -class NewFunctionCallTrailingCommaUnitTest extends BaseSniffTest +class NewFunctionCallTrailingCommaUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewInterpolatedStringDereferencingUnitTest.php b/PHPCompatibility/Tests/Syntax/NewInterpolatedStringDereferencingUnitTest.php index 03f42d816..8c460ef18 100644 --- a/PHPCompatibility/Tests/Syntax/NewInterpolatedStringDereferencingUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewInterpolatedStringDereferencingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewInterpolatedStringDereferencing sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewInterpolatedStringDereferencingUnitTest extends BaseSniffTest +class NewInterpolatedStringDereferencingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewMagicConstantDereferencingUnitTest.php b/PHPCompatibility/Tests/Syntax/NewMagicConstantDereferencingUnitTest.php index 4d2612067..a71c0b399 100644 --- a/PHPCompatibility/Tests/Syntax/NewMagicConstantDereferencingUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewMagicConstantDereferencingUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewMagicConstantDereferencing sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewMagicConstantDereferencingUnitTest extends BaseSniffTest +class NewMagicConstantDereferencingUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewNestedStaticAccessUnitTest.php b/PHPCompatibility/Tests/Syntax/NewNestedStaticAccessUnitTest.php index 4c59249c2..675559a35 100644 --- a/PHPCompatibility/Tests/Syntax/NewNestedStaticAccessUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewNestedStaticAccessUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewNestedStaticAccess sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class NewNestedStaticAccessUnitTest extends BaseSniffTest +class NewNestedStaticAccessUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/NewShortArrayUnitTest.php b/PHPCompatibility/Tests/Syntax/NewShortArrayUnitTest.php index ccfd659b2..86c33aeee 100644 --- a/PHPCompatibility/Tests/Syntax/NewShortArrayUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/NewShortArrayUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewShortArray sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewShortArrayUnitTest extends BaseSniffTest +class NewShortArrayUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/RemovedCurlyBraceArrayAccessUnitTest.php b/PHPCompatibility/Tests/Syntax/RemovedCurlyBraceArrayAccessUnitTest.php index 01ce6bdb9..37fde816b 100644 --- a/PHPCompatibility/Tests/Syntax/RemovedCurlyBraceArrayAccessUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/RemovedCurlyBraceArrayAccessUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedCurlyBraceArrayAccess sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class RemovedCurlyBraceArrayAccessUnitTest extends BaseSniffTest +class RemovedCurlyBraceArrayAccessUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Syntax/RemovedNewReferenceUnitTest.php b/PHPCompatibility/Tests/Syntax/RemovedNewReferenceUnitTest.php index cbdc3814e..1450eb0e1 100644 --- a/PHPCompatibility/Tests/Syntax/RemovedNewReferenceUnitTest.php +++ b/PHPCompatibility/Tests/Syntax/RemovedNewReferenceUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Syntax; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedNewReference sniff. @@ -22,7 +22,7 @@ * * @since 5.5 */ -class RemovedNewReferenceUnitTest extends BaseSniffTest +class RemovedNewReferenceUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/TextStrings/NewUnicodeEscapeSequenceUnitTest.php b/PHPCompatibility/Tests/TextStrings/NewUnicodeEscapeSequenceUnitTest.php index d8acb4970..ef80c3fd3 100644 --- a/PHPCompatibility/Tests/TextStrings/NewUnicodeEscapeSequenceUnitTest.php +++ b/PHPCompatibility/Tests/TextStrings/NewUnicodeEscapeSequenceUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\TextStrings; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewUnicodeEscapeSequence sniff. @@ -22,7 +22,7 @@ * * @since 9.3.0 */ -class NewUnicodeEscapeSequenceUnitTest extends BaseSniffTest +class NewUnicodeEscapeSequenceUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/TextStrings/RemovedDollarBraceStringEmbedsUnitTest.php b/PHPCompatibility/Tests/TextStrings/RemovedDollarBraceStringEmbedsUnitTest.php index e59fd0ce3..8823125af 100644 --- a/PHPCompatibility/Tests/TextStrings/RemovedDollarBraceStringEmbedsUnitTest.php +++ b/PHPCompatibility/Tests/TextStrings/RemovedDollarBraceStringEmbedsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\TextStrings; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedDollarBraceStringEmbeds sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -class RemovedDollarBraceStringEmbedsUnitTest extends BaseSniffTest +class RemovedDollarBraceStringEmbedsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/TypeCasts/NewTypeCastsUnitTest.php b/PHPCompatibility/Tests/TypeCasts/NewTypeCastsUnitTest.php index 25b5c8194..5debc2c8d 100644 --- a/PHPCompatibility/Tests/TypeCasts/NewTypeCastsUnitTest.php +++ b/PHPCompatibility/Tests/TypeCasts/NewTypeCastsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\TypeCasts; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewTypeCasts sniff. @@ -22,7 +22,7 @@ * * @since 8.0.1 */ -class NewTypeCastsUnitTest extends BaseSniffTest +class NewTypeCastsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/TypeCasts/RemovedTypeCastsUnitTest.php b/PHPCompatibility/Tests/TypeCasts/RemovedTypeCastsUnitTest.php index cf2afe0fe..87eb09d94 100644 --- a/PHPCompatibility/Tests/TypeCasts/RemovedTypeCastsUnitTest.php +++ b/PHPCompatibility/Tests/TypeCasts/RemovedTypeCastsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\TypeCasts; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedTypeCasts sniff. @@ -22,7 +22,7 @@ * * @since 8.0.1 */ -class RemovedTypeCastsUnitTest extends BaseSniffTest +class RemovedTypeCastsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Upgrade/LowPHPUnitTest.php b/PHPCompatibility/Tests/Upgrade/LowPHPUnitTest.php index 3e9801b2e..c02c1d295 100644 --- a/PHPCompatibility/Tests/Upgrade/LowPHPUnitTest.php +++ b/PHPCompatibility/Tests/Upgrade/LowPHPUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Upgrade; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; use PHPCompatibility\Sniffs\Upgrade\LowPHPSniff; /** @@ -23,7 +23,7 @@ * * @since 9.3.0 */ -class LowPHPUnitTest extends BaseSniffTest +class LowPHPUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/UseDeclarations/NewGroupUseDeclarationsUnitTest.php b/PHPCompatibility/Tests/UseDeclarations/NewGroupUseDeclarationsUnitTest.php index 4aae88034..cd77419f6 100644 --- a/PHPCompatibility/Tests/UseDeclarations/NewGroupUseDeclarationsUnitTest.php +++ b/PHPCompatibility/Tests/UseDeclarations/NewGroupUseDeclarationsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\UseDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewGroupUseDeclarations sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class NewGroupUseDeclarationsUnitTest extends BaseSniffTest +class NewGroupUseDeclarationsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/UseDeclarations/NewUseConstFunctionUnitTest.php b/PHPCompatibility/Tests/UseDeclarations/NewUseConstFunctionUnitTest.php index 629bf4446..c12bb3295 100644 --- a/PHPCompatibility/Tests/UseDeclarations/NewUseConstFunctionUnitTest.php +++ b/PHPCompatibility/Tests/UseDeclarations/NewUseConstFunctionUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\UseDeclarations; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewUseConstFunction sniff. @@ -22,7 +22,7 @@ * * @since 7.1.4 */ -class NewUseConstFunctionUnitTest extends BaseSniffTest +class NewUseConstFunctionUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Variables/ForbiddenGlobalVariableVariableUnitTest.php b/PHPCompatibility/Tests/Variables/ForbiddenGlobalVariableVariableUnitTest.php index 1c80d668d..99d6f6dfc 100644 --- a/PHPCompatibility/Tests/Variables/ForbiddenGlobalVariableVariableUnitTest.php +++ b/PHPCompatibility/Tests/Variables/ForbiddenGlobalVariableVariableUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Variables; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenGlobalVariableVariable sniff. @@ -22,7 +22,7 @@ * * @since 7.0.0 */ -class ForbiddenGlobalVariableVariableUnitTest extends BaseSniffTest +class ForbiddenGlobalVariableVariableUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Variables/ForbiddenThisUseContextsUnitTest.php b/PHPCompatibility/Tests/Variables/ForbiddenThisUseContextsUnitTest.php index 3762b5923..1ff000e84 100644 --- a/PHPCompatibility/Tests/Variables/ForbiddenThisUseContextsUnitTest.php +++ b/PHPCompatibility/Tests/Variables/ForbiddenThisUseContextsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Variables; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the ForbiddenThisUseContexts sniff. @@ -22,7 +22,7 @@ * * @since 9.1.0 */ -class ForbiddenThisUseContextsUnitTest extends BaseSniffTest +class ForbiddenThisUseContextsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Variables/NewUniformVariableSyntaxUnitTest.php b/PHPCompatibility/Tests/Variables/NewUniformVariableSyntaxUnitTest.php index fd9c43b20..27f4e68b8 100644 --- a/PHPCompatibility/Tests/Variables/NewUniformVariableSyntaxUnitTest.php +++ b/PHPCompatibility/Tests/Variables/NewUniformVariableSyntaxUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Variables; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the NewUniformVariableSyntax sniff. @@ -22,7 +22,7 @@ * * @since 7.1.2 */ -class NewUniformVariableSyntaxUnitTest extends BaseSniffTest +class NewUniformVariableSyntaxUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Variables/RemovedIndirectModificationOfGlobalsUnitTest.php b/PHPCompatibility/Tests/Variables/RemovedIndirectModificationOfGlobalsUnitTest.php index c63c02bb4..f490c16d7 100644 --- a/PHPCompatibility/Tests/Variables/RemovedIndirectModificationOfGlobalsUnitTest.php +++ b/PHPCompatibility/Tests/Variables/RemovedIndirectModificationOfGlobalsUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Variables; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedIndirectModificationOfGlobals sniff. @@ -22,7 +22,7 @@ * * @since 10.0.0 */ -final class RemovedIndirectModificationOfGlobalsUnitTest extends BaseSniffTest +final class RemovedIndirectModificationOfGlobalsUnitTest extends BaseSniffTestCase { /** diff --git a/PHPCompatibility/Tests/Variables/RemovedPredefinedGlobalVariablesUnitTest.php b/PHPCompatibility/Tests/Variables/RemovedPredefinedGlobalVariablesUnitTest.php index 0bbb0f25b..8eae91543 100644 --- a/PHPCompatibility/Tests/Variables/RemovedPredefinedGlobalVariablesUnitTest.php +++ b/PHPCompatibility/Tests/Variables/RemovedPredefinedGlobalVariablesUnitTest.php @@ -10,7 +10,7 @@ namespace PHPCompatibility\Tests\Variables; -use PHPCompatibility\Tests\BaseSniffTest; +use PHPCompatibility\Tests\BaseSniffTestCase; /** * Test the RemovedPredefinedGlobalVariables sniff. @@ -24,7 +24,7 @@ * @since 7.0 RemovedVariablesSniffTest. * @since 7.1.3 Merged to one sniff & test. */ -class RemovedPredefinedGlobalVariablesUnitTest extends BaseSniffTest +class RemovedPredefinedGlobalVariablesUnitTest extends BaseSniffTestCase { /** diff --git a/phpunit-bootstrap.php b/phpunit-bootstrap.php index 5cfaa517a..691db8f10 100644 --- a/phpunit-bootstrap.php +++ b/phpunit-bootstrap.php @@ -121,5 +121,5 @@ class_alias('PHPUnit_Framework_TestCase', 'PHPUnit\Framework\TestCase'); } -require_once __DIR__ . '/PHPCompatibility/Tests/BaseSniffTest.php'; +require_once __DIR__ . '/PHPCompatibility/Tests/BaseSniffTestCase.php'; unset($phpcsUtilsDir, $phpcsDir, $vendorDir);