<TRule is Rule>
abstract | |
---|---|
extends |
PHPStanTestCase |
Methods | ||
---|---|---|
abstract
protected
|
getRule(): Rule
|
# |
protected
|
getCollectors(): array<Collector<Node, mixed>>
|
# |
protected
|
getReadWritePropertiesExtensions(): ReadWritePropertiesExtension[]
|
# |
protected
|
getTypeSpecifier(): TypeSpecifier
|
# |
public
|
analyse(string[] $files, list<array{0:string, 1:int, 2?:(string|null)}> $expectedErrors): void
|
# |
public
|
gatherAnalyserErrors(string[] $files): list<Error>
|
# |
protected
|
shouldPolluteScopeWithLoopInitialAssignments(): bool
|
# |
protected
|
shouldPolluteScopeWithAlwaysIterableForeach(): bool
|
# |
protected
|
shouldFailOnPhpErrors(): bool
|
# |
public
static
|
getAdditionalConfigFiles(): array
|
# |
Properties inherited from PHPUnit\Framework\TestCase |
---|
$backupGlobals, $backupGlobalsExcludeList, $backupGlobalsBlacklist, $backupStaticAttributes, $backupStaticAttributesExcludeList, $backupStaticAttributesBlacklist, $runTestInSeparateProcess, $preserveGlobalState, $providedTests |