| Methods |
abstract
protected
|
getRule(): TRule
|
#
|
protected
|
getCollectors(): array<Collector<Node, mixed>>
|
#
|
protected
|
getReadWritePropertiesExtensions(): ReadWritePropertiesExtension[]
No longer configures the analysis - register the extensions as services
in a config file returned from getAdditionalConfigFiles() instead.
Returning any extension fails the test.
No longer configures the analysis - register the extensions as services
in a config file returned from getAdditionalConfigFiles() instead.
Returning any extension fails the test.
|
#
|
protected
|
getTypeSpecifier(): TypeSpecifier
|
#
|
protected
|
createNodeScopeResolver(): NodeScopeResolver
|
#
|
public
|
analyse(string[] $files, list<array{0: string, 1: int, 2?: (string|null)}> $expectedErrors): void
|
#
|
public
|
fix(string $file, string $expectedFile): void
|
#
|
public
|
gatherAnalyserErrors(string[] $files): list<Error>
|
#
|
protected
|
shouldPolluteScopeWithLoopInitialAssignments(): bool
No longer configures the analysis - set the polluteScopeWithLoopInitialAssignments
parameter in a config file returned from getAdditionalConfigFiles() instead.
Returning a different value than the parameter fails the test.
No longer configures the analysis - set the polluteScopeWithLoopInitialAssignments
parameter in a config file returned from getAdditionalConfigFiles() instead.
Returning a different value than the parameter fails the test.
|
#
|
protected
|
shouldPolluteScopeWithAlwaysIterableForeach(): bool
No longer configures the analysis - set the polluteScopeWithAlwaysIterableForeach
parameter in a config file returned from getAdditionalConfigFiles() instead.
Returning a different value than the parameter fails the test.
No longer configures the analysis - set the polluteScopeWithAlwaysIterableForeach
parameter in a config file returned from getAdditionalConfigFiles() instead.
Returning a different value than the parameter fails the test.
|
#
|
protected
|
shouldFailOnPhpErrors(): bool
|
#
|
public
static
|
getAdditionalConfigFiles(): array
|
#
|