diff --git a/build.yaml b/build.yaml index 64610e4..9b88af5 100644 --- a/build.yaml +++ b/build.yaml @@ -11,16 +11,9 @@ database: php: version: 8.1-fpm-bullseye - phpcs: - paths: - - web/modules/custom - standards: - - Drupal - - DrupalPractice - phpstan: - level: max - paths: - - web/modules/custom + phpcs: false + phpstan: false + phpunit: false drupal: docroot: web diff --git a/phpcs.xml.dist b/phpcs.xml.dist deleted file mode 100644 index 7a22b30..0000000 --- a/phpcs.xml.dist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - PHPCS configuration file for docker-example-drupal-commerce-kickstart. - - web/modules/custom - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/phpstan.neon.dist b/phpstan.neon.dist deleted file mode 100644 index a5a696c..0000000 --- a/phpstan.neon.dist +++ /dev/null @@ -1,9 +0,0 @@ -# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs. - -parameters: - level: max - excludePaths: - - *Test.php - - *TestBase.php - paths: - - web/modules/custom diff --git a/phpunit.xml.dist b/phpunit.xml.dist deleted file mode 100644 index 179546d..0000000 --- a/phpunit.xml.dist +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - ./web/modules/custom/**/tests/**/Functional - - - ./web/modules/custom/**/tests/**/Kernel - - - ./web/modules/custom/**/tests/**/Unit - - - diff --git a/run b/run index 642e8a1..14744fe 100755 --- a/run +++ b/run @@ -21,9 +21,7 @@ function ci:test { composer install --quiet --no-progress - test --testdox - quality } # Run a command within the php container. @@ -31,9 +29,6 @@ function cmd { docker compose exec php "${@}" } -function coding-standards { - cmd phpcs "${@}" -} function composer { _exec php composer "${@}" @@ -65,10 +60,6 @@ function lint:dockerfile { hadolint/hadolint hadolint --ignore DL3008 --ignore DL3059 -t style "${@}" - < Dockerfile } -function quality { - coding-standards - static-analysis -} function start { cp -v --no-clobber .env.example .env @@ -76,22 +67,13 @@ function start { docker compose up -d } -function static-analysis { - cmd phpstan --memory-limit=-1 --no-progress "${@}" -} function stop { docker compose down } -function test { - _exec php phpunit --colors=always "${@}" -} function test:commit { - test --testdox --testsuite functional - test --testdox --testsuite kernel - test --testdox --testsuite unit quality }