Documentation

Configuration
in package

FinalYes
Tags
psalm-immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Constants

COLOR_ALWAYS  = 'always'
COLOR_AUTO  = 'auto'
COLOR_DEFAULT  = self::COLOR_NEVER
COLOR_NEVER  = 'never'

Properties

$backupGlobals  : bool
$backupStaticProperties  : bool
$beStrictAboutChangesToGlobalState  : bool
$bootstrap  : string|null
$cacheDirectory  : string|null
$cacheResult  : bool
$cliArguments  : array<string|int, mixed>
$colors  : bool
$columns  : int
$configurationFile  : string|null
$controlGarbageCollector  : bool
$coverageCacheDirectory  : string|null
$coverageClover  : string|null
$coverageCobertura  : string|null
$coverageCrap4j  : string|null
$coverageCrap4jThreshold  : int
$coverageHtml  : string|null
$coverageHtmlColorDanger  : string
$coverageHtmlColorSuccessHigh  : string
$coverageHtmlColorSuccessLow  : string
$coverageHtmlColorSuccessMedium  : string
$coverageHtmlColorWarning  : string
$coverageHtmlCustomCssFile  : string|null
$coverageHtmlHighLowerBound  : int
$coverageHtmlLowUpperBound  : int
$coveragePhp  : string|null
$coverageText  : string|null
$coverageTextShowOnlySummary  : bool
$coverageTextShowUncoveredFiles  : bool
$coverageXml  : string|null
$debug  : bool
$defaultTestSuite  : string|null
$defaultTimeLimit  : int
$disableCodeCoverageIgnore  : bool
$disallowTestOutput  : bool
$displayDetailsOnIncompleteTests  : bool
$displayDetailsOnSkippedTests  : bool
$displayDetailsOnTestsThatTriggerDeprecations  : bool
$displayDetailsOnTestsThatTriggerErrors  : bool
$displayDetailsOnTestsThatTriggerNotices  : bool
$displayDetailsOnTestsThatTriggerWarnings  : bool
$enforceTimeLimit  : bool
$excludeGroups  : array<string|int, mixed>|null
$excludeTestSuite  : string
$executionOrder  : int
$executionOrderDefects  : int
$extensionBootstrappers  : array<string|int, mixed>
$failOnDeprecation  : bool
$failOnEmptyTestSuite  : bool
$failOnIncomplete  : bool
$failOnNotice  : bool
$failOnRisky  : bool
$failOnSkipped  : bool
$failOnWarning  : bool
$filter  : string|null
$generateBaseline  : string|null
$groups  : array<string|int, mixed>|null
$ignoreDeprecatedCodeUnitsFromCodeCoverage  : bool
$includeTestSuite  : string
$includeUncoveredFiles  : bool
$logEventsText  : string|null
$logEventsVerboseText  : string|null
$logfileJunit  : string|null
$logfileTeamcity  : string|null
$logfileTestdoxHtml  : string|null
$logfileTestdoxText  : string|null
$noExtensions  : bool
$noOutput  : bool
$noProgress  : bool
$noResults  : bool
$numberOfTestsBeforeGarbageCollection  : int
$outputToStandardErrorStream  : bool
$pathCoverage  : bool
$pharExtensionDirectory  : string|null
$php  : Php
$processIsolation  : bool
$randomOrderSeed  : int
$registerMockObjectsFromTestArgumentsRecursively  : bool
$reportUselessTests  : bool
$requireCoverageMetadata  : bool
$resolveDependencies  : bool
$reverseDefectList  : bool
$source  : Source
$stopOnDefect  : bool
$stopOnDeprecation  : bool
$stopOnError  : bool
$stopOnFailure  : bool
$stopOnIncomplete  : bool
$stopOnNotice  : bool
$stopOnRisky  : bool
$stopOnSkipped  : bool
$stopOnWarning  : bool
$strictCoverage  : bool
$teamCityOutput  : bool
$testDoxOutput  : bool
$testResultCacheFile  : string
$testsCovering  : array<string|int, mixed>|null
$testSuffixes  : array<string|int, mixed>
$testSuite  : TestSuiteCollection
$testsUsing  : array<string|int, mixed>|null
$timeoutForLargeTests  : int
$timeoutForMediumTests  : int
$timeoutForSmallTests  : int

Methods

