You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I raise a PR with the develop branch in GitHub, drupal_code_quality check is facing while running on CI/CD pipeline.
Below is a reference for the issue:
Running phpcs --standard=phpcs.xml --extensions=php,module,inc,install,test,profile,theme --ignore=/node_modules/ docroot/modules/custom
/usr/bin/docker run --workdir /home/runner/work/glt/glt --rm --init --tty -v /var/run/docker.sock:/var/run/docker.sock -v /home/runner/work/glt/glt:/home/runner/work/glt/glt hussainweb/drupalqa:php7.4 phpcs --standard=phpcs.xml --extensions=php,module,inc,install,test,profile,theme --ignore=/node_modules/ docroot/modules/custom
ERROR: Referenced sniff "SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator" does not exist
Run "phpcs --help" for usage information
Error: drupalqa: The process '/usr/bin/docker' failed with exit code 3
The text was updated successfully, but these errors were encountered:
surajvantage
changed the title
Drupal code quality issue with CI/CD pipeline
Drupal code quality issue while running on CI/CD pipeline
Jan 31, 2022
Thanks, @surajvantage for reporting this. This is due to the new dependency added to the coder module (which contains the Drupal and DrupalPractice sniffs). See pfrenssen/coder#147. The dependency does get included but phpcs doesn't know about the path. We should fix that.
When I raise a PR with the develop branch in GitHub, drupal_code_quality check is facing while running on CI/CD pipeline.
Below is a reference for the issue:
The text was updated successfully, but these errors were encountered: