-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
With Drupal core moving towards strict types, more info we should fix the remaining errors suppressed in the phpstan baseline.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/contrib/localgov_services/modules/localgov_services_landing/src/Plugin/Field/FieldFormatter/TaxonomyVerticalList.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
70 Parameter #1 $items of method Drupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase::getEntitiesToView() expects Drupal\Core\Field\EntityReferenceFieldItemListInterface, Drupal\Core\Field\FieldItemListInterface given.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/contrib/localgov_services/modules/localgov_services_navigation/src/EntityChildRelationshipUi.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
125 Call to function in_array() requires parameter #3 to be set.
132 Parameter #1 $node of method Drupal\localgov_services_navigation\EntityChildRelationshipUi::childrenField() expects Drupal\node\NodeInterface, Drupal\Core\Entity\EntityInterface given.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line modules/contrib/localgov_services/modules/localgov_services_navigation/tests/src/Kernel/ChildReferencesTest.php
------ -----------------------------------------------------------------------------------------------------------------
73 Call to method Drupal\KernelTests\KernelTestBase::setUp() with incorrect case: setup
138 Call to function in_array() requires parameter #3 to be set.
190 Call to function in_array() requires parameter #3 to be set.
------ -----------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------
Line modules/contrib/localgov_services/modules/localgov_services_navigation/tests/src/Kernel/ParentFieldPathautoTest.php
------ ---------------------------------------------------------------------------------------------------------------------
57 Call to method Drupal\KernelTests\KernelTestBase::setUp() with incorrect case: setup
------ ---------------------------------------------------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers