Skip to content

feat: Acorn 5 / Laravel 12 support (retains Acorn 4 / Laravel 10 & 11) - #43

Merged
rivanuff merged 8 commits into
mainfrom
feat/acorn5
Sep 2, 2026
Merged

feat: Acorn 5 / Laravel 12 support (retains Acorn 4 / Laravel 10 & 11)#43
rivanuff merged 8 commits into
mainfrom
feat/acorn5

Conversation

@rivanuff

@rivanuff rivanuff commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Acorn 5 / Laravel 12 support — backward compatible

Adds support for Acorn 5 / Laravel 12 while retaining Acorn 4 / Laravel 10 & 11. This is a backward-compatible change.

Target release: v1.1.0 (minor).

  • Widened the composer.json constraints so the package installs on Laravel 10, 11 and 12 (Acorn 4 or 5 where applicable), and widened the dev toolchain (orchestra/testbench, pestphp/pest, larastan/larastan, szepeviktor/phpstan-wordpress) to span those versions.
  • CI now runs the Laravel 10 / 11 / 12 test matrix (requires feat: pair Testbench with Laravel version workflows#29 for the Laravel↔Testbench pairing).
  • Sibling yard/* dependencies aligned to their minor releases (e.g. yard/data ^1.6).

@rivanuff rivanuff self-assigned this Aug 25, 2026
@rivanuff rivanuff changed the title feat!: upgrade to Acorn 5 / Laravel 12 feat: Acorn 5 / Laravel 12 support (retains Acorn 4 / Laravel 10 & 11) Sep 1, 2026
@rivanuff
rivanuff marked this pull request as ready for review September 1, 2026 14:43
Copilot AI lite review requested due to automatic review settings September 1, 2026 14:43
@rivanuff
rivanuff requested a review from a team as a code owner September 1, 2026 14:43
@rivanuff
rivanuff requested review from Rovasch, ShunLuk, SimonvanWijhe, dtakken, ictbeheer and mvdhoek1 and a lite review from Copilot and removed request for Copilot September 1, 2026 14:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The PR broadens multiple major-version dependency constraints and CI matrix behavior in ways that warrant a human verification pass (especially around version pairing and real-world install/test results).

Pull request overview

This PR updates the package’s dependency constraints and CI configuration to support Acorn 5 / Laravel 12 while retaining compatibility with Acorn 4 / Laravel 10 & 11, aligning sibling yard/* dependencies accordingly.

Changes:

  • Broadened Composer constraints for Acorn, Corcel, and dev tooling (Testbench/Pest/PHPStan-related packages).
  • Updated CI to run a Laravel 10/11/12 test matrix across PHP 8.2 and 8.3 via the reusable workflow.
  • Stopped treating composer.lock as a tracked artifact (gitignored it) and removed related automation configuration.
File summaries
File Description
README.md Updates requirements wording and adds Packagist dependency badges.
composer.json Widens runtime and dev dependency constraints to span Laravel/Acorn versions; bumps yard/data.
.gitignore Ignores composer.lock.
.github/workflows/run-tests.yml Passes PHP/Laravel matrix inputs to the reusable test workflow.
.github/workflows/composer-lock-diff.yml Removes the Composer lock diff workflow (file deleted).
.github/dependabot.yml Removes Dependabot Composer update configuration.
Review details
  • Files reviewed: 5/7 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/run-tests.yml Outdated
Comment thread README.md
Comment on lines +8 to +9
![Packagist Dependency Version](https://img.shields.io/packagist/dependency-v/yard/wp-database/php)
![Packagist Dependency Version](https://img.shields.io/packagist/dependency-v/yard/wp-database/roots%2Facorn)
@rivanuff
rivanuff merged commit 2323b4f into main Sep 2, 2026
3 of 7 checks passed
@rivanuff
rivanuff deleted the feat/acorn5 branch September 2, 2026 12:12
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.

2 participants