final class DisableReturnValueGenerationForTestDoubles extends Metadata (View source)

Constants

private CLASS_LEVEL

private METHOD_LEVEL

Methods

static After
after(int $priority)

No description

from  Metadata
static AfterClass
afterClass(int $priority)

No description

from  Metadata
static BackupGlobals
backupGlobalsOnClass(bool $enabled)

No description

from  Metadata
static BackupGlobals
backupGlobalsOnMethod(bool $enabled)

No description

from  Metadata
backupStaticPropertiesOnClass(bool $enabled)

No description

from  Metadata
backupStaticPropertiesOnMethod(bool $enabled)

No description

from  Metadata
static Before
before(int $priority)

No description

from  Metadata
static BeforeClass
beforeClass(int $priority)

No description

from  Metadata
static CoversNamespace
coversNamespace(string $namespace)

No description

from  Metadata
static CoversClass
coversClass(string $className)

No description

from  Metadata
coversClassesThatExtendClass(string $className)

No description

from  Metadata
coversClassesThatImplementInterface(string $interfaceName)

No description

from  Metadata
static CoversTrait
coversTrait(string $traitName)

No description

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

No description

from  Metadata
static CoversFunction
coversFunction(string $functionName)

No description

from  Metadata
static CoversNothing
coversNothingOnClass()

No description

from  Metadata
static CoversNothing
coversNothingOnMethod()

No description

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

No description

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

No description

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

No description

from  Metadata
excludeGlobalVariableFromBackupOnClass(string $globalVariableName)

No description

from  Metadata
excludeGlobalVariableFromBackupOnMethod(string $globalVariableName)

No description

from  Metadata
excludeStaticPropertyFromBackupOnClass(string $className, string $propertyName)

No description

from  Metadata
excludeStaticPropertyFromBackupOnMethod(string $className, string $propertyName)

No description

from  Metadata
static Group
groupOnClass(string $groupName)

No description

from  Metadata
static Group
groupOnMethod(string $groupName)

No description

from  Metadata
ignoreDeprecationsOnClass(string|null $messagePattern = null)

No description

from  Metadata
ignoreDeprecationsOnMethod(string|null $messagePattern = null)

No description

from  Metadata
static PostCondition
postCondition(int $priority)

No description

from  Metadata
static PreCondition
preCondition(int $priority)

No description

from  Metadata
preserveGlobalStateOnClass(bool $enabled)

No description

from  Metadata
preserveGlobalStateOnMethod(bool $enabled)

No description

from  Metadata
requiresFunctionOnClass(string $functionName)

No description

from  Metadata
requiresFunctionOnMethod(string $functionName)

No description

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

No description

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

No description

from  Metadata
requiresOperatingSystemOnClass(string $operatingSystem)

No description

from  Metadata
requiresOperatingSystemOnMethod(string $operatingSystem)

No description

from  Metadata
requiresOperatingSystemFamilyOnClass(string $operatingSystemFamily)

No description

from  Metadata
requiresOperatingSystemFamilyOnMethod(string $operatingSystemFamily)

No description

from  Metadata
static RequiresPhp
requiresPhpOnClass(Requirement $versionRequirement)

No description

from  Metadata
static RequiresPhp
requiresPhpOnMethod(Requirement $versionRequirement)

No description

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

No description

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

No description

from  Metadata
static RequiresPhpunit
requiresPhpunitOnClass(Requirement $versionRequirement)

No description

from  Metadata
static RequiresPhpunit
requiresPhpunitOnMethod(Requirement $versionRequirement)

No description

from  Metadata
requiresPhpunitExtensionOnClass(string $extensionClass)

No description

from  Metadata
requiresPhpunitExtensionOnMethod(string $extensionClass)

No description

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

No description

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

No description

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

No description

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

No description

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

No description

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

No description

from  Metadata
runInSeparateProcess()

No description

from  Metadata
static Test
test()

No description

from  Metadata
static TestDox
testDoxOnClass(string $text)

No description

from  Metadata
static TestDox
testDoxOnMethod(string $text)

No description

from  Metadata
testDoxFormatter(string $className, string $methodName)

No description

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

No description

from  Metadata
static UsesNamespace
usesNamespace(string $namespace)

No description

from  Metadata
static UsesClass
usesClass(string $className)

No description

from  Metadata
usesClassesThatExtendClass(string $className)

No description

from  Metadata
usesClassesThatImplementInterface(string $interfaceName)

No description

from  Metadata
static UsesTrait
usesTrait(string $traitName)

No description

from  Metadata
static UsesFunction
usesFunction(string $functionName)

No description

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

No description

from  Metadata
withoutErrorHandler()

No description

from  Metadata
ignorePhpunitWarnings(string|null $messagePattern)

No description

from  Metadata
__construct(int $level)

No description

from  Metadata
bool
isClassLevel()

No description

from  Metadata
bool
isMethodLevel()

No description

from  Metadata
bool
isAfter()

No description

from  Metadata
bool
isAfterClass()

No description

from  Metadata
bool
from  Metadata
bool
isBackupGlobals()

No description

from  Metadata
bool
isBackupStaticProperties()

No description

from  Metadata
bool
isBeforeClass()

No description

from  Metadata
bool
isBefore()

No description

from  Metadata
bool
isCoversNamespace()

No description

from  Metadata
bool
isCoversClass()

No description

from  Metadata
bool
from  Metadata
bool
from  Metadata
bool
isCoversTrait()

No description

from  Metadata
bool
isCoversFunction()

No description

from  Metadata
bool
isCoversMethod()

No description

from  Metadata
bool
isCoversNothing()

No description

from  Metadata
bool
isDataProvider()

No description

from  Metadata
bool
isDependsOnClass()

No description

from  Metadata
bool
isDependsOnMethod()

No description

from  Metadata
bool
isDoesNotPerformAssertions()

No description

from  Metadata
bool
from  Metadata
bool
from  Metadata
bool
isGroup()

No description

from  Metadata
bool
isIgnoreDeprecations()

No description

from  Metadata
bool
isIgnorePhpunitDeprecations()

No description

from  Metadata
bool
isRunInSeparateProcess()

No description

from  Metadata
bool
from  Metadata
bool
isTest()

No description

from  Metadata
bool
isPreCondition()

No description

from  Metadata
bool
isPostCondition()

No description

from  Metadata
bool
isPreserveGlobalState()

No description

from  Metadata
bool
isRequiresMethod()

No description

from  Metadata
bool
isRequiresFunction()

No description

from  Metadata
bool
isRequiresOperatingSystem()

No description

from  Metadata
bool
from  Metadata
bool
isRequiresPhp()

No description

from  Metadata
bool
isRequiresPhpExtension()

No description

from  Metadata
bool
isRequiresPhpunit()

No description

from  Metadata
bool
isRequiresPhpunitExtension()

No description

from  Metadata
bool
from  Metadata
bool
isWithEnvironmentVariable()

No description

from  Metadata
bool
isRequiresSetting()

No description

from  Metadata
bool
isTestDox()

No description

from  Metadata
bool
isTestDoxFormatter()

No description

from  Metadata
bool
isTestWith()

No description

from  Metadata
bool
isUsesNamespace()

No description

from  Metadata
bool
isUsesClass()

No description

from  Metadata
bool
isUsesClassesThatExtendClass()

No description

from  Metadata
bool
from  Metadata
bool
isUsesTrait()

No description

from  Metadata
bool
isUsesFunction()

No description

from  Metadata
bool
isUsesMethod()

No description

from  Metadata
bool
isWithoutErrorHandler()

No description

from  Metadata
bool
isIgnorePhpunitWarnings()

No description

from  Metadata

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