Skip to content

Move rector/jack commands under swiss-knife - #154

Merged
TomasVotruba merged 1 commit into
mainfrom
move-jack
Oct 1, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
move-jack

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Bring jack's composer.json maintenance commands under the swiss-knife roof, so all commands live in one tool.

Added commands

  • open-versions - open composer.json constraints to the next version
  • breakpoint - fail CI when too many packages are majorly outdated
  • raise-to-installed - raise composer.json constraints to installed versions

How

  • Jack's src lives under src/Jack in the Rector\SwissKnife\Jack\ sub-namespace; tests under tests/Jack.
  • Commands are registered via entropy autodiscovery; InstalledVersionResolver is wired to the analyzed project's vendor/composer/installed.json. Jack's own ListCommand is dropped in favor of swiss-knife's built-in listing.
  • New runtime deps: composer/semver, symfony/process. Jack's str_contains/str_starts_with were downgraded to stay native PHP 7.4 (no polyfill), consistent with the rest of swiss-knife.
  • Dropped the rector/jack dev dependency.

rector/jack will be deprecated separately, pointing here.

@TomasVotruba
TomasVotruba merged commit 44a592f into main Oct 1, 2026
11 checks passed
@TomasVotruba
TomasVotruba deleted the move-jack branch October 1, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant