Skip to content

Add additional selector for family members #578

Add additional selector for family members

Add additional selector for family members #578

Triggered via push January 4, 2025 09:39
Status Failure
Total duration 1m 34s
Artifacts

phpstan.yaml

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

Annotations

20 errors and 2 warnings
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L47
Property Fisharebest\Webtrees\Module\CensusAssistantModule::$tree_service is never read, only written.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L86
Parameter #1 $individual of method Fisharebest\Webtrees\Module\CensusAssistantModule::familyMembers() expects Fisharebest\Webtrees\Individual, Fisharebest\Webtrees\Individual|null given.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L86
Parameter #2 $census of method Fisharebest\Webtrees\Module\CensusAssistantModule::familyMembers() expects Fisharebest\Webtrees\Census\CensusInterface, object given.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L89
Parameter #1 $content of function response expects array<mixed>|object|string, string|false given.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L311
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L311
Cannot call method minimumDate() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L312
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L312
Cannot call method maximumDate() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L47
Property Fisharebest\Webtrees\Module\CensusAssistantModule::$tree_service is never read, only written.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L86
Parameter #1 $individual of method Fisharebest\Webtrees\Module\CensusAssistantModule::familyMembers() expects Fisharebest\Webtrees\Individual, Fisharebest\Webtrees\Individual|null given.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L86
Parameter #2 $census of method Fisharebest\Webtrees\Module\CensusAssistantModule::familyMembers() expects Fisharebest\Webtrees\Census\CensusInterface, object given.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L89
Parameter #1 $content of function response expects array<mixed>|object|string, string|false given.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L311
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L311
Cannot call method minimumDate() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L312
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L312
Cannot call method maximumDate() on mixed.
phpstan (ubuntu-latest, 8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
phpstan (ubuntu-latest, 8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636