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, // 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, // 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/type \SebastianBergmann\Type\TypeName::class => 1, // sebastian/version \SebastianBergmann\Version::class => 1, // theseer/tokenizer \TheSeer\Tokenizer\Tokenizer::class => 1, ]

Properties

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

Methods

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

Constants

EXCLUDED_CLASS_NAMES

private mixed EXCLUDED_CLASS_NAMES = [ // composer \Composer\Autoload\ClassLoader::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, // 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/type \SebastianBergmann\Type\TypeName::class => 1, // sebastian/version \SebastianBergmann\Version::class => 1, // theseer/tokenizer \TheSeer\Tokenizer\Tokenizer::class => 1, ]
Tags
psalm-var

array<string,int>

Properties

$directories

private static array<string|int, mixed> $directories = []
Tags
psalm-var

list

$initialized

private static bool $initialized = false

Methods

__construct()

public __construct([bool|null $enabled = null ]) : mixed
Parameters
$enabled : bool|null = null

addDirectory()

public static addDirectory(string $directory) : void
Parameters
$directory : string
Tags
psalm-param

non-empty-string $directory

throws
InvalidDirectoryException

getExcludedDirectories()

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

list

Return values
array<string|int, mixed>

isExcluded()

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

        
On this page

Search results