Skip to content

Laravel 13.x Compatibility - #215

Merged
freekmurze merged 8 commits into
spatie:mainfrom
laravel-shift:l13-compatibility
Feb 21, 2026
Merged

Laravel 13.x Compatibility#215
freekmurze merged 8 commits into
spatie:mainfrom
laravel-shift:l13-compatibility

Conversation

@laravel-shift

Copy link
Copy Markdown
Contributor

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 13.x.

Before merging, you need to:

  • Checkout the l13-compatibility branch
  • Review all comments for additional changes
  • Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

@laravel-shift

Copy link
Copy Markdown
Contributor Author

⚠️ Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 13. However, you should review these changes to ensure the desired combination of versions are built for your package.

@laravel-shift

Copy link
Copy Markdown
Contributor Author

⚗️ Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.

To do so, temporarily add Shift's fork to the repositories property of your composer.json:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/laravel-feed.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:

{
    "require": {
        "spatie/laravel-feed": "dev-l13-compatibility",
    }
}

Finally, run: composer update

freekmurze and others added 6 commits February 21, 2026 10:48
Snapshot IDs shifted by +1 in newer pest-plugin-snapshots.
Rename all snapshot files accordingly.
Also drop Pest 2.x constraint (requires paratest, incompatible
with PHP 8.5).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous fix incorrectly shifted snapshot numbering from __1 to __2,
but Pest 3+/4 with pest-plugin-snapshots 2.x still uses 1-based numbering.
Restored original __1-based .txt snapshots and removed stale .php snapshot
files from the PHPUnit era. Also dropped Laravel 10 from composer.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The auto-incrementing snapshot counter is sensitive to iteration
order which changed between Laravel versions. Using explicit feed
name IDs makes the snapshots order-independent.

Also set fail-fast: false in CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@freekmurze
freekmurze merged commit 939427c into spatie:main Feb 21, 2026
11 checks passed
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