Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to provide custom phpcs.xml file #202

Open
AlexSkrypnyk opened this issue Jul 5, 2022 · 1 comment
Open

Allow to provide custom phpcs.xml file #202

AlexSkrypnyk opened this issue Jul 5, 2022 · 1 comment

Comments

@AlexSkrypnyk
Copy link
Contributor

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)?

@naveenvalecha
Copy link

@steveworley Can you provide advice on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants