Problem/Motivation
The phpcs job fails on Gitlab CI at the moment with this error.
ERROR: Referenced sniff "Drupal.WhiteSpace.OperatorSpacing" does not exist
Run "phpcs --help" for usage informationIt's unclear why this happens but #3358806: Rename phpcs.xml.dist to phpcs.xml in preparation for GitLabCI provides a good lead. We should begin by renaming phpcs.xml.dist to see if it fixes the problem.
Comments
Comment #2
hussainwebThe module contains a phpcs.xml.dist from here: https://git.drupalcode.org/project/examples/blob/HEAD/phpcs.xml.dist.
As such, the current version of the file is very similar to the one in the above link (except the sniff referred to in the error message). While we can update the file, I think it is more productive to just remove the file and let Gitlab CI pull in the default one. We can bring this one back if we need to customize anything.
Comment #4
hussainweb