Skip to content

Commit 8bf2025

Browse files
authored
Enable composer normalization check in CI, run fix manually to bring up to sync (#13)
1 parent fe8fd3c commit 8bf2025

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
- name: "Validate Composer dependencies"
6161
run: "composer validate"
6262

63+
- name: "Check composer.json normalization"
64+
run: "composer normalize --dry-run --ansi"
65+
6366
- name: "Check Composer dependency licenses"
6467
run: "composer licenses:check"
6568

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
},
1616
"require-dev": {
1717
"ergebnis/composer-normalize": "^2.39",
18+
"lendable/composer-license-checker": "^1.0.4",
19+
"php-cs-fixer/shim": "^3.40.0",
1820
"phpstan/phpstan": "^1.10.47",
19-
"phpstan/phpstan-phpunit": "^1.3.15",
20-
"rector/rector": "0.18.11",
2121
"phpstan/phpstan-deprecation-rules": "^1.1.4",
22+
"phpstan/phpstan-phpunit": "^1.3.15",
2223
"phpstan/phpstan-strict-rules": "^1.5.2",
23-
"lendable/composer-license-checker": "^1.0.4",
24-
"php-cs-fixer/shim": "^3.40.0"
24+
"rector/rector": "0.18.11"
2525
},
2626
"minimum-stability": "stable",
2727
"autoload": {

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)