Skip to content

Handle graphql consumers for both BNF and Go #6238

Handle graphql consumers for both BNF and Go

Handle graphql consumers for both BNF and Go #6238

Status Failure
Total duration 4m 34s
Artifacts

ci-tests.yml

on: pull_request
Validate Composer
22s
Validate Composer
Check code style
26s
Check code style
Check Twig code style
23s
Check Twig code style
Analyse code using PHPStan
33s
Analyse code using PHPStan
Run PHP unit tests
40s
Run PHP unit tests
Test site performance using Lighthouse
4m 23s
Test site performance using Lighthouse
Test accessibility using Pa11y
4m 19s
Test accessibility using Pa11y
Run Cypress functional tests
4m 20s
Run Cypress functional tests
Lint Markdown
34s
Lint Markdown
Shellcheck
5s
Shellcheck
Lint Drupal assets
35s
Lint Drupal assets
Lint Cypress tests
27s
Lint Cypress tests
Check OpenAPI specification
4m 23s
Check OpenAPI specification
Check Drupal Config
4m 18s
Check Drupal Config
Check PHP version
19s
Check PHP version
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 19 warnings
Analyse code using PHPStan: web/modules/custom/dpl_consumers/dpl_consumers.deploy.php#L61
Variable $handler in PHPDoc tag @var does not match assigned variable $consumer_handler.
Analyse code using PHPStan: web/modules/custom/dpl_consumers/dpl_consumers.install#L20
Variable $handler in PHPDoc tag @var does not match assigned variable $consumer_handler.
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/Commands/DplConsumersCommands.php#L45
Access to constant GRAPHQL_CONSUMER_CLIENT_ID on an unknown class Drupal\dpl_consumers\DplGraphqlConsumersConstants.
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/Commands/DplConsumersCommands.php#L73
Access to constant GRAPHQL_CONSUMER_CLIENT_ID on an unknown class Drupal\dpl_consumers\DplGraphqlConsumersConstants.
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/Consumer.php#L31
\Drupal calls should be avoided in classes, use dependency injection instead
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/Consumer.php#L53
\Drupal calls should be avoided in classes, use dependency injection instead
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/Consumer.php#L73
Method Drupal\dpl_consumers\Consumer::delete() has no return type specified.
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/ConsumerRole.php#L34
Method Drupal\dpl_consumers\ConsumerRole::delete() has no return type specified.
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/ConsumerUser.php#L38
Parameter #1 $rid of method Drupal\user\Entity\User::addRole() expects string, int|string|null given.
Analyse code using PHPStan: web/modules/custom/dpl_consumers/src/ConsumerUser.php#L48
\Drupal calls should be avoided in classes, use dependency injection instead
Check Drupal Config
Process completed with exit code 201.
Test accessibility using Pa11y
Process completed with exit code 201.
Run Cypress functional tests
Process completed with exit code 201.
Check OpenAPI specification
Process completed with exit code 201.
Test site performance using Lighthouse
Process completed with exit code 201.
Shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Shellcheck
Input 'fail_on_error' has been deprecated with message: Deprecated, use `fail_level` instead.
Check PHP version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Validate Composer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Twig code style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check code style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint Cypress tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyse code using PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint Markdown
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint Drupal assets
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run PHP unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Drupal Config
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test accessibility using Pa11y
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test accessibility using Pa11y
No files were found with the provided path: pa11y/screenshots. No artifacts will be uploaded.
Run Cypress functional tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run Cypress functional tests
No files were found with the provided path: cypress/screenshots. No artifacts will be uploaded.
Run Cypress functional tests
No files were found with the provided path: cypress/videos. No artifacts will be uploaded.
Check OpenAPI specification
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test site performance using Lighthouse
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636