Documentation

PHPUnit_Util_Blacklist
in package

Utility class for blacklisting PHPUnit's own source code files.

Tags
since

Class available since Release 4.0.0

Table of Contents

$blacklistedClassNames  : array<string|int, mixed>
$directories  : array<string|int, mixed>
getBlacklistedDirectories()  : array<string|int, mixed>
isBlacklisted()  : bool
initialize()  : mixed

Properties

$blacklistedClassNames

public static array<string|int, mixed> $blacklistedClassNames = array('File_Iterator' => 1, 'PHP_CodeCoverage' => 1, 'PHP_Invoker' => 1, 'PHP_Timer' => 1, 'PHP_Token' => 1, 'PHPUnit_Framework_TestCase' => 2, 'PHPUnit_Extensions_Database_TestCase' => 2, 'PHPUnit_Framework_MockObject_Generator' => 2, 'PHPUnit_Extensions_SeleniumTestCase' => 2, 'Text_Template' => 1, 'Symfony\Component\Yaml\Yaml' => 1, 'SebastianBergmann\Diff\Diff' => 1, 'SebastianBergmann\Environment\Runtime' => 1, 'SebastianBergmann\Comparator\Comparator' => 1, 'SebastianBergmann\Exporter\Exporter' => 1, 'SebastianBergmann\GlobalState\Snapshot' => 1, 'SebastianBergmann\RecursionContext\Context' => 1, 'SebastianBergmann\Version' => 1, 'Composer\Autoload\ClassLoader' => 1, 'Doctrine\Instantiator\Instantiator' => 1, 'phpDocumentor\Reflection\DocBlock' => 1, 'Prophecy\Prophet' => 1)

$directories

private static array<string|int, mixed> $directories

Methods

getBlacklistedDirectories()

public getBlacklistedDirectories() : array<string|int, mixed>
Tags
since

Method available since Release 4.1.0

Return values
array<string|int, mixed>

isBlacklisted()

public isBlacklisted(string $file) : bool
Parameters
$file : string
Return values
bool

initialize()

private initialize() : mixed
Return values
mixed

Search results