Static analysis #5553
Annotations
8 errors
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
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.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
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.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Helpers/functions.php#L42
Strict comparison using === between '' and '' will always evaluate to true.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
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.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
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.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Webtrees.php#L120
Strict comparison using !== between '' and '' will always evaluate to false.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Webtrees.php#L123
Ternary operator condition is always false.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php
Process completed with exit code 1.
|
Loading