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