Skip to content

Commit

Permalink
Add require-checker to composer scripts
Browse files Browse the repository at this point in the history
A new script named "req-check" has been added in the composer scripts, which checks unused or undeclared packages. This requirement checker will help us clean up the composer package list and manage dependencies more efficiently.
  • Loading branch information
koriym committed May 23, 2024
1 parent 7717855 commit 1bd4504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"sa": ["psalm -c psalm.compiler.xml --show-info=false", "phpstan analyse -c phpstan.neon --no-progress"],
"metrics": ["@test", "phpmetrics --report-html=build/metrics --exclude=Exception --log-junit=build/junit.xml --junit=build/junit.xml src"],
"phpmd": ["phpmd src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov", "@metrics"]
"build": ["@cs", "@sa", "@pcov", "@metrics"],
"req-check": ["./vendor-bin/tools/vendor/bin/composer-require-checker"]
},
"extra": {
"bamarni-bin": {
Expand Down

0 comments on commit 1bd4504

Please sign in to comment.