__construct()  : mixed
backupGlobals()  : bool
backupStaticProperties()  : bool
beStrictAboutChangesToGlobalState()  : bool
bootstrap()  : string
cacheDirectory()  : string
cacheResult()  : bool
cliArgument()  : non-empty-string
cliArguments()  : array<string|int, mixed>
colors()  : bool
columns()  : int
configurationFile()  : string
controlGarbageCollector()  : bool
coverageCacheDirectory()  : string
coverageClover()  : string
coverageCobertura()  : string
coverageCrap4j()  : string
coverageCrap4jThreshold()  : int
coverageExcludeDirectories()  : FilterDirectoryCollection
coverageExcludeFiles()  : FileCollection
coverageHtml()  : string
coverageHtmlColorDanger()  : string
coverageHtmlColorSuccessHigh()  : string
coverageHtmlColorSuccessLow()  : string
coverageHtmlColorSuccessMedium()  : string
coverageHtmlColorWarning()  : string
coverageHtmlCustomCssFile()  : string
coverageHtmlHighLowerBound()  : int
coverageHtmlLowUpperBound()  : int
coverageIncludeDirectories()  : FilterDirectoryCollection
coverageIncludeFiles()  : FileCollection
coveragePhp()  : string
coverageText()  : string
coverageTextShowOnlySummary()  : bool
coverageTextShowUncoveredFiles()  : bool
coverageXml()  : string
debug()  : bool
defaultTestSuite()  : string
defaultTimeLimit()  : int
disableCodeCoverageIgnore()  : bool
disallowTestOutput()  : bool
displayDetailsOnIncompleteTests()  : bool
displayDetailsOnSkippedTests()  : bool
displayDetailsOnTestsThatTriggerDeprecations()  : bool
displayDetailsOnTestsThatTriggerErrors()  : bool
displayDetailsOnTestsThatTriggerNotices()  : bool
displayDetailsOnTestsThatTriggerWarnings()  : bool
enforceTimeLimit()  : bool
excludeGroups()  : array<string|int, mixed>
excludeTestSuite()  : string
executionOrder()  : int
executionOrderDefects()  : int
extensionBootstrappers()  : array<string|int, mixed>
failOnDeprecation()  : bool
failOnEmptyTestSuite()  : bool
failOnIncomplete()  : bool
failOnNotice()  : bool
failOnRisky()  : bool
failOnSkipped()  : bool
failOnWarning()  : bool
filter()  : string
generateBaseline()  : string
groups()  : array<string|int, mixed>
hasBootstrap()  : bool
hasCacheDirectory()  : bool
hasCliArgument()  : bool
hasCliArguments()  : bool
hasConfigurationFile()  : bool
hasCoverageCacheDirectory()  : bool
hasCoverageClover()  : bool
hasCoverageCobertura()  : bool
hasCoverageCrap4j()  : bool
hasCoverageHtml()  : bool
hasCoverageHtmlCustomCssFile()  : bool
hasCoveragePhp()  : bool
hasCoverageReport()  : bool
hasCoverageText()  : bool
hasCoverageXml()  : bool
hasDefaultTestSuite()  : bool
hasExcludeGroups()  : bool
hasFilter()  : bool
hasGenerateBaseline()  : bool
hasGroups()  : bool
hasLogEventsText()  : bool
hasLogEventsVerboseText()  : bool
hasLogfileJunit()  : bool
hasLogfileTeamcity()  : bool
hasLogfileTestdoxHtml()  : bool
hasLogfileTestdoxText()  : bool
hasNonEmptyListOfFilesToBeIncludedInCodeCoverageReport()  : bool
hasPharExtensionDirectory()  : bool
hasTestsCovering()  : bool
hasTestsUsing()  : bool
ignoreDeprecatedCodeUnitsFromCodeCoverage()  : bool
includeTestSuite()  : string
includeUncoveredFiles()  : bool
loadPharExtensions()  : bool
logEventsText()  : string
logEventsVerboseText()  : string
logfileJunit()  : string
logfileTeamcity()  : string
logfileTestdoxHtml()  : string
logfileTestdoxText()  : string
noExtensions()  : bool
noOutput()  : bool
noProgress()  : bool
noResults()  : bool
numberOfTestsBeforeGarbageCollection()  : int
outputIsTeamCity()  : bool
outputIsTestDox()  : bool
outputToStandardErrorStream()  : bool
pathCoverage()  : bool
pharExtensionDirectory()  : string
php()  : Php
processIsolation()  : bool
randomOrderSeed()  : int
registerMockObjectsFromTestArgumentsRecursively()  : bool
reportUselessTests()  : bool
requireCoverageMetadata()  : bool
resolveDependencies()  : bool
restrictDeprecations()  : bool
restrictNotices()  : bool
restrictWarnings()  : bool
reverseDefectList()  : bool
source()  : Source
stopOnDefect()  : bool
stopOnDeprecation()  : bool
stopOnError()  : bool
stopOnFailure()  : bool
stopOnIncomplete()  : bool
stopOnNotice()  : bool
stopOnRisky()  : bool
stopOnSkipped()  : bool
stopOnWarning()  : bool
strictCoverage()  : bool
testResultCacheFile()  : string
testsCovering()  : array<string|int, mixed>
testSuffixes()  : array<string|int, mixed>
testSuite()  : TestSuiteCollection
testsUsing()  : array<string|int, mixed>
timeoutForLargeTests()  : int
timeoutForMediumTests()  : int
timeoutForSmallTests()  : int

Constants

COLOR_DEFAULT

public mixed COLOR_DEFAULT = self::COLOR_NEVER

Properties

$backupStaticProperties read-only

private bool $backupStaticProperties

$beStrictAboutChangesToGlobalState read-only

private bool $beStrictAboutChangesToGlobalState

$cacheDirectory read-only

private string|null $cacheDirectory

$cliArguments read-only

private array<string|int, mixed> $cliArguments
Tags
psalm-var

list

$configurationFile read-only

private string|null $configurationFile

$controlGarbageCollector read-only

private bool $controlGarbageCollector

$coverageCacheDirectory read-only

private string|null $coverageCacheDirectory

$coverageClover read-only

private string|null $coverageClover

$coverageCobertura read-only

private string|null $coverageCobertura

$coverageCrap4j read-only

private string|null $coverageCrap4j

$coverageCrap4jThreshold read-only

private int $coverageCrap4jThreshold

$coverageHtmlColorDanger read-only

private string $coverageHtmlColorDanger

$coverageHtmlColorSuccessHigh read-only

private string $coverageHtmlColorSuccessHigh

$coverageHtmlColorSuccessLow read-only

private string $coverageHtmlColorSuccessLow

$coverageHtmlColorSuccessMedium read-only

private string $coverageHtmlColorSuccessMedium

$coverageHtmlColorWarning read-only

private string $coverageHtmlColorWarning

$coverageHtmlCustomCssFile read-only

private string|null $coverageHtmlCustomCssFile

$coverageHtmlHighLowerBound read-only

private int $coverageHtmlHighLowerBound

$coverageHtmlLowUpperBound read-only

private int $coverageHtmlLowUpperBound

$coverageTextShowOnlySummary read-only

private bool $coverageTextShowOnlySummary

$coverageTextShowUncoveredFiles read-only

private bool $coverageTextShowUncoveredFiles

$defaultTestSuite read-only

private string|null $defaultTestSuite

$disableCodeCoverageIgnore read-only

private bool $disableCodeCoverageIgnore

$disallowTestOutput read-only

private bool $disallowTestOutput

$displayDetailsOnIncompleteTests read-only

private bool $displayDetailsOnIncompleteTests

$displayDetailsOnSkippedTests read-only

private bool $displayDetailsOnSkippedTests

$displayDetailsOnTestsThatTriggerDeprecations read-only

private bool $displayDetailsOnTestsThatTriggerDeprecations

$displayDetailsOnTestsThatTriggerErrors read-only

private bool $displayDetailsOnTestsThatTriggerErrors

$displayDetailsOnTestsThatTriggerNotices read-only

private bool $displayDetailsOnTestsThatTriggerNotices

$displayDetailsOnTestsThatTriggerWarnings read-only

private bool $displayDetailsOnTestsThatTriggerWarnings

$excludeGroups read-only

private array<string|int, mixed>|null $excludeGroups

$excludeTestSuite read-only

private string $excludeTestSuite

$executionOrderDefects read-only

private int $executionOrderDefects

$extensionBootstrappers read-only

private array<string|int, mixed> $extensionBootstrappers
Tags
psalm-var

list<array{className: class-string, parameters: array<string, string>}>

$failOnDeprecation read-only

private bool $failOnDeprecation

$failOnEmptyTestSuite read-only

private bool $failOnEmptyTestSuite

$generateBaseline read-only

private string|null $generateBaseline

$groups read-only

private array<string|int, mixed>|null $groups

$ignoreDeprecatedCodeUnitsFromCodeCoverage read-only

private bool $ignoreDeprecatedCodeUnitsFromCodeCoverage

$includeTestSuite read-only

private string $includeTestSuite

$includeUncoveredFiles read-only

private bool $includeUncoveredFiles

$logEventsText read-only

private string|null $logEventsText

$logEventsVerboseText read-only

private string|null $logEventsVerboseText

$logfileTeamcity read-only

private string|null $logfileTeamcity

$logfileTestdoxHtml read-only

private string|null $logfileTestdoxHtml

$logfileTestdoxText read-only

private string|null $logfileTestdoxText

$numberOfTestsBeforeGarbageCollection read-only

private int $numberOfTestsBeforeGarbageCollection

$outputToStandardErrorStream read-only

private bool $outputToStandardErrorStream

$pharExtensionDirectory read-only

private string|null $pharExtensionDirectory
Tags
psalm-var

