Unverified Commit 3a086c55 authored by Łukasz Uznański's avatar Łukasz Uznański Committed by GitHub
Browse files

Add composer normalize phive (#193)

parent c9458276
......@@ -61,6 +61,7 @@ jobs:
- "php:sniff"
- "php:codestyle"
- "php:copypaste"
- "composer:normalize"
php-version:
- 7.4
code-quality-frontend:
......
......@@ -3,6 +3,7 @@ stages:
- build
- lint
- codestyle
- normalize
- test
include:
......@@ -296,3 +297,9 @@ php-copypaste-check:
- php-lint-php7.4
script:
- composer ci:php:copypaste
composer-normalize:
extends: .default
stage: codestyle
script:
- composer ci:composer:normalize
......@@ -47,6 +47,10 @@ All of those checks are available in Github Actions and in Gitlab CI.
`composer ci:ts:lint`
### Composer Normalize by [composer-normalize](https://github.com/ergebnis/composer-normalize)
`composer ci:composer:normalize`
### Running unit tests
`composer ci:tests:unit`
......
......@@ -79,6 +79,7 @@
"ci": [
"@ci:static"
],
"ci:composer:normalize": "php ./tools/composer-normalize.phar --dry-run",
"ci:dynamic": [
"@ci:tests"
],
......
......@@ -3,4 +3,5 @@
<phar name="phar-io/phive" version="^0.14.5" location="./tools/phive.phar" copy="true" installed="0.14.5"/>
<phar name="phpcpd" version="^6.0.3" location="./tools/phpcpd.phar" copy="true" installed="6.0.3"/>
<phar name="phpcs" version="^3.5.8" location="./tools/phpcs.phar" copy="true" installed="3.5.8"/>
<phar name="ergebnis/composer-normalize" version="^2.13.2" location="./tools/composer-normalize.phar" copy="true" installed="2.13.2"/>
</phive>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment