Add --only-remove-errors analyse command option #20043
static-analysis.yml
on: pull_request
Generate baseline
1m 27s
Generate PHP baseline
1m 28s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
11 errors
Generate baseline
Process completed with exit code 1.
|
Generate PHP baseline:
src/Command/CommandHelper.php#L1
Ignored error pattern #^PHPDoc tag @var with type list\<callable\(string\): void\>\|false is not subtype of native type list\<callable\(string\): void\>\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
Generate PHP baseline:
src/Command/CommandHelper.php#L1
Ignored error pattern #^Parameter \#1 (?:\$argument|\$objectOrClass) of class ReflectionClass constructor expects class\-string\<PHPStan\\ExtensionInstaller\\GeneratedConfig\>\|PHPStan\\ExtensionInstaller\\GeneratedConfig, string given\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/CommandHelper.php was not matched in reported errors.
|
Generate PHP baseline:
src/Command/ErrorsConsoleStyle.php#L1
Ignored error pattern #^Class PHPStan\\Command\\ErrorsConsoleStyle has an uninitialized property \$progressBar\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Command/ErrorsConsoleStyle.php was not matched in reported errors.
|
Generate PHP baseline:
src/Diagnose/PHPStanDiagnoseExtension.php#L1
Ignored error pattern #^Parameter \#1 (?:\$argument|\$objectOrClass) of class ReflectionClass constructor expects class\-string\<PHPStan\\ExtensionInstaller\\GeneratedConfig\>\|PHPStan\\ExtensionInstaller\\GeneratedConfig, string given\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Diagnose/PHPStanDiagnoseExtension.php was not matched in reported errors.
|
Generate PHP baseline:
src/Parallel/ParallelAnalyser.php#L1
Ignored error pattern #^Class PHPStan\\Parallel\\ParallelAnalyser has an uninitialized property \$processPool\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Parallel/ParallelAnalyser.php was not matched in reported errors.
|
Generate PHP baseline:
src/Parallel/Process.php#L1
Ignored error pattern #^Class PHPStan\\Parallel\\Process has an uninitialized property \$process\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/Parallel/Process.php was not matched in reported errors.
|
Generate PHP baseline:
src/PhpDoc/ResolvedPhpDocBlock.php#L1
Ignored error pattern #^Class PHPStan\\PhpDoc\\ResolvedPhpDocBlock has an uninitialized property \$filename\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/PhpDoc/ResolvedPhpDocBlock.php was not matched in reported errors.
|
Generate PHP baseline:
src/PhpDoc/ResolvedPhpDocBlock.php#L1
Ignored error pattern #^Class PHPStan\\PhpDoc\\ResolvedPhpDocBlock has an uninitialized property \$phpDocNodeResolver\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/PhpDoc/ResolvedPhpDocBlock.php was not matched in reported errors.
|
Generate PHP baseline:
src/PhpDoc/ResolvedPhpDocBlock.php#L1
Ignored error pattern #^Class PHPStan\\PhpDoc\\ResolvedPhpDocBlock has an uninitialized property \$phpDocNode\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/PhpDoc/ResolvedPhpDocBlock.php was not matched in reported errors.
|
Generate PHP baseline:
src/PhpDoc/ResolvedPhpDocBlock.php#L1
Ignored error pattern #^Class PHPStan\\PhpDoc\\ResolvedPhpDocBlock has an uninitialized property \$phpDocNodes\. Give it default value or assign it in the constructor\.$# in path /home/runner/work/phpstan-src/phpstan-src/src/PhpDoc/ResolvedPhpDocBlock.php was not matched in reported errors.
|