Manage box, composer, and phpDocumentor via mise#321
Conversation
The release script previously downloaded box.phar 4.6.10 and phpDocumentor.phar 3.8.1 with wget, verifying hardcoded sha256 hashes, and used a local composer.phar kept current via self-update. Install all three via mise's github backend instead, upgrading to box 4.7.0 and phpDocumentor 3.10.0. Integrity pinning moves to mise.lock, which records per-platform checksums, and mise additionally verifies SLSA provenance or GitHub artifact attestations at install time. Box 4.7.0 and phpDocumentor 3.10.0 were verified against this project: box compiles a working geoip2.phar (phar-test passes) and phpDocumentor generates the API docs. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe release workflow now uses Box, Composer, and phpDocumentor phars managed by mise, with direct invocations replacing download, hash verification, and PHP-wrapper commands. ChangesRelease tooling
Estimated code review effort: 3 (Moderate) | ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
The release script previously downloaded
box.phar4.6.10 andphpDocumentor.phar3.8.1 with wget, verifying hardcoded sha256 hashes, and used a localcomposer.pharkept current via self-update. This installs all three via mise'sgithub:backend instead, upgrading to box 4.7.0 and phpDocumentor 3.10.0.Integrity pinning moves to
mise.lock, which records per-platform checksums, and mise additionally verifies SLSA provenance (box, phpDocumentor) or GitHub artifact attestations (composer) at install time. Future upgrades aremise upgradeinstead of editing URLs and hashes in the script.Same change as maxmind/minfraud-api-php (on its
greg/stf-1074release branch) and maxmind/MaxMind-DB-Reader-php.Testing
box 4.7.0 compiles a working
geoip2.phar(dev-bin/phar-test.phppasses) and phpDocumentor 3.10.0 generates the API docs fromsrc/.bash -non the release script passes.🤖 Generated with Claude Code
Summary by CodeRabbit