mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-25 11:56:12 +01:00
Add composer normalize phive (#193)
This commit is contained in:
parent
c94582767a
commit
3a086c5552
6 changed files with 14 additions and 0 deletions
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
|
@ -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>
|
||||
|
|
BIN
tools/composer-normalize.phar
Executable file
BIN
tools/composer-normalize.phar
Executable file
Binary file not shown.
Loading…
Reference in a new issue