abstract class Metadata (View source)

Constants

private CLASS_LEVEL

private METHOD_LEVEL

Methods

static After
after(int $priority)

No description

static AfterClass
afterClass(int $priority)

No description

static BackupGlobals
backupGlobalsOnClass(bool $enabled)

No description

static BackupGlobals
backupGlobalsOnMethod(bool $enabled)

No description

backupStaticPropertiesOnClass(bool $enabled)

No description

backupStaticPropertiesOnMethod(bool $enabled)

No description

static Before
before(int $priority)

No description

static BeforeClass
beforeClass(int $priority)

No description

static CoversNamespace
coversNamespace(string $namespace)

No description

static CoversClass
coversClass(string $className)

No description

coversClassesThatExtendClass(string $className)

No description

coversClassesThatImplementInterface(string $interfaceName)

No description

static CoversTrait
coversTrait(string $traitName)

No description

static CoversMethod
coversMethod(string $className, string $methodName)

No description

static CoversFunction
coversFunction(string $functionName)

No description

static CoversNothing
coversNothingOnClass()

No description

static CoversNothing
coversNothingOnMethod()

No description

static DataProvider
dataProvider(string $className, string $methodName, bool $validateArgumentCount)

No description

static DependsOnClass
dependsOnClass(string $className, bool $deepClone, bool $shallowClone)

No description

static DependsOnMethod
dependsOnMethod(string $className, string $methodName, bool $deepClone, bool $shallowClone)

No description

excludeGlobalVariableFromBackupOnClass(string $globalVariableName)

No description

excludeGlobalVariableFromBackupOnMethod(string $globalVariableName)

No description

excludeStaticPropertyFromBackupOnClass(string $className, string $propertyName)

No description

excludeStaticPropertyFromBackupOnMethod(string $className, string $propertyName)

No description

static Group
groupOnClass(string $groupName)

No description

static Group
groupOnMethod(string $groupName)

No description

ignoreDeprecationsOnClass(string|null $messagePattern = null)

No description

ignoreDeprecationsOnMethod(string|null $messagePattern = null)

No description

static PostCondition
postCondition(int $priority)

No description

static PreCondition
preCondition(int $priority)

No description

preserveGlobalStateOnClass(bool $enabled)

No description

preserveGlobalStateOnMethod(bool $enabled)

No description

requiresFunctionOnClass(string $functionName)

No description

requiresFunctionOnMethod(string $functionName)

No description

static RequiresMethod
requiresMethodOnClass(string $className, string $methodName)

No description

static RequiresMethod
requiresMethodOnMethod(string $className, string $methodName)

No description

requiresOperatingSystemOnClass(string $operatingSystem)

No description

requiresOperatingSystemOnMethod(string $operatingSystem)

No description

requiresOperatingSystemFamilyOnClass(string $operatingSystemFamily)

No description

requiresOperatingSystemFamilyOnMethod(string $operatingSystemFamily)

No description

static RequiresPhp
requiresPhpOnClass(Requirement $versionRequirement)

No description

static RequiresPhp
requiresPhpOnMethod(Requirement $versionRequirement)

No description

requiresPhpExtensionOnClass(string $extension, Requirement|null $versionRequirement)

No description

requiresPhpExtensionOnMethod(string $extension, Requirement|null $versionRequirement)

No description

static RequiresPhpunit
requiresPhpunitOnClass(Requirement $versionRequirement)

No description

static RequiresPhpunit
requiresPhpunitOnMethod(Requirement $versionRequirement)

No description

requiresPhpunitExtensionOnClass(string $extensionClass)

No description

requiresPhpunitExtensionOnMethod(string $extensionClass)

No description

requiresEnvironmentVariableOnClass(string $environmentVariableName, null|string $value)

No description

requiresEnvironmentVariableOnMethod(string $environmentVariableName, null|string $value)

No description

withEnvironmentVariableOnClass(string $environmentVariableName, null|string $value)

No description

withEnvironmentVariableOnMethod(string $environmentVariableName, null|string $value)

No description

static RequiresSetting
requiresSettingOnClass(string $setting, string $value)

No description

static RequiresSetting
requiresSettingOnMethod(string $setting, string $value)

No description

runInSeparateProcess()

No description

static Test
test()

No description

static TestDox
testDoxOnClass(string $text)

No description

static TestDox
testDoxOnMethod(string $text)

No description

testDoxFormatter(string $className, string $methodName)

No description

static TestWith
testWith(mixed $data, string|null $name = null)

No description

static UsesNamespace
usesNamespace(string $namespace)

No description

static UsesClass
usesClass(string $className)

No description

usesClassesThatExtendClass(string $className)

No description

usesClassesThatImplementInterface(string $interfaceName)

No description

static UsesTrait
usesTrait(string $traitName)

No description

static UsesFunction
usesFunction(string $functionName)

No description

static UsesMethod
usesMethod(string $className, string $methodName)

No description

withoutErrorHandler()

No description

ignorePhpunitWarnings(string|null $messagePattern)

No description

__construct(int $level)

No description

bool
isClassLevel()

No description

bool
isMethodLevel()

No description

bool
isAfter()

No description

bool
isAfterClass()

No description

bool
isBackupGlobals()

No description

bool
isBackupStaticProperties()

No description

bool
isBeforeClass()

No description

bool
isBefore()

No description

bool
isCoversNamespace()

No description

bool
isCoversClass()

No description

bool
bool
isCoversTrait()

No description

bool
isCoversFunction()

No description

bool
isCoversMethod()

No description

bool
isCoversNothing()

No description

bool
isDataProvider()

No description

bool
isDependsOnClass()

No description

bool
isDependsOnMethod()

No description

bool
isDoesNotPerformAssertions()

No description

bool
bool
bool
isGroup()

No description

bool
isIgnoreDeprecations()

No description

bool
isIgnorePhpunitDeprecations()

No description

bool
isRunInSeparateProcess()

No description

bool
bool
isTest()

No description

bool
isPreCondition()

No description

bool
isPostCondition()

No description

bool
isPreserveGlobalState()

No description

bool
isRequiresMethod()

No description

bool
isRequiresFunction()

No description

bool
isRequiresOperatingSystem()

No description

bool
bool
isRequiresPhp()

No description

bool
isRequiresPhpExtension()

No description

bool
isRequiresPhpunit()

No description

bool
isRequiresPhpunitExtension()

No description

bool
bool
isWithEnvironmentVariable()

No description

bool
isRequiresSetting()

No description

bool
isTestDox()

No description

bool
isTestDoxFormatter()

No description

bool
isTestWith()

No description

bool
isUsesNamespace()

No description

bool
isUsesClass()

No description

bool
isUsesClassesThatExtendClass()

No description

bool
bool
isUsesTrait()

No description

bool
isUsesFunction()

No description

bool
isUsesMethod()

No description

bool
isWithoutErrorHandler()

No description

bool
isIgnorePhpunitWarnings()

No description

Details

static After after(int $priority)

No description

Parameters

int $priority

Return Value

After

static AfterClass afterClass(int $priority)

No description

Parameters

int $priority

Return Value

AfterClass

static AllowMockObjectsWithoutExpectations allowMockObjectsWithoutExpectationsOnClass()

No description

static AllowMockObjectsWithoutExpectations allowMockObjectsWithoutExpectationsOnMethod()

No description

static BackupGlobals backupGlobalsOnClass(bool $enabled)

No description

Parameters

bool $enabled

Return Value

BackupGlobals

static BackupGlobals backupGlobalsOnMethod(bool $enabled)

No description

Parameters

bool $enabled

Return Value

BackupGlobals

static BackupStaticProperties backupStaticPropertiesOnClass(bool $enabled)

No description

Parameters

bool $enabled

Return Value

BackupStaticProperties

static BackupStaticProperties backupStaticPropertiesOnMethod(bool $enabled)

No description

Parameters

bool $enabled

Return Value

BackupStaticProperties

static Before before(int $priority)

No description

Parameters

int $priority

Return Value

Before

static BeforeClass beforeClass(int $priority)

No description

Parameters

int $priority

Return Value

BeforeClass

static CoversNamespace coversNamespace(string $namespace)

No description

Parameters

string $namespace

Return Value

CoversNamespace

static CoversClass coversClass(string $className)

No description

Parameters

string $className

Return Value

CoversClass

static CoversClassesThatExtendClass coversClassesThatExtendClass(string $className)

No description

Parameters

string $className

Return Value

CoversClassesThatExtendClass

static CoversClassesThatImplementInterface coversClassesThatImplementInterface(string $interfaceName)

No description

Parameters

string $interfaceName

Return Value

CoversClassesThatImplementInterface

static CoversTrait coversTrait(string $traitName)

No description

Parameters

string $traitName

Return Value

CoversTrait

static CoversMethod coversMethod(string $className, string $methodName)

No description

Parameters

string $className
string $methodName

Return Value

CoversMethod

static CoversFunction coversFunction(string $functionName)

No description

Parameters

string $functionName

Return Value

CoversFunction

static CoversNothing coversNothingOnClass()

No description

Return Value

CoversNothing

static CoversNothing coversNothingOnMethod()

No description

Return Value

CoversNothing

static DataProvider dataProvider(string $className, string $methodName, bool $validateArgumentCount)

No description

Parameters

string $className
string $methodName
bool $validateArgumentCount

Return Value

DataProvider

static DependsOnClass dependsOnClass(string $className, bool $deepClone, bool $shallowClone)

No description

Parameters

string $className
bool $deepClone
bool $shallowClone

Return Value

DependsOnClass

static DependsOnMethod dependsOnMethod(string $className, string $methodName, bool $deepClone, bool $shallowClone)

No description

Parameters

string $className
string $methodName
bool $deepClone
bool $shallowClone

Return Value

DependsOnMethod

static DisableReturnValueGenerationForTestDoubles disableReturnValueGenerationForTestDoubles()

No description

static DoesNotPerformAssertions doesNotPerformAssertionsOnClass()

No description

static DoesNotPerformAssertions doesNotPerformAssertionsOnMethod()

No description

static ExcludeGlobalVariableFromBackup excludeGlobalVariableFromBackupOnClass(string $globalVariableName)

No description

Parameters

string $globalVariableName

Return Value

ExcludeGlobalVariableFromBackup

static ExcludeGlobalVariableFromBackup excludeGlobalVariableFromBackupOnMethod(string $globalVariableName)

No description

Parameters

string $globalVariableName

Return Value

ExcludeGlobalVariableFromBackup

static ExcludeStaticPropertyFromBackup excludeStaticPropertyFromBackupOnClass(string $className, string $propertyName)

No description

Parameters

string $className
string $propertyName

Return Value

ExcludeStaticPropertyFromBackup

static ExcludeStaticPropertyFromBackup excludeStaticPropertyFromBackupOnMethod(string $className, string $propertyName)

No description

Parameters

string $className
string $propertyName

Return Value

ExcludeStaticPropertyFromBackup

static Group groupOnClass(string $groupName)

No description

Parameters

string $groupName

Return Value

Group

static Group groupOnMethod(string $groupName)

No description

Parameters

string $groupName

Return Value

Group

static IgnoreDeprecations ignoreDeprecationsOnClass(string|null $messagePattern = null)

No description

Parameters

string|null $messagePattern

Return Value

IgnoreDeprecations

static IgnoreDeprecations ignoreDeprecationsOnMethod(string|null $messagePattern = null)

No description

Parameters

string|null $messagePattern

Return Value

IgnoreDeprecations

static IgnorePhpunitDeprecations ignorePhpunitDeprecationsOnClass()

internal  This method is not covered by the backward compatibility promise for PHPUnit
 

No description

static IgnorePhpunitDeprecations ignorePhpunitDeprecationsOnMethod()

internal  This method is not covered by the backward compatibility promise for PHPUnit
 

No description

static PostCondition postCondition(int $priority)

No description

Parameters

int $priority

Return Value

PostCondition

static PreCondition preCondition(int $priority)

No description

Parameters

int $priority

Return Value

PreCondition

static PreserveGlobalState preserveGlobalStateOnClass(bool $enabled)

No description

Parameters

bool $enabled

Return Value

PreserveGlobalState

static PreserveGlobalState preserveGlobalStateOnMethod(bool $enabled)

No description

Parameters

bool $enabled

Return Value

PreserveGlobalState

static RequiresFunction requiresFunctionOnClass(string $functionName)

No description

Parameters

string $functionName

Return Value

RequiresFunction

static RequiresFunction requiresFunctionOnMethod(string $functionName)

No description

Parameters

string $functionName

Return Value

RequiresFunction

static RequiresMethod requiresMethodOnClass(string $className, string $methodName)

No description

Parameters

string $className
string $methodName

Return Value

RequiresMethod

static RequiresMethod requiresMethodOnMethod(string $className, string $methodName)

No description

Parameters

string $className
string $methodName

Return Value

RequiresMethod

static RequiresOperatingSystem requiresOperatingSystemOnClass(string $operatingSystem)

No description

Parameters

string $operatingSystem

Return Value

RequiresOperatingSystem

