From 8cc950a69c4ad0009246b0b3cf5d0d7c867e9bbd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 23 Apr 2023 20:00:35 +0100 Subject: [PATCH] build-configs(phpcs) --- build.yaml | 5 ++++- phpcs.xml.dist | 21 ++++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/build.yaml b/build.yaml index bac6d9e..28751d1 100644 --- a/build.yaml +++ b/build.yaml @@ -12,7 +12,10 @@ database: php: version: 8.1-fpm-bullseye phpcs: - standard: Drupal,DrupalPractice + paths: + - web/modules/custom + standards: + - Drupal phpstan: level: max paths: diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 19fe0bd..91ab104 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -4,10 +4,29 @@ PHPCS configuration file for docker-example-drupal. + web/modules/custom - + + + + + + + + + + + + + + + + + + +