Improved layout of reports #5472
Annotations
10 errors
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Cli/Commands/TreeExport.php#L1
Ignored error pattern #^Unknown parameter \$suggestedValues in call to method Symfony\\Component\\Console\\Command\\Command\:\:addArgument\(\)\.$# (argument.unknown) in path /home/runner/work/webtrees/webtrees/app/Cli/Commands/TreeExport.php was not matched in reported 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/Http/RequestHandlers/AutoCompleteCitation.php#L88
Parameter #1 $items of method Illuminate\Support\Collection<(int|string),Fisharebest\Webtrees\Individual>::merge() expects Illuminate\Contracts\Support\Arrayable<(int|string), Fisharebest\Webtrees\Individual>|iterable<(int|string), Fisharebest\Webtrees\Individual>, Illuminate\Support\Collection<(int|string), Fisharebest\Webtrees\Family> given.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Individual.php#L1
Ignored error pattern #^Method Fisharebest\\Webtrees\\Individual\:\:spouseFamilies\(\) should return Illuminate\\Support\\Collection\<int, Fisharebest\\Webtrees\\Family\> but returns Illuminate\\Support\\Collection\<\*NEVER\*, mixed\>\.$# (return.type) in path /home/runner/work/webtrees/webtrees/app/Individual.php was not matched in reported errors.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Module/IndividualFactsTabModule.php#L128
Parameter #1 $items of method Illuminate\Support\Collection<int,string>::merge() expects Illuminate\Contracts\Support\Arrayable<int, 'FAM:_UID'|'FAM:CHAN'>|iterable<int, 'FAM:_UID'|'FAM:CHAN'>, Illuminate\Support\Collection<int, mixed> given.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Module/IndividualFactsTabModule.php#L128
Parameter #1 $items of method Illuminate\Support\Collection<int,string>::merge() expects Illuminate\Contracts\Support\Arrayable<int, 'FAM:_UID'|'FAM:CHAN'>|iterable<int, 'FAM:_UID'|'FAM:CHAN'>, Illuminate\Support\Collection<int, mixed> given.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Module/RecentChangesModule.php#L354
Parameter #1 $items of method Illuminate\Support\Collection<(int|string),Fisharebest\Webtrees\Individual>::merge() expects Illuminate\Contracts\Support\Arrayable<(int|string), Fisharebest\Webtrees\Individual>|iterable<(int|string), Fisharebest\Webtrees\Individual>, Illuminate\Support\Collection<(int|string), Fisharebest\Webtrees\Family> given.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Module/ResearchTaskModule.php#L106
Parameter #1 $items of method Illuminate\Support\Collection<int,Fisharebest\Webtrees\Individual>::merge() expects Illuminate\Contracts\Support\Arrayable<int, Fisharebest\Webtrees\Individual>|iterable<int, Fisharebest\Webtrees\Individual>, Illuminate\Support\Collection<int, Fisharebest\Webtrees\Family> given.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Module/ShareAnniversaryModule.php#L92
Parameter #1 $items of method Illuminate\Support\Collection<int,Fisharebest\Webtrees\Fact>::merge() expects Illuminate\Contracts\Support\Arrayable<int, Fisharebest\Webtrees\Fact>|iterable<int, Fisharebest\Webtrees\Fact>, Illuminate\Support\Collection<int, Illuminate\Support\Collection<int, Fisharebest\Webtrees\Fact>> given.
|
Run ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app index.php:
app/Report/ReportHtmlTextbox.php#L64
Instanceof between Fisharebest\Webtrees\Report\ReportBaseText and Fisharebest\Webtrees\Report\ReportBaseText will always evaluate to true.
|
Loading