DigiComp.FlowSessionLock/.woodpecker/code-style.yml
Ferdinand Kuhl 84e52eaa68
Some checks failed
ci/woodpecker/push/code-style Pipeline failed
Allow phpcodesniffer composer installer scripts in CI
2022-08-01 01:02:58 +02:00

8 lines
461 B
YAML

pipeline:
code-style:
image: composer
commands:
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
- composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
- composer global require digicomp/php-codesniffer:@dev
- composer global exec -- phpcs --runtime-set ignore_warnings_on_exit 1 --standard=DigiComp Classes/ Tests/