?non-empty-string

$registerMockObjectsFromTestArgumentsRecursively read-only

private bool $registerMockObjectsFromTestArgumentsRecursively

$reportUselessTests read-only

private bool $reportUselessTests

$requireCoverageMetadata read-only

private bool $requireCoverageMetadata

$resolveDependencies read-only

private bool $resolveDependencies

$reverseDefectList read-only

private bool $reverseDefectList

$stopOnDeprecation read-only

private bool $stopOnDeprecation

$testResultCacheFile read-only

private string $testResultCacheFile

$testsCovering read-only

private array<string|int, mixed>|null $testsCovering

$testSuffixes read-only

private array<string|int, mixed> $testSuffixes
Tags
psalm-var

non-empty-list

$testsUsing read-only

private array<string|int, mixed>|null $testsUsing

$timeoutForLargeTests read-only

private int $timeoutForLargeTests

$timeoutForMediumTests read-only

private int $timeoutForMediumTests

$timeoutForSmallTests read-only

private int $timeoutForSmallTests

Methods

__construct()

public __construct(array<string|int, mixed> $cliArguments, string|null $configurationFile, string|null $bootstrap, bool $cacheResult, string|null $cacheDirectory, string|null $coverageCacheDirectory, Source $source, string $testResultCacheFile, string|null $coverageClover, string|null $coverageCobertura, string|null $coverageCrap4j, int $coverageCrap4jThreshold, string|null $coverageHtml, int $coverageHtmlLowUpperBound, int $coverageHtmlHighLowerBound, string $coverageHtmlColorSuccessLow, string $coverageHtmlColorSuccessMedium, string $coverageHtmlColorSuccessHigh, string $coverageHtmlColorWarning, string $coverageHtmlColorDanger, string|null $coverageHtmlCustomCssFile, string|null $coveragePhp, string|null $coverageText, bool $coverageTextShowUncoveredFiles, bool $coverageTextShowOnlySummary, string|null $coverageXml, bool $pathCoverage, bool $ignoreDeprecatedCodeUnitsFromCodeCoverage, bool $disableCodeCoverageIgnore, bool $failOnDeprecation, bool $failOnEmptyTestSuite, bool $failOnIncomplete, bool $failOnNotice, bool $failOnRisky, bool $failOnSkipped, bool $failOnWarning, bool $stopOnDefect, bool $stopOnDeprecation, bool $stopOnError, bool $stopOnFailure, bool $stopOnIncomplete, bool $stopOnNotice, bool $stopOnRisky, bool $stopOnSkipped, bool $stopOnWarning, bool $outputToStandardErrorStream, int|string $columns, bool $noExtensions, string|null $pharExtensionDirectory, array<string|int, mixed> $extensionBootstrappers, bool $backupGlobals, bool $backupStaticProperties, bool $beStrictAboutChangesToGlobalState, bool $colors, bool $processIsolation, bool $enforceTimeLimit, int $defaultTimeLimit, int $timeoutForSmallTests, int $timeoutForMediumTests, int $timeoutForLargeTests, bool $reportUselessTests, bool $strictCoverage, bool $disallowTestOutput, bool $displayDetailsOnIncompleteTests, bool $displayDetailsOnSkippedTests, bool $displayDetailsOnTestsThatTriggerDeprecations, bool $displayDetailsOnTestsThatTriggerErrors, bool $displayDetailsOnTestsThatTriggerNotices, bool $displayDetailsOnTestsThatTriggerWarnings, bool $reverseDefectList, bool $requireCoverageMetadata, bool $registerMockObjectsFromTestArgumentsRecursively, bool $noProgress, bool $noResults, bool $noOutput, int $executionOrder, int $executionOrderDefects, bool $resolveDependencies, string|null $logfileTeamcity, string|null $logfileJunit, string|null $logfileTestdoxHtml, string|null $logfileTestdoxText, string|null $logEventsText, string|null $logEventsVerboseText, bool $teamCityOutput, bool $testDoxOutput, array<string|int, mixed>|null $testsCovering, array<string|int, mixed>|null $testsUsing, string|null $filter, array<string|int, mixed>|null $groups, array<string|int, mixed>|null $excludeGroups, int $randomOrderSeed, bool $includeUncoveredFiles, TestSuiteCollection $testSuite, string $includeTestSuite, string $excludeTestSuite, string|null $defaultTestSuite, array<string|int, mixed> $testSuffixes, Php $php, bool $controlGarbageCollector, int $numberOfTestsBeforeGarbageCollection, string|null $generateBaseline, bool $debug) : mixed
Parameters
$cliArguments : array<string|int, mixed>
$configurationFile : string|null
$bootstrap : string|null
$cacheResult : bool
$cacheDirectory : string|null
$coverageCacheDirectory : string|null
$source : Source
$testResultCacheFile : string
$coverageClover : string|null
$coverageCobertura : string|null
$coverageCrap4j : string|null
$coverageCrap4jThreshold : int
$coverageHtml : string|null
$coverageHtmlLowUpperBound : int
$coverageHtmlHighLowerBound : int
$coverageHtmlColorSuccessLow : string
$coverageHtmlColorSuccessMedium : string
$coverageHtmlColorSuccessHigh : string
$coverageHtmlColorWarning : string
$coverageHtmlColorDanger : string
$coverageHtmlCustomCssFile : string|null
$coveragePhp : string|null
$coverageText : string|null
$coverageTextShowUncoveredFiles : bool
$coverageTextShowOnlySummary : bool
$coverageXml : string|null
$pathCoverage : bool
$ignoreDeprecatedCodeUnitsFromCodeCoverage : bool
$disableCodeCoverageIgnore : bool
$failOnDeprecation : bool
$failOnEmptyTestSuite : bool
$failOnIncomplete : bool
$failOnNotice : bool
$failOnRisky : bool
$failOnSkipped : bool
$failOnWarning : bool
$stopOnDefect : bool
$stopOnDeprecation : bool
$stopOnError : bool
$stopOnFailure : bool
$stopOnIncomplete : bool
$stopOnNotice : bool
$stopOnRisky : bool
$stopOnSkipped : bool
$stopOnWarning : bool
$outputToStandardErrorStream : bool
$columns : int|string
$noExtensions : bool
$pharExtensionDirectory : string|null
$extensionBootstrappers : array<string|int, mixed>
$backupGlobals : bool
$backupStaticProperties : bool
$beStrictAboutChangesToGlobalState : bool
$colors : bool
$processIsolation : bool
$enforceTimeLimit : bool
$defaultTimeLimit : int
$timeoutForSmallTests : int
$timeoutForMediumTests : int
$timeoutForLargeTests : int
$reportUselessTests : bool
$strictCoverage : bool
$disallowTestOutput : bool
$displayDetailsOnIncompleteTests : bool
$displayDetailsOnSkippedTests : bool
$displayDetailsOnTestsThatTriggerDeprecations : bool
$displayDetailsOnTestsThatTriggerErrors : bool
$displayDetailsOnTestsThatTriggerNotices : bool
$displayDetailsOnTestsThatTriggerWarnings : bool
$reverseDefectList : bool
$requireCoverageMetadata : bool
$registerMockObjectsFromTestArgumentsRecursively : bool
$noProgress : bool
$noResults : bool
$noOutput : bool
$executionOrder : int
$executionOrderDefects : int
$resolveDependencies : bool
$logfileTeamcity : string|null
$logfileJunit : string|null
$logfileTestdoxHtml : string|null
$logfileTestdoxText : string|null
$logEventsText : string|null
$logEventsVerboseText : string|null
$teamCityOutput : bool
$testDoxOutput : bool
$testsCovering : array<string|int, mixed>|null
$testsUsing : array<string|int, mixed>|null
$filter : string|null
$groups : array<string|int, mixed>|null
$excludeGroups : array<string|int, mixed>|null
$randomOrderSeed : int
$includeUncoveredFiles : bool
$testSuite : TestSuiteCollection
$includeTestSuite : string
$excludeTestSuite : string
$defaultTestSuite : string|null
$testSuffixes : array<string|int, mixed>
$php : Php
$controlGarbageCollector : bool
$numberOfTestsBeforeGarbageCollection : int
$generateBaseline : string|null
$debug : bool
Tags
psalm-param