static RequiresOperatingSystem requiresOperatingSystemOnMethod(string $operatingSystem)

No description

Parameters

string $operatingSystem

Return Value

RequiresOperatingSystem

static RequiresOperatingSystemFamily requiresOperatingSystemFamilyOnClass(string $operatingSystemFamily)

No description

Parameters

string $operatingSystemFamily

Return Value

RequiresOperatingSystemFamily

static RequiresOperatingSystemFamily requiresOperatingSystemFamilyOnMethod(string $operatingSystemFamily)

No description

Parameters

string $operatingSystemFamily

Return Value

RequiresOperatingSystemFamily

static RequiresPhp requiresPhpOnClass(Requirement $versionRequirement)

No description

Parameters

Requirement $versionRequirement

Return Value

RequiresPhp

static RequiresPhp requiresPhpOnMethod(Requirement $versionRequirement)

No description

Parameters

Requirement $versionRequirement

Return Value

RequiresPhp

static RequiresPhpExtension requiresPhpExtensionOnClass(string $extension, Requirement|null $versionRequirement)

No description

Parameters

string $extension
Requirement|null $versionRequirement

Return Value

RequiresPhpExtension

static RequiresPhpExtension requiresPhpExtensionOnMethod(string $extension, Requirement|null $versionRequirement)

No description

Parameters

string $extension
Requirement|null $versionRequirement

Return Value

RequiresPhpExtension

static RequiresPhpunit requiresPhpunitOnClass(Requirement $versionRequirement)

No description

Parameters

Requirement $versionRequirement

Return Value

RequiresPhpunit

static RequiresPhpunit requiresPhpunitOnMethod(Requirement $versionRequirement)

No description

Parameters

Requirement $versionRequirement

Return Value

RequiresPhpunit

static RequiresPhpunitExtension requiresPhpunitExtensionOnClass(string $extensionClass)

No description

Parameters

string $extensionClass

Return Value

RequiresPhpunitExtension

static RequiresPhpunitExtension requiresPhpunitExtensionOnMethod(string $extensionClass)

No description

Parameters

string $extensionClass

Return Value

RequiresPhpunitExtension

static RequiresEnvironmentVariable requiresEnvironmentVariableOnClass(string $environmentVariableName, null|string $value)

No description

Parameters

string $environmentVariableName
null|string $value

Return Value

RequiresEnvironmentVariable

static RequiresEnvironmentVariable requiresEnvironmentVariableOnMethod(string $environmentVariableName, null|string $value)

No description

Parameters

string $environmentVariableName
null|string $value

Return Value

RequiresEnvironmentVariable

static WithEnvironmentVariable withEnvironmentVariableOnClass(string $environmentVariableName, null|string $value)

No description

Parameters

string $environmentVariableName
null|string $value

Return Value

WithEnvironmentVariable

static WithEnvironmentVariable withEnvironmentVariableOnMethod(string $environmentVariableName, null|string $value)

No description

Parameters

string $environmentVariableName
null|string $value

Return Value

WithEnvironmentVariable

static RequiresSetting requiresSettingOnClass(string $setting, string $value)

No description

Parameters

string $setting
string $value

Return Value

RequiresSetting

static RequiresSetting requiresSettingOnMethod(string $setting, string $value)

No description

Parameters

string $setting
string $value

Return Value

RequiresSetting

static RunTestsInSeparateProcesses runTestsInSeparateProcesses()

No description

static RunInSeparateProcess runInSeparateProcess()

No description

Return Value

RunInSeparateProcess

static Test test()

No description

Return Value

Test

static TestDox testDoxOnClass(string $text)

No description

Parameters

string $text

Return Value

TestDox

static TestDox testDoxOnMethod(string $text)

No description

Parameters

string $text

Return Value

TestDox

static TestDoxFormatter testDoxFormatter(string $className, string $methodName)

No description

Parameters

string $className
string $methodName

Return Value

TestDoxFormatter

static TestWith testWith(mixed $data, string|null $name = null)

No description

Parameters

mixed $data
string|null $name

Return Value

TestWith

static UsesNamespace usesNamespace(string $namespace)

No description

Parameters

string $namespace

Return Value

UsesNamespace

static UsesClass usesClass(string $className)

No description

Parameters

string $className

Return Value

UsesClass

static UsesClassesThatExtendClass usesClassesThatExtendClass(string $className)

No description

Parameters

string $className

Return Value

UsesClassesThatExtendClass

static UsesClassesThatImplementInterface usesClassesThatImplementInterface(string $interfaceName)

No description

Parameters

string $interfaceName

Return Value

UsesClassesThatImplementInterface

static UsesTrait usesTrait(string $traitName)

No description

Parameters

string $traitName

Return Value

UsesTrait

static UsesFunction usesFunction(string $functionName)

No description

Parameters

string $functionName

Return Value

UsesFunction

static UsesMethod usesMethod(string $className, string $methodName)

No description

Parameters

string $className
string $methodName

Return Value

UsesMethod

static WithoutErrorHandler withoutErrorHandler()

No description

Return Value

WithoutErrorHandler

static IgnorePhpunitWarnings ignorePhpunitWarnings(string|null $messagePattern)

No description

Parameters

string|null $messagePattern

Return Value

IgnorePhpunitWarnings

protected __construct(int $level)

No description

Parameters

int $level

bool isClassLevel()

No description

Return Value

bool

bool isMethodLevel()

No description

Return Value

bool

bool isAfter()

No description

Return Value

bool

bool isAfterClass()

No description

Return Value

bool

bool isAllowMockObjectsWithoutExpectations()

No description

Return Value

bool

bool isBackupGlobals()

No description

Return Value

bool

bool isBackupStaticProperties()

No description

Return Value

bool

bool isBeforeClass()

No description

Return Value

bool

bool isBefore()

No description

Return Value

bool

bool isCoversNamespace()

No description

Return Value

bool

bool isCoversClass()

No description

Return Value

bool

bool isCoversClassesThatExtendClass()

No description

Return Value

bool

bool isCoversClassesThatImplementInterface()

No description

Return Value

bool

bool isCoversTrait()

No description

Return Value

bool

bool isCoversFunction()

No description

Return Value

bool

bool isCoversMethod()

No description

Return Value

bool

bool isCoversNothing()

No description

Return Value

bool

bool isDataProvider()

No description

Return Value

bool

bool isDependsOnClass()

No description

Return Value

bool

bool isDependsOnMethod()

No description

Return Value

bool

bool isDisableReturnValueGenerationForTestDoubles()

No description

Return Value

bool

bool isDoesNotPerformAssertions()

No description

Return Value

bool

bool isExcludeGlobalVariableFromBackup()

No description

Return Value

bool

bool isExcludeStaticPropertyFromBackup()

No description

Return Value

bool

bool isGroup()

No description

Return Value

bool

bool isIgnoreDeprecations()

No description

Return Value

bool

bool isIgnorePhpunitDeprecations()

internal  This method is not covered by the backward compatibility promise for PHPUnit
 

No description

Return Value

bool

bool isRunInSeparateProcess()

No description

Return Value

bool

bool isRunTestsInSeparateProcesses()

No description

Return Value

bool

bool isTest()

No description

Return Value

bool

bool isPreCondition()

No description

Return Value

bool

bool isPostCondition()

No description

Return Value

bool

bool isPreserveGlobalState()

No description

Return Value

bool

bool isRequiresMethod()

No description

Return Value

bool

bool isRequiresFunction()

No description

Return Value

bool

bool isRequiresOperatingSystem()

No description

Return Value

bool

bool isRequiresOperatingSystemFamily()

No description

Return Value

bool

bool isRequiresPhp()

No description

Return Value

bool

bool isRequiresPhpExtension()

No description

Return Value

bool

bool isRequiresPhpunit()

No description

Return Value

bool

bool isRequiresPhpunitExtension()

No description

Return Value

bool

bool isRequiresEnvironmentVariable()

No description

Return Value

bool

bool isWithEnvironmentVariable()

No description

Return Value

bool

bool isRequiresSetting()

No description

Return Value

bool

bool isTestDox()

No description

Return Value

bool

bool isTestDoxFormatter()

No description

Return Value

bool

bool isTestWith()

No description

Return Value

bool

bool isUsesNamespace()

No description

Return Value

bool

bool isUsesClass()

No description

Return Value

bool

bool isUsesClassesThatExtendClass()

No description

Return Value

bool

bool isUsesClassesThatImplementInterface()

No description

Return Value

bool

bool isUsesTrait()

No description

Return Value

bool

bool isUsesFunction()

No description

Return Value

bool

bool isUsesMethod()

No description

Return Value

bool

bool isWithoutErrorHandler()

No description

Return Value

bool

bool isIgnorePhpunitWarnings()

No description

Return Value

bool