Skip to content

[command] Add dependency analysis command (#10)#24

Merged
coisa merged 4 commits intomainfrom
codex/issue-10-dependencies-command
Apr 10, 2026
Merged

[command] Add dependency analysis command (#10)#24
coisa merged 4 commits intomainfrom
codex/issue-10-dependencies-command

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 10, 2026

Summary

Adds a new dependencies command that combines composer-dependency-analyser and composer-unused into a single dependency health report. Both analyzers are now bundled as direct dependencies of fast-forward/dev-tools, so the command works out of the box after installing this package.

Changes

  • add FastForward\DevTools\Command\DependenciesCommand and register it in the Composer command provider
  • add focused PHPUnit coverage for success, findings, unreadable analyzer output, and missing-binary installation failures
  • bundle shipmonk/composer-dependency-analyser and icanhazstring/composer-unused in composer.json and update user-facing docs accordingly

Testing

  • composer dev-tools tests -- --filter='DependenciesCommandTest|DevToolsCommandProviderTest'
  • composer dev-tools

Closes #10

coisa added 4 commits April 9, 2026 21:40
@coisa coisa merged commit f835cd0 into main Apr 10, 2026
5 checks passed
@coisa coisa deleted the codex/issue-10-dependencies-command branch April 10, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add dev-tools dependencies command for dependency analysis (unused & missing detection)

1 participant