list $cliArguments

psalm-param

?non-empty-string $pharExtensionDirectory

psalm-param

non-empty-list $testSuffixes

psalm-param

list<array{className: class-string, parameters: array<string, string>}> $extensionBootstrappers

backupGlobals()

public backupGlobals() : bool
Return values
bool

backupStaticProperties()

public backupStaticProperties() : bool
Return values
bool

beStrictAboutChangesToGlobalState()

public beStrictAboutChangesToGlobalState() : bool
Return values
bool

bootstrap()

public bootstrap() : string
Tags
throws
NoBootstrapException
Return values
string

cacheDirectory()

public cacheDirectory() : string
Tags
throws
NoCacheDirectoryException
Return values
string

cacheResult()

public cacheResult() : bool
Return values
bool

cliArgument()

public cliArgument() : non-empty-string
Tags
throws
NoCliArgumentException
deprecated

Use cliArguments()[0] instead

Return values
non-empty-string

cliArguments()

public cliArguments() : array<string|int, mixed>
Tags
psalm-return

list

Return values
array<string|int, mixed>

configurationFile()

public configurationFile() : string
Tags
throws
NoConfigurationFileException
Return values
string

controlGarbageCollector()

public controlGarbageCollector() : bool
Return values
bool

coverageCacheDirectory()

public coverageCacheDirectory() : string
Tags
throws
NoCoverageCacheDirectoryException
Return values
string

coverageClover()

public coverageClover() : string
Tags
throws
CodeCoverageReportNotConfiguredException
Return values
string

coverageCobertura()

public coverageCobertura() : string
Tags
throws
CodeCoverageReportNotConfiguredException
Return values
string

coverageCrap4j()

public coverageCrap4j() : string
Tags
throws
CodeCoverageReportNotConfiguredException
Return values
string

coverageCrap4jThreshold()

public coverageCrap4jThreshold() : int
Return values
int

coverageHtml()

public coverageHtml() : string
Tags
throws
CodeCoverageReportNotConfiguredException
Return values
string

coverageHtmlColorDanger()

public coverageHtmlColorDanger() : string
Return values
string

coverageHtmlColorSuccessHigh()

public coverageHtmlColorSuccessHigh() : string
Return values
string

coverageHtmlColorSuccessLow()

public coverageHtmlColorSuccessLow() : string
Return values
string

coverageHtmlColorSuccessMedium()

public coverageHtmlColorSuccessMedium() : string
Return values
string

coverageHtmlColorWarning()

public coverageHtmlColorWarning() : string
Return values
string

coverageHtmlCustomCssFile()

public coverageHtmlCustomCssFile() : string
Tags
throws
NoCustomCssFileException
Return values
string

coverageHtmlHighLowerBound()

public coverageHtmlHighLowerBound() : int
Return values
int

coverageHtmlLowUpperBound()

public coverageHtmlLowUpperBound() : int
Return values
int

coveragePhp()

public coveragePhp() : string
Tags
throws
CodeCoverageReportNotConfiguredException
Return values
string

coverageText()

public coverageText() : string
Tags
throws
CodeCoverageReportNotConfiguredException
Return values
string

coverageTextShowOnlySummary()

public coverageTextShowOnlySummary() : bool
Return values
bool

coverageTextShowUncoveredFiles()

public coverageTextShowUncoveredFiles() : bool
Return values
bool

coverageXml()

public coverageXml() : string
Tags
throws
CodeCoverageReportNotConfiguredException
Return values
string

defaultTestSuite()

public defaultTestSuite() : string
Tags
throws
NoDefaultTestSuiteException
Return values
string

defaultTimeLimit()

public defaultTimeLimit() : int
Return values
int

disableCodeCoverageIgnore()

public disableCodeCoverageIgnore() : bool
Return values
bool

disallowTestOutput()

public disallowTestOutput() : bool
Return values
bool

displayDetailsOnIncompleteTests()

public displayDetailsOnIncompleteTests() : bool
Return values
bool

displayDetailsOnSkippedTests()

public displayDetailsOnSkippedTests() : bool
Return values
bool

displayDetailsOnTestsThatTriggerDeprecations()

public displayDetailsOnTestsThatTriggerDeprecations() : bool
Return values
bool

displayDetailsOnTestsThatTriggerErrors()

public displayDetailsOnTestsThatTriggerErrors() : bool
Return values
bool

displayDetailsOnTestsThatTriggerNotices()

public displayDetailsOnTestsThatTriggerNotices() : bool
Return values
bool

displayDetailsOnTestsThatTriggerWarnings()

public displayDetailsOnTestsThatTriggerWarnings() : bool
Return values
bool

enforceTimeLimit()

public enforceTimeLimit() : bool
Return values
bool

excludeGroups()

public excludeGroups() : array<string|int, mixed>
Tags
throws
FilterNotConfiguredException
Return values
array<string|int, mixed>

excludeTestSuite()

public excludeTestSuite() : string
Return values
string

executionOrder()

public executionOrder() : int
Return values
int

executionOrderDefects()

public executionOrderDefects() : int
Return values
int

extensionBootstrappers()

public extensionBootstrappers() : array<string|int, mixed>
Tags
psalm-return

list<array{className: class-string, parameters: array<string, string>}>

Return values
array<string|int, mixed>

failOnDeprecation()

public failOnDeprecation() : bool
Return values
bool

failOnEmptyTestSuite()

public failOnEmptyTestSuite() : bool
Return values
bool

failOnIncomplete()

public failOnIncomplete() : bool
Return values
bool

failOnNotice()

public failOnNotice() : bool
Return values
bool

failOnRisky()

public failOnRisky() : bool
Return values
bool

failOnSkipped()

public failOnSkipped() : bool
Return values
bool

failOnWarning()

public failOnWarning() : bool
Return values
bool

filter()

public filter() : string
Tags
throws
FilterNotConfiguredException
Return values
string

generateBaseline()

public generateBaseline() : string
Tags
throws
NoBaselineException
Return values
string

groups()

public groups() : array<string|int, mixed>
Tags
throws
FilterNotConfiguredException
Return values
array<string|int, mixed>

hasBootstrap()

public hasBootstrap() : bool
Tags
psalm-assert-if-true

!null $this->bootstrap

Return values
bool

hasCacheDirectory()

public hasCacheDirectory() : bool
Tags
psalm-assert-if-true

!null $this->cacheDirectory

Return values
bool

hasCliArgument()

public hasCliArgument() : bool
Tags
psalm-assert-if-true

!empty $this->cliArguments

deprecated

Use hasCliArguments() instead

Return values
bool

hasCliArguments()

public hasCliArguments() : bool
Tags
psalm-assert-if-true

!empty $this->cliArguments

Return values
bool

hasConfigurationFile()

public hasConfigurationFile() : bool
Tags
psalm-assert-if-true

!null $this->configurationFile

Return values
bool

hasCoverageCacheDirectory()

public hasCoverageCacheDirectory() : bool
Tags
psalm-assert-if-true

!null $this->coverageCacheDirectory

Return values
bool

hasCoverageClover()

public hasCoverageClover() : bool
Tags
psalm-assert-if-true

!null $this->coverageClover

Return values
bool

hasCoverageCobertura()

public hasCoverageCobertura() : bool
Tags
psalm-assert-if-true

!null $this->coverageCobertura

Return values
bool

hasCoverageCrap4j()

public hasCoverageCrap4j() : bool
Tags
psalm-assert-if-true

!null $this->coverageCrap4j

Return values
bool

hasCoverageHtml()

public hasCoverageHtml() : bool
Tags
psalm-assert-if-true

!null $this->coverageHtml

Return values
bool

hasCoverageHtmlCustomCssFile()

public hasCoverageHtmlCustomCssFile() : bool
Tags
psalm-assert-if-true

!null $this->coverageHtmlCustomCssFile

Return values
bool

hasCoveragePhp()

public hasCoveragePhp() : bool
Tags
psalm-assert-if-true

!null $this->coveragePhp

Return values
bool

hasCoverageReport()

public hasCoverageReport() : bool
Return values
bool

hasCoverageText()

public hasCoverageText() : bool
Tags
psalm-assert-if-true

!null $this->coverageText

Return values
bool

hasCoverageXml()

public hasCoverageXml() : bool
Tags
psalm-assert-if-true

!null $this->coverageXml

Return values
bool

hasDefaultTestSuite()

public hasDefaultTestSuite() : bool
Tags
psalm-assert-if-true

!null $this->defaultTestSuite

Return values
bool

hasExcludeGroups()

public hasExcludeGroups() : bool
Tags
psalm-assert-if-true

!empty $this->excludeGroups

Return values
bool

hasFilter()

public hasFilter() : bool
Tags
psalm-assert-if-true

!null $this->filter

Return values
bool

hasGenerateBaseline()

public hasGenerateBaseline() : bool
Tags
psalm-assert-if-true

!null $this->generateBaseline

Return values
bool

hasGroups()

public hasGroups() : bool
Tags
psalm-assert-if-true

!empty $this->groups

Return values
bool

hasLogEventsText()

public hasLogEventsText() : bool
Tags
psalm-assert-if-true

!null $this->logEventsText

Return values
bool

hasLogEventsVerboseText()

public hasLogEventsVerboseText() : bool
Tags
psalm-assert-if-true

!null $this->logEventsVerboseText

Return values
bool

hasLogfileJunit()

public hasLogfileJunit() : bool
Tags
psalm-assert-if-true

!null $this->logfileJunit

Return values
bool

hasLogfileTeamcity()

public hasLogfileTeamcity() : bool
Tags
psalm-assert-if-true

!null $this->logfileTeamcity

Return values
bool

hasLogfileTestdoxHtml()

public hasLogfileTestdoxHtml() : bool
Tags
psalm-assert-if-true

!null $this->logfileTestdoxHtml

Return values
bool

hasLogfileTestdoxText()

public hasLogfileTestdoxText() : bool
Tags
psalm-assert-if-true

!null $this->logfileTestdoxText

Return values
bool

hasNonEmptyListOfFilesToBeIncludedInCodeCoverageReport()

public hasNonEmptyListOfFilesToBeIncludedInCodeCoverageReport() : bool
Tags
deprecated

Use source()->notEmpty() instead

Return values
bool

hasPharExtensionDirectory()

public hasPharExtensionDirectory() : bool
Tags
psalm-assert-if-true

!null $this->pharExtensionDirectory

Return values
bool

hasTestsCovering()

public hasTestsCovering() : bool
Tags
psalm-assert-if-true

!empty $this->testsCovering

Return values
bool

hasTestsUsing()

public hasTestsUsing() : bool
Tags
psalm-assert-if-true

!empty $this->testsUsing

Return values
bool

ignoreDeprecatedCodeUnitsFromCodeCoverage()

public ignoreDeprecatedCodeUnitsFromCodeCoverage() : bool
Return values
bool

includeTestSuite()

public includeTestSuite() : string
Return values
string

includeUncoveredFiles()

public includeUncoveredFiles() : bool
Return values
bool

loadPharExtensions()

public loadPharExtensions() : bool
Tags
deprecated

Use noExtensions() instead

Return values
bool

logEventsText()

public logEventsText() : string
Tags
throws
LoggingNotConfiguredException
Return values
string

logEventsVerboseText()

public logEventsVerboseText() : string
Tags
throws
LoggingNotConfiguredException
Return values
string

logfileJunit()

public logfileJunit() : string
Tags
throws
LoggingNotConfiguredException
Return values
string

logfileTeamcity()

public logfileTeamcity() : string
Tags
throws
LoggingNotConfiguredException
Return values
string

logfileTestdoxHtml()

public logfileTestdoxHtml() : string
Tags
throws
LoggingNotConfiguredException
Return values
string

logfileTestdoxText()

public logfileTestdoxText() : string
Tags
throws
LoggingNotConfiguredException
Return values
string

noExtensions()

public noExtensions() : bool
Return values
bool

numberOfTestsBeforeGarbageCollection()

public numberOfTestsBeforeGarbageCollection() : int
Return values
int

outputIsTeamCity()

public outputIsTeamCity() : bool
Return values
bool

outputIsTestDox()

public outputIsTestDox() : bool
Return values
bool

outputToStandardErrorStream()

public outputToStandardErrorStream() : bool
Return values
bool

pathCoverage()

public pathCoverage() : bool
Return values
bool

pharExtensionDirectory()

public pharExtensionDirectory() : string
Tags
psalm-return

non-empty-string

throws
NoPharExtensionDirectoryException
Return values
string

processIsolation()

public processIsolation() : bool
Return values
bool

randomOrderSeed()

public randomOrderSeed() : int
Return values
int

registerMockObjectsFromTestArgumentsRecursively()

public registerMockObjectsFromTestArgumentsRecursively() : bool
Tags
deprecated
Return values
bool

reportUselessTests()

public reportUselessTests() : bool
Return values
bool

requireCoverageMetadata()

public requireCoverageMetadata() : bool
Return values
bool

resolveDependencies()

public resolveDependencies() : bool
Return values
bool

restrictDeprecations()

public restrictDeprecations() : bool
Tags
deprecated

Use source()->restrictDeprecations() instead

Return values
bool

restrictNotices()

public restrictNotices() : bool
Tags
deprecated

Use source()->restrictNotices() instead

Return values
bool

restrictWarnings()

public restrictWarnings() : bool
Tags
deprecated

Use source()->restrictWarnings() instead

Return values
bool

reverseDefectList()

public reverseDefectList() : bool
Return values
bool

stopOnDefect()

public stopOnDefect() : bool
Return values
bool

stopOnDeprecation()

public stopOnDeprecation() : bool
Return values
bool

stopOnError()

public stopOnError() : bool
Return values
bool

stopOnFailure()

public stopOnFailure() : bool
Return values
bool

stopOnIncomplete()

public stopOnIncomplete() : bool
Return values
bool

stopOnNotice()

public stopOnNotice() : bool
Return values
bool

stopOnRisky()

public stopOnRisky() : bool
Return values
bool

stopOnSkipped()

public stopOnSkipped() : bool
Return values
bool

stopOnWarning()

public stopOnWarning() : bool
Return values
bool

strictCoverage()

public strictCoverage() : bool
Return values
bool

testResultCacheFile()

public testResultCacheFile() : string
Return values
string

testsCovering()

public testsCovering() : array<string|int, mixed>
Tags
psalm-return

list

throws
FilterNotConfiguredException
Return values
array<string|int, mixed>

testSuffixes()

public testSuffixes() : array<string|int, mixed>
Tags
psalm-return

non-empty-list

Return values
array<string|int, mixed>

testsUsing()

public testsUsing() : array<string|int, mixed>
Tags
psalm-return

list

throws
FilterNotConfiguredException
Return values
array<string|int, mixed>

timeoutForLargeTests()

public timeoutForLargeTests() : int
Return values
int

timeoutForMediumTests()

public timeoutForMediumTests() : int
Return values
int

timeoutForSmallTests()

public timeoutForSmallTests() : int
Return values
int

        
On this page

Search results