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