RequiresSetting
extends Metadata
in package
Read onlyYes
FinalYes
Tags
Table of Contents
Properties
Methods
- after() : After
- afterClass() : AfterClass
- backupGlobalsOnClass() : BackupGlobals
- backupGlobalsOnMethod() : BackupGlobals
- backupStaticPropertiesOnClass() : BackupStaticProperties
- backupStaticPropertiesOnMethod() : BackupStaticProperties
- before() : Before
- beforeClass() : BeforeClass
- coversClass() : CoversClass
- coversDefaultClass() : CoversDefaultClass
- coversFunction() : CoversFunction
- coversMethod() : CoversMethod
- coversNothingOnClass() : CoversNothing
- coversNothingOnMethod() : CoversNothing
- coversOnClass() : Covers
- coversOnMethod() : Covers
- coversTrait() : CoversTrait
- dataProvider() : DataProvider
- dependsOnClass() : DependsOnClass
- dependsOnMethod() : DependsOnMethod
- disableReturnValueGenerationForTestDoubles() : DisableReturnValueGenerationForTestDoubles
- doesNotPerformAssertionsOnClass() : DoesNotPerformAssertions
- doesNotPerformAssertionsOnMethod() : DoesNotPerformAssertions
- excludeGlobalVariableFromBackupOnClass() : ExcludeGlobalVariableFromBackup
- excludeGlobalVariableFromBackupOnMethod() : ExcludeGlobalVariableFromBackup
- excludeStaticPropertyFromBackupOnClass() : ExcludeStaticPropertyFromBackup
- excludeStaticPropertyFromBackupOnMethod() : ExcludeStaticPropertyFromBackup
- groupOnClass() : Group
- groupOnMethod() : Group
- ignoreDeprecationsOnClass() : IgnoreDeprecations
- ignoreDeprecationsOnMethod() : IgnoreDeprecations
- isAfter() : bool
- isAfterClass() : bool
- isBackupGlobals() : bool
- isBackupStaticProperties() : bool
- isBefore() : bool
- isBeforeClass() : bool
- isClassLevel() : bool
- isCovers() : bool
- isCoversClass() : bool
- isCoversDefaultClass() : bool
- isCoversFunction() : bool
- isCoversMethod() : bool
- isCoversNothing() : bool
- isCoversTrait() : bool
- isDataProvider() : bool
- isDependsOnClass() : bool
- isDependsOnMethod() : bool
- isDisableReturnValueGenerationForTestDoubles() : bool
- isDoesNotPerformAssertions() : bool
- isExcludeGlobalVariableFromBackup() : bool
- isExcludeStaticPropertyFromBackup() : bool
- isGroup() : bool
- isIgnoreDeprecations() : bool
- isMethodLevel() : bool
- isPostCondition() : bool
- isPreCondition() : bool
- isPreserveGlobalState() : bool
- isRequiresFunction() : bool
- isRequiresMethod() : bool
- isRequiresOperatingSystem() : bool
- isRequiresOperatingSystemFamily() : bool
- isRequiresPhp() : bool
- isRequiresPhpExtension() : bool
- isRequiresPhpunit() : bool
- isRequiresPhpunitExtension() : bool
- isRequiresSetting() : true
- isRunClassInSeparateProcess() : bool
- isRunInSeparateProcess() : bool
- isRunTestsInSeparateProcesses() : bool
- isTest() : bool
- isTestDox() : bool
- isTestWith() : bool
- isUses() : bool
- isUsesClass() : bool
- isUsesDefaultClass() : bool
- isUsesFunction() : bool
- isUsesMethod() : bool
- isUsesTrait() : bool
- isWithoutErrorHandler() : bool
- postCondition() : PostCondition
- preCondition() : PreCondition
- preserveGlobalStateOnClass() : PreserveGlobalState
- preserveGlobalStateOnMethod() : PreserveGlobalState
- requiresFunctionOnClass() : RequiresFunction
- requiresFunctionOnMethod() : RequiresFunction
- requiresMethodOnClass() : RequiresMethod
- requiresMethodOnMethod() : RequiresMethod
- requiresOperatingSystemFamilyOnClass() : RequiresOperatingSystemFamily
- requiresOperatingSystemFamilyOnMethod() : RequiresOperatingSystemFamily
- requiresOperatingSystemOnClass() : RequiresOperatingSystem
- requiresOperatingSystemOnMethod() : RequiresOperatingSystem
- requiresPhpExtensionOnClass() : RequiresPhpExtension
- requiresPhpExtensionOnMethod() : RequiresPhpExtension
- requiresPhpOnClass() : RequiresPhp
- requiresPhpOnMethod() : RequiresPhp
- requiresPhpunitExtensionOnClass() : RequiresPhpunitExtension
- requiresPhpunitExtensionOnMethod() : RequiresPhpunitExtension
- requiresPhpunitOnClass() : RequiresPhpunit
- requiresPhpunitOnMethod() : RequiresPhpunit
- requiresSettingOnClass() : RequiresSetting
- requiresSettingOnMethod() : RequiresSetting
- runClassInSeparateProcess() : RunClassInSeparateProcess
- runInSeparateProcess() : RunInSeparateProcess
- runTestsInSeparateProcesses() : RunTestsInSeparateProcesses
- setting() : non-empty-string
- test() : Test
- testDoxOnClass() : TestDox
- testDoxOnMethod() : TestDox
- testWith() : TestWith
- usesClass() : UsesClass
- usesDefaultClass() : UsesDefaultClass
- usesFunction() : UsesFunction
- usesMethod() : UsesMethod
- usesOnClass() : Uses
- usesOnMethod() : Uses
- usesTrait() : UsesTrait
- value() : non-empty-string
- withoutErrorHandler() : WithoutErrorHandler
- __construct() : mixed
Properties
$setting
private
non-empty-string
$setting
$value
private
non-empty-string
$value
Methods
after()
public
static after(int $priority) : After
Parameters
- $priority : int
Return values
AfterafterClass()
public
static afterClass(int $priority) : AfterClass
Parameters
- $priority : int
Return values
AfterClassbackupGlobalsOnClass()
public
static backupGlobalsOnClass(bool $enabled) : BackupGlobals
Parameters
- $enabled : bool
Return values
BackupGlobalsbackupGlobalsOnMethod()
public
static backupGlobalsOnMethod(bool $enabled) : BackupGlobals
Parameters
- $enabled : bool
Return values
BackupGlobalsbackupStaticPropertiesOnClass()
public
static backupStaticPropertiesOnClass(bool $enabled) : BackupStaticProperties
Parameters
- $enabled : bool
Return values
BackupStaticPropertiesbackupStaticPropertiesOnMethod()
public
static backupStaticPropertiesOnMethod(bool $enabled) : BackupStaticProperties
Parameters
- $enabled : bool
Return values
BackupStaticPropertiesbefore()
public
static before(int $priority) : Before
Parameters
- $priority : int
Return values
BeforebeforeClass()
public
static beforeClass(int $priority) : BeforeClass
Parameters
- $priority : int
Return values
BeforeClasscoversClass()
public
static coversClass(class-string $className) : CoversClass
Parameters
- $className : class-string
Return values
CoversClasscoversDefaultClass()
public
static coversDefaultClass(class-string $className) : CoversDefaultClass
Parameters
- $className : class-string
Return values
CoversDefaultClasscoversFunction()
public
static coversFunction(non-empty-string $functionName) : CoversFunction
Parameters
- $functionName : non-empty-string
Return values
CoversFunctioncoversMethod()
public
static coversMethod(class-string $className, non-empty-string $methodName) : CoversMethod
Parameters
- $className : class-string
- $methodName : non-empty-string
Return values
CoversMethodcoversNothingOnClass()
public
static coversNothingOnClass() : CoversNothing
Return values
CoversNothingcoversNothingOnMethod()
public
static coversNothingOnMethod() : CoversNothing
Return values
CoversNothingcoversOnClass()
public
static coversOnClass(non-empty-string $target) : Covers
Parameters
- $target : non-empty-string
Return values
CoverscoversOnMethod()
public
static coversOnMethod(non-empty-string $target) : Covers
Parameters
- $target : non-empty-string
Return values
CoverscoversTrait()
public
static coversTrait(trait-string $traitName) : CoversTrait
Parameters
- $traitName : trait-string
Return values
CoversTraitdataProvider()
public
static dataProvider(class-string $className, non-empty-string $methodName) : DataProvider
Parameters
- $className : class-string
- $methodName : non-empty-string
Return values
DataProviderdependsOnClass()
public
static dependsOnClass(class-string $className, bool $deepClone, bool $shallowClone) : DependsOnClass
Parameters
- $className : class-string
- $deepClone : bool
- $shallowClone : bool
Return values
DependsOnClassdependsOnMethod()
public
static dependsOnMethod(class-string $className, non-empty-string $methodName, bool $deepClone, bool $shallowClone) : DependsOnMethod
Parameters
- $className : class-string
- $methodName : non-empty-string
- $deepClone : bool
- $shallowClone : bool
Return values
DependsOnMethoddisableReturnValueGenerationForTestDoubles()
public
static disableReturnValueGenerationForTestDoubles() : DisableReturnValueGenerationForTestDoubles
Return values
DisableReturnValueGenerationForTestDoublesdoesNotPerformAssertionsOnClass()
public
static doesNotPerformAssertionsOnClass() : DoesNotPerformAssertions
Return values
DoesNotPerformAssertionsdoesNotPerformAssertionsOnMethod()
public
static doesNotPerformAssertionsOnMethod() : DoesNotPerformAssertions
Return values
DoesNotPerformAssertionsexcludeGlobalVariableFromBackupOnClass()
public
static excludeGlobalVariableFromBackupOnClass(non-empty-string $globalVariableName) : ExcludeGlobalVariableFromBackup
Parameters
- $globalVariableName : non-empty-string
Return values
ExcludeGlobalVariableFromBackupexcludeGlobalVariableFromBackupOnMethod()
public
static excludeGlobalVariableFromBackupOnMethod(non-empty-string $globalVariableName) : ExcludeGlobalVariableFromBackup
Parameters
- $globalVariableName : non-empty-string
Return values
ExcludeGlobalVariableFromBackupexcludeStaticPropertyFromBackupOnClass()
public
static excludeStaticPropertyFromBackupOnClass(class-string $className, non-empty-string $propertyName) : ExcludeStaticPropertyFromBackup
Parameters
- $className : class-string
- $propertyName : non-empty-string
Return values
ExcludeStaticPropertyFromBackupexcludeStaticPropertyFromBackupOnMethod()
public
static excludeStaticPropertyFromBackupOnMethod(class-string $className, non-empty-string $propertyName) : ExcludeStaticPropertyFromBackup
Parameters
- $className : class-string
- $propertyName : non-empty-string
Return values
ExcludeStaticPropertyFromBackupgroupOnClass()
public
static groupOnClass(non-empty-string $groupName) : Group
Parameters
- $groupName : non-empty-string
Return values
GroupgroupOnMethod()
public
static groupOnMethod(non-empty-string $groupName) : Group
Parameters
- $groupName : non-empty-string
Return values
GroupignoreDeprecationsOnClass()
public
static ignoreDeprecationsOnClass() : IgnoreDeprecations
Return values
IgnoreDeprecationsignoreDeprecationsOnMethod()
public
static ignoreDeprecationsOnMethod() : IgnoreDeprecations
Return values
IgnoreDeprecationsisAfter()
public
isAfter() : bool
Tags
Return values
boolisAfterClass()
public
isAfterClass() : bool
Tags
Return values
boolisBackupGlobals()
public
isBackupGlobals() : bool
Tags
Return values
boolisBackupStaticProperties()
public
isBackupStaticProperties() : bool
Tags
Return values
boolisBefore()
public
isBefore() : bool
Tags
Return values
boolisBeforeClass()
public
isBeforeClass() : bool
Tags
Return values
boolisClassLevel()
public
isClassLevel() : bool
Return values
boolisCovers()
public
isCovers() : bool
Tags
Return values
boolisCoversClass()
public
isCoversClass() : bool
Tags
Return values
boolisCoversDefaultClass()
public
isCoversDefaultClass() : bool
Tags
Return values
boolisCoversFunction()
public
isCoversFunction() : bool
Tags
Return values
boolisCoversMethod()
public
isCoversMethod() : bool
Tags
Return values
boolisCoversNothing()
public
isCoversNothing() : bool
Tags
Return values
boolisCoversTrait()
public
isCoversTrait() : bool
Tags
Return values
boolisDataProvider()
public
isDataProvider() : bool
Tags
Return values
boolisDependsOnClass()
public
isDependsOnClass() : bool
Tags
Return values
boolisDependsOnMethod()
public
isDependsOnMethod() : bool
Tags
Return values
boolisDisableReturnValueGenerationForTestDoubles()
public
isDisableReturnValueGenerationForTestDoubles() : bool
Tags
Return values
boolisDoesNotPerformAssertions()
public
isDoesNotPerformAssertions() : bool
Tags
Return values
boolisExcludeGlobalVariableFromBackup()
public
isExcludeGlobalVariableFromBackup() : bool
Tags
Return values
boolisExcludeStaticPropertyFromBackup()
public
isExcludeStaticPropertyFromBackup() : bool
Tags
Return values
boolisGroup()
public
isGroup() : bool
Tags
Return values
boolisIgnoreDeprecations()
public
isIgnoreDeprecations() : bool
Tags
Return values
boolisMethodLevel()
public
isMethodLevel() : bool
Return values
boolisPostCondition()
public
isPostCondition() : bool
Tags
Return values
boolisPreCondition()
public
isPreCondition() : bool
Tags
Return values
boolisPreserveGlobalState()
public
isPreserveGlobalState() : bool
Tags
Return values
boolisRequiresFunction()
public
isRequiresFunction() : bool
Tags
Return values
boolisRequiresMethod()
public
isRequiresMethod() : bool
Tags
Return values
boolisRequiresOperatingSystem()
public
isRequiresOperatingSystem() : bool
Tags
Return values
boolisRequiresOperatingSystemFamily()
public
isRequiresOperatingSystemFamily() : bool
Tags
Return values
boolisRequiresPhp()
public
isRequiresPhp() : bool
Tags
Return values
boolisRequiresPhpExtension()
public
isRequiresPhpExtension() : bool
Tags
Return values
boolisRequiresPhpunit()
public
isRequiresPhpunit() : bool
Tags
Return values
boolisRequiresPhpunitExtension()
public
isRequiresPhpunitExtension() : bool
Tags
Return values
boolisRequiresSetting()
public
isRequiresSetting() : true
Return values
trueisRunClassInSeparateProcess()
public
isRunClassInSeparateProcess() : bool
Tags
Return values
boolisRunInSeparateProcess()
public
isRunInSeparateProcess() : bool
Tags
Return values
boolisRunTestsInSeparateProcesses()
public
isRunTestsInSeparateProcesses() : bool
Tags
Return values
boolisTest()
public
isTest() : bool
Tags
Return values
boolisTestDox()
public
isTestDox() : bool
Tags
Return values
boolisTestWith()
public
isTestWith() : bool
Tags
Return values
boolisUses()
public
isUses() : bool
Tags
Return values
boolisUsesClass()
public
isUsesClass() : bool
Tags
Return values
boolisUsesDefaultClass()
public
isUsesDefaultClass() : bool
Tags
Return values
boolisUsesFunction()
public
isUsesFunction() : bool
Tags
Return values
boolisUsesMethod()
public
isUsesMethod() : bool
Tags
Return values
boolisUsesTrait()
public
isUsesTrait() : bool
Tags
Return values
boolisWithoutErrorHandler()
public
isWithoutErrorHandler() : bool
Tags
Return values
boolpostCondition()
public
static postCondition(int $priority) : PostCondition
Parameters
- $priority : int
Return values
PostConditionpreCondition()
public
static preCondition(int $priority) : PreCondition
Parameters
- $priority : int
Return values
PreConditionpreserveGlobalStateOnClass()
public
static preserveGlobalStateOnClass(bool $enabled) : PreserveGlobalState
Parameters
- $enabled : bool
Return values
PreserveGlobalStatepreserveGlobalStateOnMethod()
public
static preserveGlobalStateOnMethod(bool $enabled) : PreserveGlobalState
Parameters
- $enabled : bool
Return values
PreserveGlobalStaterequiresFunctionOnClass()
public
static requiresFunctionOnClass(non-empty-string $functionName) : RequiresFunction
Parameters
- $functionName : non-empty-string
Return values
RequiresFunctionrequiresFunctionOnMethod()
public
static requiresFunctionOnMethod(non-empty-string $functionName) : RequiresFunction
Parameters
- $functionName : non-empty-string
Return values
RequiresFunctionrequiresMethodOnClass()
public
static requiresMethodOnClass(class-string $className, non-empty-string $methodName) : RequiresMethod
Parameters
- $className : class-string
- $methodName : non-empty-string
Return values
RequiresMethodrequiresMethodOnMethod()
public
static requiresMethodOnMethod(class-string $className, non-empty-string $methodName) : RequiresMethod
Parameters
- $className : class-string
- $methodName : non-empty-string
Return values
RequiresMethodrequiresOperatingSystemFamilyOnClass()
public
static requiresOperatingSystemFamilyOnClass(non-empty-string $operatingSystemFamily) : RequiresOperatingSystemFamily
Parameters
- $operatingSystemFamily : non-empty-string
Return values
RequiresOperatingSystemFamilyrequiresOperatingSystemFamilyOnMethod()
public
static requiresOperatingSystemFamilyOnMethod(non-empty-string $operatingSystemFamily) : RequiresOperatingSystemFamily
Parameters
- $operatingSystemFamily : non-empty-string
Return values
RequiresOperatingSystemFamilyrequiresOperatingSystemOnClass()
public
static requiresOperatingSystemOnClass(non-empty-string $operatingSystem) : RequiresOperatingSystem
Parameters
- $operatingSystem : non-empty-string
Return values
RequiresOperatingSystemrequiresOperatingSystemOnMethod()
public
static requiresOperatingSystemOnMethod(non-empty-string $operatingSystem) : RequiresOperatingSystem
Parameters
- $operatingSystem : non-empty-string
Return values
RequiresOperatingSystemrequiresPhpExtensionOnClass()
public
static requiresPhpExtensionOnClass(non-empty-string $extension, Requirement|null $versionRequirement) : RequiresPhpExtension
Parameters
- $extension : non-empty-string
- $versionRequirement : Requirement|null
Return values
RequiresPhpExtensionrequiresPhpExtensionOnMethod()
public
static requiresPhpExtensionOnMethod(non-empty-string $extension, Requirement|null $versionRequirement) : RequiresPhpExtension
Parameters
- $extension : non-empty-string
- $versionRequirement : Requirement|null
Return values
RequiresPhpExtensionrequiresPhpOnClass()
public
static requiresPhpOnClass(Requirement $versionRequirement) : RequiresPhp
Parameters
- $versionRequirement : Requirement
Return values
RequiresPhprequiresPhpOnMethod()
public
static requiresPhpOnMethod(Requirement $versionRequirement) : RequiresPhp
Parameters
- $versionRequirement : Requirement
Return values
RequiresPhprequiresPhpunitExtensionOnClass()
public
static requiresPhpunitExtensionOnClass(Extension> $extensionClass) : RequiresPhpunitExtension
Parameters
- $extensionClass : Extension>
Return values
RequiresPhpunitExtensionrequiresPhpunitExtensionOnMethod()
public
static requiresPhpunitExtensionOnMethod(Extension> $extensionClass) : RequiresPhpunitExtension
Parameters
- $extensionClass : Extension>
Return values
RequiresPhpunitExtensionrequiresPhpunitOnClass()
public
static requiresPhpunitOnClass(Requirement $versionRequirement) : RequiresPhpunit
Parameters
- $versionRequirement : Requirement
Return values
RequiresPhpunitrequiresPhpunitOnMethod()
public
static requiresPhpunitOnMethod(Requirement $versionRequirement) : RequiresPhpunit
Parameters
- $versionRequirement : Requirement
Return values
RequiresPhpunitrequiresSettingOnClass()
public
static requiresSettingOnClass(non-empty-string $setting, non-empty-string $value) : RequiresSetting
Parameters
- $setting : non-empty-string
- $value : non-empty-string
Return values
RequiresSettingrequiresSettingOnMethod()
public
static requiresSettingOnMethod(non-empty-string $setting, non-empty-string $value) : RequiresSetting
Parameters
- $setting : non-empty-string
- $value : non-empty-string
Return values
RequiresSettingrunClassInSeparateProcess()
public
static runClassInSeparateProcess() : RunClassInSeparateProcess
Return values
RunClassInSeparateProcessrunInSeparateProcess()
public
static runInSeparateProcess() : RunInSeparateProcess
Return values
RunInSeparateProcessrunTestsInSeparateProcesses()
public
static runTestsInSeparateProcesses() : RunTestsInSeparateProcesses
Return values
RunTestsInSeparateProcessessetting()
public
setting() : non-empty-string
Return values
non-empty-stringtest()
public
static test() : Test
Return values
TesttestDoxOnClass()
public
static testDoxOnClass(non-empty-string $text) : TestDox
Parameters
- $text : non-empty-string
Return values
TestDoxtestDoxOnMethod()
public
static testDoxOnMethod(non-empty-string $text) : TestDox
Parameters
- $text : non-empty-string
Return values
TestDoxtestWith()
public
static testWith(mixed $data[, non-empty-string|null $name = null ]) : TestWith
Parameters
- $data : mixed
- $name : non-empty-string|null = null
Return values
TestWithusesClass()
public
static usesClass(class-string $className) : UsesClass
Parameters
- $className : class-string
Return values
UsesClassusesDefaultClass()
public
static usesDefaultClass(class-string $className) : UsesDefaultClass
Parameters
- $className : class-string
Return values
UsesDefaultClassusesFunction()
public
static usesFunction(non-empty-string $functionName) : UsesFunction
Parameters
- $functionName : non-empty-string
Return values
UsesFunctionusesMethod()
public
static usesMethod(class-string $className, non-empty-string $methodName) : UsesMethod
Parameters
- $className : class-string
- $methodName : non-empty-string
Return values
UsesMethodusesOnClass()
public
static usesOnClass(non-empty-string $target) : Uses
Parameters
- $target : non-empty-string
Return values
UsesusesOnMethod()
public
static usesOnMethod(non-empty-string $target) : Uses
Parameters
- $target : non-empty-string
Return values
UsesusesTrait()
public
static usesTrait(trait-string $traitName) : UsesTrait
Parameters
- $traitName : trait-string
Return values
UsesTraitvalue()
public
value() : non-empty-string
Return values
non-empty-stringwithoutErrorHandler()
public
static withoutErrorHandler() : WithoutErrorHandler
Return values
WithoutErrorHandler__construct()
protected
__construct(0|1 $level, non-empty-string $setting, non-empty-string $value) : mixed
Parameters
- $level : 0|1
- $setting : non-empty-string
- $value : non-empty-string