[WIP] Drupal 11 support #1150
test.yml
on: pull_request
Matrix: Install LocalGov Drupal
Matrix: Coding standards checks
Matrix: Static analysis checks
Matrix: PHPUnit tests
Annotations
46 errors
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_directories/src/Plugin/Block/ChannelSearchBlock.php#L183
Parameter #2 $callback of function array_reduce expects callable(list<string>, Drupal\Core\Entity\EntityInterface): list<string>, Closure(array, Drupal\node\NodeInterface): list<string> given.
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L86
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L114
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L126
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L134
Call to deprecated method returnCallback() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code>
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_openreferral/src/Normalizer/ContentEntityNormalizer.php#L48
Return type mixed of method Drupal\localgov_openreferral\Normalizer\ContentEntityNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_openreferral/src/Normalizer/EntityReferenceFieldNormalizer.php#L46
Return type mixed of method Drupal\localgov_openreferral\Normalizer\EntityReferenceFieldNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_openreferral/src/Normalizer/FieldItemNormalizer.php#L52
Return type mixed of method Drupal\localgov_openreferral\Normalizer\FieldItemNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~10.0, 8.3):
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/src/Form/LocalgovWorkflowsNotificationsSettingsForm.php#L33
Property Drupal\localgov_workflows_notifications\Form\LocalgovWorkflowsNotificationsSettingsForm::$typedConfigManager overriding property Drupal\Core\Form\ConfigFormBase::$typedConfigManager (Drupal\Core\Config\TypedConfigManagerInterface) should also have native type Drupal\Core\Config\TypedConfigManagerInterface.
|
Static analysis checks (3.x, ~10.0, 8.3):
web/profiles/contrib/localgov/modules/localgov_login_redirect/src/Form/LoginRedirectSettingsForm.php#L32
Method Drupal\Core\Form\ConfigFormBase::__construct() invoked with 1 parameter, 2 required.
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_directories/src/Plugin/Block/ChannelSearchBlock.php#L183
Parameter #2 $callback of function array_reduce expects callable(list<string>, Drupal\Core\Entity\EntityInterface): list<string>, Closure(array, Drupal\node\NodeInterface): list<string> given.
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L86
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L114
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L126
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L134
Call to deprecated method returnCallback() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code>
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_openreferral/src/Normalizer/ContentEntityNormalizer.php#L48
Return type mixed of method Drupal\localgov_openreferral\Normalizer\ContentEntityNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_openreferral/src/Normalizer/EntityReferenceFieldNormalizer.php#L46
Return type mixed of method Drupal\localgov_openreferral\Normalizer\EntityReferenceFieldNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_openreferral/src/Normalizer/FieldItemNormalizer.php#L52
Return type mixed of method Drupal\localgov_openreferral\Normalizer\FieldItemNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~11.0, 8.3):
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/src/Form/LocalgovWorkflowsNotificationsSettingsForm.php#L33
Property Drupal\localgov_workflows_notifications\Form\LocalgovWorkflowsNotificationsSettingsForm::$typedConfigManager overriding property Drupal\Core\Form\ConfigFormBase::$typedConfigManager (Drupal\Core\Config\TypedConfigManagerInterface) should also have native type Drupal\Core\Config\TypedConfigManagerInterface.
|
Static analysis checks (3.x, ~11.0, 8.3):
web/profiles/contrib/localgov/modules/localgov_login_redirect/src/Form/LoginRedirectSettingsForm.php#L32
Method Drupal\Core\Form\ConfigFormBase::__construct() invoked with 1 parameter, 2 required.
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_directories/src/Plugin/Block/ChannelSearchBlock.php#L183
Parameter #2 $callback of function array_reduce expects callable(list<string>, Drupal\Core\Entity\EntityInterface): list<string>, Closure(array, Drupal\node\NodeInterface): list<string> given.
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L86
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L114
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L126
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L134
Call to deprecated method returnCallback() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code>
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_openreferral/src/Normalizer/ContentEntityNormalizer.php#L48
Return type mixed of method Drupal\localgov_openreferral\Normalizer\ContentEntityNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_openreferral/src/Normalizer/EntityReferenceFieldNormalizer.php#L46
Return type mixed of method Drupal\localgov_openreferral\Normalizer\EntityReferenceFieldNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_openreferral/src/Normalizer/FieldItemNormalizer.php#L52
Return type mixed of method Drupal\localgov_openreferral\Normalizer\FieldItemNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~11.0, 8.4):
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/src/Form/LocalgovWorkflowsNotificationsSettingsForm.php#L33
Property Drupal\localgov_workflows_notifications\Form\LocalgovWorkflowsNotificationsSettingsForm::$typedConfigManager overriding property Drupal\Core\Form\ConfigFormBase::$typedConfigManager (Drupal\Core\Config\TypedConfigManagerInterface) should also have native type Drupal\Core\Config\TypedConfigManagerInterface.
|
Static analysis checks (3.x, ~11.0, 8.4):
web/profiles/contrib/localgov/modules/localgov_login_redirect/src/Form/LoginRedirectSettingsForm.php#L32
Method Drupal\Core\Form\ConfigFormBase::__construct() invoked with 1 parameter, 2 required.
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_directories/src/Plugin/Block/ChannelSearchBlock.php#L183
Parameter #2 $callback of function array_reduce expects callable(list<string>, Drupal\Core\Entity\EntityInterface): list<string>, Closure(array, Drupal\node\NodeInterface): list<string> given.
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L86
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L114
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L126
Call to deprecated method returnValueMap() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnMap()</code> instead of <code>$double->will($this->returnValueMap())</code>
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_directories/tests/src/Unit/FacetPreprocessTest.php#L134
Call to deprecated method returnCallback() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code>
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_openreferral/src/Normalizer/ContentEntityNormalizer.php#L48
Return type mixed of method Drupal\localgov_openreferral\Normalizer\ContentEntityNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_openreferral/src/Normalizer/EntityReferenceFieldNormalizer.php#L46
Return type mixed of method Drupal\localgov_openreferral\Normalizer\EntityReferenceFieldNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_openreferral/src/Normalizer/FieldItemNormalizer.php#L52
Return type mixed of method Drupal\localgov_openreferral\Normalizer\FieldItemNormalizer::normalize() is not covariant with return type array|ArrayObject|bool|float|int|string|null of method Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize().
|
Static analysis checks (3.x, ~10.0, 8.4):
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/src/Form/LocalgovWorkflowsNotificationsSettingsForm.php#L33
Property Drupal\localgov_workflows_notifications\Form\LocalgovWorkflowsNotificationsSettingsForm::$typedConfigManager overriding property Drupal\Core\Form\ConfigFormBase::$typedConfigManager (Drupal\Core\Config\TypedConfigManagerInterface) should also have native type Drupal\Core\Config\TypedConfigManagerInterface.
|
Static analysis checks (3.x, ~10.0, 8.4):
web/profiles/contrib/localgov/modules/localgov_login_redirect/src/Form/LoginRedirectSettingsForm.php#L32
Method Drupal\Core\Form\ConfigFormBase::__construct() invoked with 1 parameter, 2 required.
|
PHPUnit tests (3.x, ~10.0, 8.1)
Process completed with exit code 2.
|
PHPUnit tests (3.x, ~10.0, 8.2)
Process completed with exit code 2.
|
PHPUnit tests (3.x, ~10.0, 8.4)
Process completed with exit code 2.
|
PHPUnit tests (3.x, ~11.0, 8.4)
Process completed with exit code 2.
|
PHPUnit tests (3.x, ~11.0, 8.3)
Process completed with exit code 2.
|
PHPUnit tests (3.x, ~10.0, 8.3)
Process completed with exit code 2.
|