From aa150cea9fbe2f3b5ac22a3005d915bb9e539e6d Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Mon, 1 Aug 2022 00:18:22 +0200 Subject: [PATCH] Adding code-style build pipeline --- .woodpecker/code-style.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .woodpecker/code-style.yml diff --git a/.woodpecker/code-style.yml b/.woodpecker/code-style.yml new file mode 100644 index 0000000..e9d28f7 --- /dev/null +++ b/.woodpecker/code-style.yml @@ -0,0 +1,7 @@ +pipeline: + code-style: + image: composer + commands: + - composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer + - composer global require digicomp/php-codesniffer:@dev + - composer global exec -- phpcs --runtime-set ignore_warnings_on_exit 1 --standard=DigiComp Classes/ Tests/