Skip to content

Commit

Permalink
Enable composer normalization check in CI, run fix manually to bring …
Browse files Browse the repository at this point in the history
…up to sync (#13)
  • Loading branch information
ben-challis committed Dec 2, 2023
1 parent fe8fd3c commit 8bf2025
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:
- name: "Validate Composer dependencies"
run: "composer validate"

- name: "Check composer.json normalization"
run: "composer normalize --dry-run --ansi"

- name: "Check Composer dependency licenses"
run: "composer licenses:check"

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
},
"require-dev": {
"ergebnis/composer-normalize": "^2.39",
"lendable/composer-license-checker": "^1.0.4",
"php-cs-fixer/shim": "^3.40.0",
"phpstan/phpstan": "^1.10.47",
"phpstan/phpstan-phpunit": "^1.3.15",
"rector/rector": "0.18.11",
"phpstan/phpstan-deprecation-rules": "^1.1.4",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan-strict-rules": "^1.5.2",
"lendable/composer-license-checker": "^1.0.4",
"php-cs-fixer/shim": "^3.40.0"
"rector/rector": "0.18.11"
},
"minimum-stability": "stable",
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8bf2025

Please sign in to comment.