From ae50869065179c0967afed1f2dea08b4bb983bad Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 30 Jun 2020 17:31:36 +0100 Subject: [PATCH] Add phpcs.xml.dist Fixes #124 --- .gitignore | 1 + phpcs.xml.dist | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 phpcs.xml.dist diff --git a/.gitignore b/.gitignore index b205bd1..0b83f80 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ !/bin/* !/config/** !/Makefile +!/phpcs.xml.dist !/phpstan.neon !/phpunit.xml.dist !/scripts/** diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 0000000..d109a3f --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,57 @@ + + + Drupal Coding Standards + + ./web/modules/custom + ./web/themes/custom + + + + ./web/sites/* + ./web/themes/custom/*\.(?!theme$) + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + 1 + + + 1 + + + + + 0 + +