diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce41b307beba4f90ab86c0aa4c9ff1769168caa6..1ec239d290980905e98924c0c6ed33d0f2ca5f84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,20 +59,20 @@ phpunit-old: - coverage/html coverage: '/^\s*Lines:\s*\d+.\d+\%/' -# quality: -# stage: test -# needs: [] -# image: iras/php-composer:8.2 -# cache: -# key: php-dependencies-8.2 -# paths: -# - ./storage/composer -# before_script: -# - export COMPOSER_CACHE_DIR=$(pwd)/storage/composer -# # basically we are ignoring the composer.lock in tests -# - composer update --no-interaction --ansi -# script: -# - php vendor/bin/phpmd src,tests ansi ruleset.xml +#quality: +# stage: test +# needs: [ ] +# image: iras/php-composer:8.2 +# cache: +# key: php-dependencies-8.2 +# paths: +# - ./storage/composer +# before_script: +# - export COMPOSER_CACHE_DIR=$(pwd)/storage/composer +# # basically we are ignoring the composer.lock in tests +# - composer update --no-interaction --ansi +# script: +# - composer run code-quality style: stage: test @@ -87,7 +87,7 @@ style: # basically we are ignoring the composer.lock in tests - composer update --no-interaction --ansi script: - - php vendor/bin/phpcs --colors --standard=PSR12 src tests + - composer run code-style packagist: stage: publish diff --git a/README.md b/README.md index 1c7d53ac0de23027c0b1ace3d681170a5f9a6268..29b97fedb45fb03950386f1940a95bc97b780473 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ # tflori/verja -[](https://github.com/tflori/verja/actions/workflows/push.yml) -[](https://codeclimate.com/github/tflori/verja/test_coverage) -[](https://codeclimate.com/github/tflori/verja/maintainability) +[](https://gitlab.w00tserver.org/tflori/verja/-/pipelines) +[](https://gitlab.w00tserver.org/tflori/verja/-/pipelines) [](https://packagist.org/packages/tflori/verja) [](https://packagist.org/packages/tflori/verja) [](https://packagist.org/packages/tflori/verja) diff --git a/composer.json b/composer.json index fecde742d334b81303120aeaa8ef9452746bea5a..d31c4ecebb11d704c179466125bf3a20fd0cbd28 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ } }, "scripts": { - "code-style": "phpcs --colors --standard=PSR12 src tests", + "code-style": "phpcs --colors --standard=PSR2 src tests", "code-quality": "phpmd src,tests ansi ruleset.xml", "test": "phpunit --stderr", "coverage": "phpunit --stderr --coverage-text"