-
Notifications
You must be signed in to change notification settings - Fork 11.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
illuminate/collections 12.x dev branch has non-included dependencies #55270
Comments
This broke deploys with vapor CLI |
yea it broke new installation with PHP Fatal error: Trait "Illuminate\Collections\Traits\TransformsToResourceCollection" not found in ...\AppData\Roaming\Composer\vendor\illuminate\collections\Collection.php on line 23 he need to change namespace to |
Lol pls fix vapor <3 |
We can't deploy anything to Vapor. JFC. UPDATE - in case useful for othersWe've resolved it in the meantime, by pinning the stable version within our CI GitHub Action
|
Does it help with the new v12.7.1 fix which was released? |
This was fixed in illuminate/collections 12.7.1. |
It was fixed in illuminate/collections 12.7.2 (not 12.7.1) |
This was introduced in 12.7.1. It's now fixed, thanks. |
We pushed another fix in v12.7.2, thanks all! |
Sorry everyone! |
Laravel Version
12.x
PHP Version
8.3
Database Driver & Version
No response
Description
When using illuminate/collections separately from the framework, illuminate/collections@4ee8d36 introduced a dependency on
Illuminate\Http\Resources\TransformsToResourceCollection
which is not included if you are using the package directlySteps To Reproduce
Update illuminate/collections to use the 12.x branch.
new \Illuminate\Support\Collection([])
will error.The text was updated successfully, but these errors were encountered: