Documentation

ExcludeList
in package

FinalYes
Tags
no-named-arguments

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

Table of Contents

Constants

EXCLUDED_CLASS_NAMES  = [ // composer \Composer\Autoload\ClassLoader::class => 1, // doctrine/instantiator \Doctrine\Instantiator\Instantiator::class => 1, // myclabs/deepcopy \DeepCopy\DeepCopy::class => 1, // nikic/php-parser \PhpParser\Parser::class => 1, // phar-io/manifest \PharIo\Manifest\Manifest::class => 1, // phar-io/version \PharIo\Version\Version::class => 1, // phpdocumentor/type-resolver \PHPUnit\Util\Type::class => 1, // phpunit/phpunit \PHPUnit\Framework\TestCase::class => 2, // phpunit/php-code-coverage \SebastianBergmann\CodeCoverage\CodeCoverage::class => 1, // phpunit/php-file-iterator \SebastianBergmann\FileIterator\Facade::class => 1, // phpunit/php-invoker \SebastianBergmann\Invoker\Invoker::class => 1, // phpunit/php-text-template \SebastianBergmann\Template\Template::class => 1, // phpunit/php-timer \SebastianBergmann\Timer\Timer::class => 1, // sebastian/cli-parser \SebastianBergmann\CliParser\Parser::class => 1, // sebastian/code-unit \SebastianBergmann\CodeUnit\CodeUnit::class => 1, // sebastian/code-unit-reverse-lookup \SebastianBergmann\CodeUnitReverseLookup\Wizard::class => 1, // sebastian/comparator \SebastianBergmann\Comparator\Comparator::class => 1, // sebastian/complexity \SebastianBergmann\Complexity\Calculator::class => 1, // sebastian/diff \SebastianBergmann\Diff\Diff::class => 1, // sebastian/environment \SebastianBergmann\Environment\Runtime::class => 1, // sebastian/exporter \SebastianBergmann\Exporter\Exporter::class => 1, // sebastian/global-state \SebastianBergmann\GlobalState\Snapshot::class => 1, // sebastian/lines-of-code \SebastianBergmann\LinesOfCode\Counter::class => 1, // sebastian/object-enumerator \SebastianBergmann\ObjectEnumerator\Enumerator::class => 1, // sebastian/object-reflector \SebastianBergmann\ObjectReflector\ObjectReflector::class => 1, // sebastian/recursion-context \SebastianBergmann\RecursionContext\Context::class => 1, // sebastian/resource-operations \SebastianBergmann\ResourceOperations\ResourceOperations::class => 1, // sebastian/type \SebastianBergmann\Type\TypeName::class => 1, // sebastian/version \SebastianBergmann\Version::class => 1, // theseer/tokenizer \TheSeer\Tokenizer\Tokenizer::class => 1, ]

Properties

$directories  : array<string|int, string>
$initialized  : bool

Methods

addDirectory()  : void
getExcludedDirectories()  : array<string|int, string>
isExcluded()  : bool
initialize()  : void

Constants

EXCLUDED_CLASS_NAMES

private array<string, int> EXCLUDED_CLASS_NAMES = [ // composer \Composer\Autoload\ClassLoader::class => 1, // doctrine/instantiator \Doctrine\Instantiator\Instantiator::class => 1, // myclabs/deepcopy \DeepCopy\DeepCopy::class => 1, // nikic/php-parser \PhpParser\Parser::class => 1, // phar-io/manifest \PharIo\Manifest\Manifest::class => 1, // phar-io/version \PharIo\Version\Version::class => 1, // phpdocumentor/type-resolver \PHPUnit\Util\Type::class => 1, // phpunit/phpunit \PHPUnit\Framework\TestCase::class => 2, // phpunit/php-code-coverage \SebastianBergmann\CodeCoverage\CodeCoverage::class => 1, // phpunit/php-file-iterator \SebastianBergmann\FileIterator\Facade::class => 1, // phpunit/php-invoker \SebastianBergmann\Invoker\Invoker::class => 1, // phpunit/php-text-template \SebastianBergmann\Template\Template::class => 1, // phpunit/php-timer \SebastianBergmann\Timer\Timer::class => 1, // sebastian/cli-parser \SebastianBergmann\CliParser\Parser::class => 1, // sebastian/code-unit \SebastianBergmann\CodeUnit\CodeUnit::class => 1, // sebastian/code-unit-reverse-lookup \SebastianBergmann\CodeUnitReverseLookup\Wizard::class => 1, // sebastian/comparator \SebastianBergmann\Comparator\Comparator::class => 1, // sebastian/complexity \SebastianBergmann\Complexity\Calculator::class => 1, // sebastian/diff \SebastianBergmann\Diff\Diff::class => 1, // sebastian/environment \SebastianBergmann\Environment\Runtime::class => 1, // sebastian/exporter \SebastianBergmann\Exporter\Exporter::class => 1, // sebastian/global-state \SebastianBergmann\GlobalState\Snapshot::class => 1, // sebastian/lines-of-code \SebastianBergmann\LinesOfCode\Counter::class => 1, // sebastian/object-enumerator \SebastianBergmann\ObjectEnumerator\Enumerator::class => 1, // sebastian/object-reflector \SebastianBergmann\ObjectReflector\ObjectReflector::class => 1, // sebastian/recursion-context \SebastianBergmann\RecursionContext\Context::class => 1, // sebastian/resource-operations \SebastianBergmann\ResourceOperations\ResourceOperations::class => 1, // sebastian/type \SebastianBergmann\Type\TypeName::class => 1, // sebastian/version \SebastianBergmann\Version::class => 1, // theseer/tokenizer \TheSeer\Tokenizer\Tokenizer::class => 1, ]

Properties

$directories

private static array<string|int, string> $directories = []

$initialized

private static bool $initialized = false

Methods

addDirectory()

public static addDirectory(string $directory) : void
Parameters
$directory : string

getExcludedDirectories()

public getExcludedDirectories() : array<string|int, string>
Tags
throws
Exception
Return values
array<string|int, string>

isExcluded()

public isExcluded(string $file) : bool
Parameters
$file : string
Tags
throws
Exception
Return values
bool

initialize()

private initialize() : void
Tags
throws
Exception

        
On this page

Search results