Skip to content

Add additional selector for family members #580

Add additional selector for family members

Add additional selector for family members #580

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

phpstan.yaml

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

Annotations

20 errors and 2 warnings
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L77
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#L77
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#L80
Parameter #1 $content of function response expects array<mixed>|object|string, string|false given.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L302
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L302
Cannot call method minimumDate() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L303
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L303
Cannot call method maximumDate() on mixed.
phpstan (ubuntu-latest, 8.4): app/Module/CensusAssistantModule.php#L304
Cannot call method getCloseRelationshipName() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L77
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#L77
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#L80
Parameter #1 $content of function response expects array<mixed>|object|string, string|false given.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L302
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L302
Cannot call method minimumDate() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L303
Cannot call method format() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L303
Cannot call method maximumDate() on mixed.
phpstan (ubuntu-latest, 8.3): app/Module/CensusAssistantModule.php#L304
Cannot call method getCloseRelationshipName() on mixed.
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
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