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

8 lines
454 B
YAML

pipeline:
code-style:
image: composer
commands:
- composer global config repositories.repo-name vcs https://git.digital-competence.de/Packages/php-codesniffer
- composer 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/