When using SaaS, sometimes we need to use a base theme (placed into themes/THEMENAME) which does not follow Drupal coding standards OR there may be custom sources that should not be scanned by PHPCS at all.
Currently, there is no way to configure PHPCS and developers cannot properly use CI to check for coding standards since they fail for the base theme.
Is it possible to allow to provide a custom phpcs.xml file in the repo (through an env variable)?
When using SaaS, sometimes we need to use a base theme (placed into
themes/THEMENAME
) which does not follow Drupal coding standards OR there may be custom sources that should not be scanned by PHPCS at all.Currently, there is no way to configure PHPCS and developers cannot properly use CI to check for coding standards since they fail for the base theme.
Is it possible to allow to provide a custom
phpcs.xml
file in the repo (through an env variable)?