Skip to content
Snippets Groups Projects
Commit 229c5004 authored by Thomas Flori's avatar Thomas Flori
Browse files

use psr2 for now and update readme

parent 54174426
No related branches found
No related tags found
1 merge request!24switch to gitlab-ci and move project
Pipeline #745 canceled with stages
in 2 minutes and 40 seconds
...@@ -59,20 +59,20 @@ phpunit-old: ...@@ -59,20 +59,20 @@ phpunit-old:
- coverage/html - coverage/html
coverage: '/^\s*Lines:\s*\d+.\d+\%/' coverage: '/^\s*Lines:\s*\d+.\d+\%/'
# quality: #quality:
# stage: test # stage: test
# needs: [] # needs: [ ]
# image: iras/php-composer:8.2 # image: iras/php-composer:8.2
# cache: # cache:
# key: php-dependencies-8.2 # key: php-dependencies-8.2
# paths: # paths:
# - ./storage/composer # - ./storage/composer
# before_script: # before_script:
# - export COMPOSER_CACHE_DIR=$(pwd)/storage/composer # - export COMPOSER_CACHE_DIR=$(pwd)/storage/composer
# # basically we are ignoring the composer.lock in tests # # basically we are ignoring the composer.lock in tests
# - composer update --no-interaction --ansi # - composer update --no-interaction --ansi
# script: # script:
# - php vendor/bin/phpmd src,tests ansi ruleset.xml # - composer run code-quality
style: style:
stage: test stage: test
...@@ -87,7 +87,7 @@ style: ...@@ -87,7 +87,7 @@ style:
# basically we are ignoring the composer.lock in tests # basically we are ignoring the composer.lock in tests
- composer update --no-interaction --ansi - composer update --no-interaction --ansi
script: script:
- php vendor/bin/phpcs --colors --standard=PSR12 src tests - composer run code-style
packagist: packagist:
stage: publish stage: publish
......
# tflori/verja # tflori/verja
[![.github/workflows/push.yml](https://github.com/tflori/verja/actions/workflows/push.yml/badge.svg)](https://github.com/tflori/verja/actions/workflows/push.yml) [![Build Status](https://gitlab.w00tserver.org/tflori/verja/badges/master/pipeline.svg)](https://gitlab.w00tserver.org/tflori/verja/-/pipelines)
[![Test Coverage](https://api.codeclimate.com/v1/badges/e07f4d5da0789699e27c/test_coverage)](https://codeclimate.com/github/tflori/verja/test_coverage) [![Coverage Status](https://gitlab.w00tserver.org/tflori/verja/badges/master/coverage.svg)](https://gitlab.w00tserver.org/tflori/verja/-/pipelines)
[![Maintainability](https://api.codeclimate.com/v1/badges/e07f4d5da0789699e27c/maintainability)](https://codeclimate.com/github/tflori/verja/maintainability)
[![Latest Stable Version](https://poser.pugx.org/tflori/verja/v/stable.svg)](https://packagist.org/packages/tflori/verja) [![Latest Stable Version](https://poser.pugx.org/tflori/verja/v/stable.svg)](https://packagist.org/packages/tflori/verja)
[![Total Downloads](https://poser.pugx.org/tflori/verja/downloads.svg)](https://packagist.org/packages/tflori/verja) [![Total Downloads](https://poser.pugx.org/tflori/verja/downloads.svg)](https://packagist.org/packages/tflori/verja)
[![License](https://poser.pugx.org/tflori/verja/license.svg)](https://packagist.org/packages/tflori/verja) [![License](https://poser.pugx.org/tflori/verja/license.svg)](https://packagist.org/packages/tflori/verja)
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
} }
}, },
"scripts": { "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", "code-quality": "phpmd src,tests ansi ruleset.xml",
"test": "phpunit --stderr", "test": "phpunit --stderr",
"coverage": "phpunit --stderr --coverage-text" "coverage": "phpunit --stderr --coverage-text"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment