Skip to content

feat: add Laravel Zero 12 support#43

Open
jordanpartridge wants to merge 1 commit intomasterfrom
feature/laravel-zero-12-support
Open

feat: add Laravel Zero 12 support#43
jordanpartridge wants to merge 1 commit intomasterfrom
feature/laravel-zero-12-support

Conversation

@jordanpartridge
Copy link
Contributor

@jordanpartridge jordanpartridge commented Feb 14, 2026

Changes

  • Updated laravel-zero/framework constraint from ^11.0 to ^11.0|^12.0
  • Maintains backward compatibility with Laravel Zero 11
  • Enables installation in Laravel Zero 12 projects

Testing

  • Verify package installs with Laravel Zero 11
  • Verify package installs with Laravel Zero 12
  • Run existing tests to ensure no regressions

Related

Allows synapse-sentinel/gate to be used in projects like jp-knowledge which use Laravel Zero ^12.0.2

Summary by CodeRabbit

  • Chores
    • Extended framework support to include Laravel Zero 12.x alongside existing 11.x compatibility.

- Update laravel-zero/framework constraint to support ^11.0|^12.0
- Maintains backward compatibility with Laravel Zero 11
- Enables installation in Laravel Zero 12 projects
@coderabbitai
Copy link

coderabbitai bot commented Feb 14, 2026

📝 Walkthrough

Walkthrough

The Laravel Zero framework dependency constraint in composer.json is expanded from ^11.0 to ^11.0|^12.0, allowing the project to support both 11.x and 12.x versions. No other dependencies or logic are modified.

Changes

Cohort / File(s) Summary
Dependency Version Update
composer.json
Updated Laravel Zero framework constraint from ^11.0 to ^11.0|^12.0 to support Laravel Zero 12.x alongside existing 11.x compatibility.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A framework grows, version by version bright,
From 11 to 12, we expand our sight,
A simple constraint, now dual and free,
More paths forward, compatibility spree! ✨

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'feat: add Laravel Zero 12 support' directly and clearly summarizes the main change: updating the Laravel Zero framework constraint to support version 12 alongside version 11.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into master

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/laravel-zero-12-support

No actionable comments were generated in the recent review. 🎉


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

📊 Coverage Report

Metric Coverage Threshold Status
Lines 68.2% 100%

Files Below Threshold

File Coverage Uncovered Lines
app/Commands/AnalyzeCommand.php 0% 22, 23, 25, 26, 28... (+51 more)
app/Commands/CheckCommand.php 0% 30, 31, 33, 34, 37... (+91 more)
app/Transformers/PhpStanPromptTransformer.php 3.6% 49, 51, 52, 53, 54... (+76 more)
app/Transformers/TestFailurePromptTransformer.php 11.7% 47, 68, 69, 71, 72... (+101 more)
app/Services/PromptAssembler.php 88.9% 55, 56, 57, 58, 120
app/GitHub/ChecksClient.php 89.1% 218, 219, 222, 223, 226... (+8 more)

🏆 Synapse Sentinel Gate

@github-actions
Copy link

🔧 Synapse Sentinel: 2 checks need attention

The following issues must be resolved before this PR can be merged:


All tests passed.---

Security Audit


Review the output and fix any issues.

Quick Reference:

  • PHPStan errors → Fix type mismatches first, then missing types
  • Test failures → Read the assertion message, trace expected vs actual
  • Style issues → Run composer format to auto-fix

🤖 Generated by Synapse Sentinel - View Run

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.

1 participant