Skip to content

Static analysis

Static analysis #5553

Triggered via push November 30, 2024 15:37
Status Failure
Total duration 1m 40s
Artifacts

phpstan.yaml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

16 errors
phpstan (ubuntu-latest, 8.3): app/Cli/Commands/TreeExport.php#L51
Parameter $suggestedValues of method Symfony\Component\Console\Command\Command::addArgument() expects array|(Closure(Symfony\Component\Console\Completion\CompletionInput, Symfony\Component\Console\Completion\CompletionSuggestions): list<string|Symfony\Component\Console\Completion\Suggestion>), Closure(Symfony\Component\Console\Completion\CompletionInput): array<string> given.
phpstan (ubuntu-latest, 8.3): app/Helpers/functions.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between '\-dev' and '' will always evaluate to false\.$# (identical.alwaysFalse) in path /home/runner/work/webtrees/webtrees/app/Helpers/functions.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.3): app/Helpers/functions.php#L42
Strict comparison using === between '' and '' will always evaluate to true.
phpstan (ubuntu-latest, 8.3): app/Webtrees.php#L1
Ignored error pattern #^Strict comparison using \!\=\= between '\-dev' and '' will always evaluate to true\.$# (notIdentical.alwaysTrue) in path /home/runner/work/webtrees/webtrees/app/Webtrees.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.3): app/Webtrees.php#L1
Ignored error pattern #^Ternary operator condition is always true\.$# (ternary.alwaysTrue) in path /home/runner/work/webtrees/webtrees/app/Webtrees.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.3): app/Webtrees.php#L120
Strict comparison using !== between '' and '' will always evaluate to false.
phpstan (ubuntu-latest, 8.3): app/Webtrees.php#L123
Ternary operator condition is always false.
phpstan (ubuntu-latest, 8.3)
Process completed with exit code 1.
phpstan (ubuntu-latest, 8.4): app/Cli/Commands/TreeExport.php#L51
Parameter $suggestedValues of method Symfony\Component\Console\Command\Command::addArgument() expects array|(Closure(Symfony\Component\Console\Completion\CompletionInput, Symfony\Component\Console\Completion\CompletionSuggestions): list<string|Symfony\Component\Console\Completion\Suggestion>), Closure(Symfony\Component\Console\Completion\CompletionInput): array<string> given.
phpstan (ubuntu-latest, 8.4): app/Helpers/functions.php#L1
Ignored error pattern #^Strict comparison using \=\=\= between '\-dev' and '' will always evaluate to false\.$# (identical.alwaysFalse) in path /home/runner/work/webtrees/webtrees/app/Helpers/functions.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.4): app/Helpers/functions.php#L42
Strict comparison using === between '' and '' will always evaluate to true.
phpstan (ubuntu-latest, 8.4): app/Webtrees.php#L1
Ignored error pattern #^Strict comparison using \!\=\= between '\-dev' and '' will always evaluate to true\.$# (notIdentical.alwaysTrue) in path /home/runner/work/webtrees/webtrees/app/Webtrees.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.4): app/Webtrees.php#L1
Ignored error pattern #^Ternary operator condition is always true\.$# (ternary.alwaysTrue) in path /home/runner/work/webtrees/webtrees/app/Webtrees.php was not matched in reported errors.
phpstan (ubuntu-latest, 8.4): app/Webtrees.php#L120
Strict comparison using !== between '' and '' will always evaluate to false.
phpstan (ubuntu-latest, 8.4): app/Webtrees.php#L123
Ternary operator condition is always false.
phpstan (ubuntu-latest, 8.4)
Process completed with exit code 1.