Skip to content

fix(updater): remove obsolete Illuminate Conditionable before autoload rebuild - #2665

Merged
Seiger merged 1 commit into
3.5.xfrom
sokil/fix-legacy-conditionable-35
Nov 28, 2026
Merged

Seiger merged 1 commit into
3.5.xfrom
sokil/fix-legacy-conditionable-35

Conversation

@Seiger

@Seiger Seiger commented Nov 28, 2026

Copy link
Copy Markdown

Summary

  • List only the obsolete illuminate/support/Traits/Conditionable.php in the archive cleanup manifest. The current trait lives in illuminate/conditionable.
  • The 3.5.7 updater reads the incoming manifest after overlaying the release and before running Composer. This lets the target archive fix the upgrade even when the installed updater predates this change.

Verification

  • Ran the 3.5.7 updater through its real overlay, Composer install and authoritative classmap rebuild, and php artisan package:discover on isolated copies (PHP 8.4.28, Composer 2.11.0). With a leftover Laravel 8 trait, the stock 3.5.10 ZIP and 3.5.x snapshot both reproduced the Collection::when() signature fatal error. With this manifest entry, both succeeded and the classmap selected illuminate/conditionable.
  • Clean 3.5.10 control passed. Database migrations were out of scope.

@Seiger
Seiger merged commit 3eface1 into 3.5.x Nov 28, 2026
17 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.

1 participant