Try fixing CI #21268
static-analysis.yml
on: push
Generate baseline
1m 40s
Generate PHP baseline
1m 37s
Matrix: PHPStan with result cache
Matrix: PHPStan
Annotations
20 errors
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L264
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($line, $filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L257
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($line, $filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L257
You're passing a non-default value PHPStan\AnalysedCodeException to parameter $canBeIgnored but previous argument is passing default value to its parameter ($line). You can skip it and use named argument for $canBeIgnored instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L179
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L171
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L130
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/FileAnalyser.php#L122
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L65
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/AnalyserResultFinalizer.php#L57
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, ubuntu-latest):
src/Analyser/Analyser.php#L96
You're passing a non-default value Throwable to parameter $canBeIgnored but previous argument is passing default value to its parameter ($line). You can skip it and use named argument for $canBeIgnored instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L264
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($line, $filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L257
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($line, $filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L257
You're passing a non-default value PHPStan\AnalysedCodeException to parameter $canBeIgnored but previous argument is passing default value to its parameter ($line). You can skip it and use named argument for $canBeIgnored instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L179
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L171
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L130
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/FileAnalyser.php#L122
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L65
You're passing a non-default value 'Learn more at https://phpstan.org/user-guide/discovering-symbols' to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/AnalyserResultFinalizer.php#L57
You're passing a non-default value string|null to parameter $tip but previous arguments are passing default values to their parameters ($filePath, $traitFilePath). You can skip them and use named argument for $tip instead.
|
PHPStan (7.4, windows-latest):
src/Analyser/Analyser.php#L96
You're passing a non-default value Throwable to parameter $canBeIgnored but previous argument is passing default value to its parameter ($line). You can skip it and use named argument for $canBeIgnored instead.
|