Fix coding standards. #524
localgov_microsites.yml
on: pull_request
Matrix: Install LocalGov Microsites
Matrix: Coding standards checks
Matrix: Deprecated code checks
Matrix: PHPUnit tests
Annotations
11 errors and 8 warnings
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/localgov_microsites_group.module#L144
The "domain_group_resolver" service is deprecated. You should use the group sites context directly instead.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/localgov_microsites_group.module#L291
The "domain_group_resolver" service is deprecated. You should use the group sites context directly instead.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/localgov_microsites_group.module#L301
The "domain_group_resolver" service is deprecated. You should use the group sites context directly instead.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/modules/localgov_microsites_group_term_ui/localgov_microsites_group_term_ui.module#L78
The "domain_group_resolver" service is deprecated. You should use the group sites context directly instead.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/modules/localgov_microsites_group_term_ui/tests/src/Kernel/GroupTermEntityReferenceTest.php#L21
Property Drupal\Tests\localgov_microsites_group_term_ui\Kernel\GroupTermEntityReferenceTest::$modules property must be protected.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/modules/localgov_microsites_group_webform/localgov_microsites_group_webform.module#L55
The "domain_group_resolver" service is deprecated. You should use the group sites context directly instead.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/src/Controller/MicrositeAdminController.php#L29
The "domain_group_resolver" service is deprecated. You should use the group sites context directly instead.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/src/Controller/MicrositeAdminController.php#L39
Parameter $domain_group_resolver of method Drupal\localgov_microsites_group\Controller\MicrositeAdminController::__construct() has typehint with deprecated interface Drupal\localgov_microsites_group\DomainGroupResolverInterface:
in localgov_microsites_group:4.0.0-alpha1 and is removed from
localgov_microsites_group:5.0.0.
Use \Drupal\group_context_domain\Context\GroupFromDomainContext.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/src/Plugin/Block/MicrositeTasksBlock.php#L91
The "domain_group_resolver" service is deprecated. You should use the group sites context directly instead.
|
Deprecated code checks (4.x, ~10.0, 8.1):
web/modules/contrib/localgov_microsites_group/tests/src/Kernel/GroupDefaultContentTest.php#L22
Property Drupal\Tests\localgov_microsites_group\Kernel\GroupDefaultContentTest::$modules property must be protected.
|
PHPUnit tests (4.x, ~10.0, 8.1)
Process completed with exit code 255.
|
Install LocalGov Microsites (4.x, ~10.0, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Install LocalGov Microsites (4.x, ~10.0, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Deprecated code checks (4.x, ~10.0, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecated code checks (4.x, ~10.0, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Coding standards checks (4.x, ~10.0, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Coding standards checks (4.x, ~10.0, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
PHPUnit tests (4.x, ~10.0, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHPUnit tests (4.x, ~10.0, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|