From 3f886a5f8bf937af98a8e3892290df68f1fca577 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 13 Dec 2023 00:52:37 +0000 Subject: [PATCH] Update build configuration files --- phpcs.xml.dist | 31 +++++++++++++++++++++++++++++++ phpstan.neon.dist | 9 +++++++++ phpunit.xml.dist | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 phpcs.xml.dist create mode 100644 phpstan.neon.dist create mode 100644 phpunit.xml.dist diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 0000000..5fb9e39 --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,31 @@ + + + + + PHPCS configuration file for docker-example-drupal-commerce-kickstart. + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 0000000..8a1dc84 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,9 @@ +# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs. + +parameters: + level: + excludePaths: + - *Test.php + - *TestBase.php + paths: + diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..179546d --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + ./web/modules/custom/**/tests/**/Functional + + + ./web/modules/custom/**/tests/**/Kernel + + + ./web/modules/custom/**/tests/**/Unit + + +