[WIP] Drupal 11 support #1162
test.yml
on: pull_request
Matrix: Install LocalGov Drupal
Matrix: Coding standards checks
Matrix: Static analysis checks
Matrix: PHPUnit tests
Annotations
14 errors
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_guides/tests/src/Kernel/OverviewPageIntegrity.php#L22
Class Drupal\Tests\localgov_guides\Kernel\OverviewPageIntegrity uses unknown trait Drupal\Tests\field\Traits\EntityReferenceTestTrait.
|
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)
Process completed with exit code 1.
|
Coding standards checks (3.x, ~11.0, 8.4)
Process completed with exit code 2.
|
PHPUnit tests (3.x, ~10.0, 8.4)
Process completed with exit code 255.
|
PHPUnit tests (3.x, ~11.0, 8.3)
Process completed with exit code 2.
|
PHPUnit tests (3.x, ~11.0, 8.4)
Process completed with exit code 2.
|