Test localgovdrupal/localgov_directories drupal-module #509
test.yml
on: workflow_dispatch
Matrix: tests / Install LocalGov Drupal
Matrix: tests / PHP coding standards checks
Matrix: tests / PHP static analysis checks
Matrix: tests / ESLint javascript checks
Matrix: tests / ESLint yaml checks
Matrix: tests / Stylelint checks
Matrix: tests / PHPUnit tests
Annotations
7 errors
tests / PHP 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.
|
tests / PHP 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>
|
tests / PHP 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>
|
tests / PHP 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>
|
tests / PHP 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>
|
tests / PHP static analysis checks (3.x, ~11.0, 8.4)
Process completed with exit code 1.
|
tests / ESLint javascript checks (3.x, ~10.0, 8.4)
Process completed with exit code 1.
|