Adding code-style build pipeline
Some checks failed
ci/woodpecker/push/code-style Pipeline failed

This commit is contained in:
Ferdinand Kuhl 2022-08-01 00:18:22 +02:00
parent 287ef82621
commit aa150cea9f

View file

@ -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/