mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-19 17:56:12 +02:00

Add composer normalize phive (#193)

This commit is contained in:
Łukasz Uznański 2021-02-18 10:44:35 +01:00 committed by GitHub
parent c94582767a
commit 3a086c5552
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 0 deletions

View file

@ -61,6 +61,7 @@ jobs:
- "php:sniff"
- "php:codestyle"
- "php:copypaste"
- "composer:normalize"
php-version:
- 7.4
code-quality-frontend:

View file

@ -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

View file

@ -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`

View file

@ -79,6 +79,7 @@
"ci": [
"@ci:static"
],
"ci:composer:normalize": "php ./tools/composer-normalize.phar --dry-run",
"ci:dynamic": [
"@ci:tests"
],

View file

@ -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>

BIN
tools/composer-normalize.phar Executable file

Binary file not shown.