UsesTrait
final class UsesTrait extends Metadata (View source)
Constants
| private CLASS_LEVEL |
|
| private METHOD_LEVEL |
|
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
static After
after(int $priority)
No description
static AfterClass
afterClass(int $priority)
No description
static AllowMockObjectsWithoutExpectations
allowMockObjectsWithoutExpectationsOnClass()
No description
static AllowMockObjectsWithoutExpectations
allowMockObjectsWithoutExpectationsOnMethod()
No description
static BackupGlobals
backupGlobalsOnClass(bool $enabled)
No description
static BackupGlobals
backupGlobalsOnMethod(bool $enabled)
No description
static BackupStaticProperties
backupStaticPropertiesOnClass(bool $enabled)
No description
static BackupStaticProperties
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
static CoversClassesThatExtendClass
coversClassesThatExtendClass(string $className)
No description
static CoversClassesThatImplementInterface
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
static DisableReturnValueGenerationForTestDoubles
disableReturnValueGenerationForTestDoubles()
No description
static DoesNotPerformAssertions
doesNotPerformAssertionsOnClass()
No description
static DoesNotPerformAssertions
doesNotPerformAssertionsOnMethod()
No description
static ExcludeGlobalVariableFromBackup
excludeGlobalVariableFromBackupOnClass(string $globalVariableName)
No description
static ExcludeGlobalVariableFromBackup
excludeGlobalVariableFromBackupOnMethod(string $globalVariableName)
No description
static ExcludeStaticPropertyFromBackup
excludeStaticPropertyFromBackupOnClass(string $className, string $propertyName)
No description
static ExcludeStaticPropertyFromBackup
excludeStaticPropertyFromBackupOnMethod(string $className, string $propertyName)
No description
static Group
groupOnClass(string $groupName)
No description
static Group
groupOnMethod(string $groupName)
No description
static IgnoreDeprecations
ignoreDeprecationsOnClass(string|null $messagePattern = null)
No description
static IgnoreDeprecations
ignoreDeprecationsOnMethod(string|null $messagePattern = null)
No description
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
static PreCondition
preCondition(int $priority)
No description
static PreserveGlobalState
preserveGlobalStateOnClass(bool $enabled)
No description
static PreserveGlobalState
preserveGlobalStateOnMethod(bool $enabled)
No description
static RequiresFunction
requiresFunctionOnClass(string $functionName)
No description
static RequiresFunction
requiresFunctionOnMethod(string $functionName)
No description
static RequiresMethod
requiresMethodOnClass(string $className, string $methodName)
No description
static RequiresMethod
requiresMethodOnMethod(string $className, string $methodName)
No description
static RequiresOperatingSystem
requiresOperatingSystemOnClass(string $operatingSystem)
No description
static RequiresOperatingSystem
requiresOperatingSystemOnMethod(string $operatingSystem)
No description
static RequiresOperatingSystemFamily
requiresOperatingSystemFamilyOnClass(string $operatingSystemFamily)
No description
static RequiresOperatingSystemFamily
requiresOperatingSystemFamilyOnMethod(string $operatingSystemFamily)
No description
static RequiresPhp
requiresPhpOnClass(Requirement $versionRequirement)
No description
static RequiresPhp
requiresPhpOnMethod(Requirement $versionRequirement)
No description
static RequiresPhpExtension
requiresPhpExtensionOnClass(string $extension, Requirement|null $versionRequirement)
No description
static RequiresPhpExtension
requiresPhpExtensionOnMethod(string $extension, Requirement|null $versionRequirement)
No description
static RequiresPhpunit
requiresPhpunitOnClass(Requirement $versionRequirement)
No description
static RequiresPhpunit
requiresPhpunitOnMethod(Requirement $versionRequirement)
No description
static RequiresPhpunitExtension
requiresPhpunitExtensionOnClass(string $extensionClass)
No description
static RequiresPhpunitExtension
requiresPhpunitExtensionOnMethod(string $extensionClass)
No description
static RequiresEnvironmentVariable
requiresEnvironmentVariableOnClass(string $environmentVariableName, null|string $value)
No description
static RequiresEnvironmentVariable
requiresEnvironmentVariableOnMethod(string $environmentVariableName, null|string $value)
No description
static WithEnvironmentVariable
withEnvironmentVariableOnClass(string $environmentVariableName, null|string $value)
No description
static WithEnvironmentVariable
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
static RunTestsInSeparateProcesses
runTestsInSeparateProcesses()
No description
static RunInSeparateProcess
runInSeparateProcess()
No description
static Test
test()
No description
static TestDox
testDoxOnClass(string $text)
No description
static TestDox
testDoxOnMethod(string $text)
No description
static TestDoxFormatter
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
static UsesClassesThatExtendClass
usesClassesThatExtendClass(string $className)
No description
static UsesClassesThatImplementInterface
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
static WithoutErrorHandler
withoutErrorHandler()
No description
static IgnorePhpunitWarnings
ignorePhpunitWarnings(string|null $messagePattern)
No description
protected
__construct(int $level, string $traitName)
No description
bool
isClassLevel()
No description
bool
isMethodLevel()
No description
bool
isAfter()
No description
bool
isAfterClass()
No description
bool
isAllowMockObjectsWithoutExpectations()
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
isCoversClassesThatExtendClass()
No description
bool
isCoversClassesThatImplementInterface()
No description
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
isDisableReturnValueGenerationForTestDoubles()
No description
bool
isDoesNotPerformAssertions()
No description
bool
isExcludeGlobalVariableFromBackup()
No description
bool
isExcludeStaticPropertyFromBackup()
No description
bool
isGroup()
No description
bool
isIgnoreDeprecations()
No description
bool
isIgnorePhpunitDeprecations()
| internal | This method is not covered by the backward compatibility promise for PHPUnit |
No description
bool
isRunInSeparateProcess()
No description
bool
isRunTestsInSeparateProcesses()
No description
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
isRequiresOperatingSystemFamily()
No description
bool
isRequiresPhp()
No description
bool
isRequiresPhpExtension()
No description
bool
isRequiresPhpunit()
No description
bool
isRequiresPhpunitExtension()
No description
bool
isRequiresEnvironmentVariable()
No description
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
isUsesClassesThatImplementInterface()
No description
bool
isUsesTrait()
No description
bool
isUsesFunction()
No description
bool
isUsesMethod()
No description
bool
isWithoutErrorHandler()
No description
bool
isIgnorePhpunitWarnings()
No description
string
traitName()
No description