-
Notifications
You must be signed in to change notification settings - Fork 25
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
Type Error on ide-helper #37
Comments
Getting the same error myself. Hope this gets looked at. Tested using the following:
|
Short Info: The Fix should be merged soon. Maybe it will fix this problem. If it fixes the problem I will close the issue. |
Thanks @schonhoff for the research. Will be monitoring the changes as well. |
@mpociot FYI this issue is fixed by laravel/framework#46188. You will want to bump the minimum supported Laravel version for v10 when it's tagged by Taylor. |
Hey @joelbutcher , I tried the laravel/framework:v10.1.4 patch but it won't fix this particular problem. Here is a reproduction repo for this problem: I would guess, that Laravel helo is not using a MailManager class but using a Mailer class. This was possible before Laravel 10. But I'm not 100% sure. |
Hey @joelbutcher, I did the same twice on different systems and still get the error. Both on Windows 10. That is quite interesting. Can you try the following: That is how I set up the repo. I did a |
It seems this stems primarily from laravel/framework#31073, where Taylor introduced the feature for multiple mailers per app. It's only become a problem for this package because the change wasn't countered for, thus causing this package to break when laravel/framework#45988 was merged. |
I used Edit: |
@schonhoff That's correct. Since laravel/framework#31073, the facade root for the |
@schonhoff I was gonna take a look this afternoon, but feel free to investigate the yourself if you have the time 😁 |
@joelbutcher That would be nice! I'm still stuck with my app to upgrade to Laravel 10 but maybe I can find a solution. If you have the time this afternoon and I had not find a solution you could do it :) Would love to see your solution. Edit: |
@schonhoff see #39 |
@joelbutcher I was close :D At least something, I will investigate your PR tomorrow in detail to check what I missed. Thank you for your time and the PR hopefully it will get merged. |
Again thank you @joelbutcher, @schonhoff for the world class troubleshooting and PR. @mpociot any chance this PR will be reviewed and merged? thanks. |
+1 for this, same issue. Thank you all for trying to get it fixed, I'm looking forward to the release. |
Versions:
Description:
Hey,
after migrating to Laravel 10, I tried to update my ide-helper with
php artisan ide-helper:generate
. Sadly the following error occoured. I can not update my ide-helper at all. If more information were needed, I will try to provide them.Steps To Reproduce:
(Does not checked it myself but I would guess it is the same)
php artisan ide-helper:generate
More information:
barryvdh/laravel-ide-helper#1422
The text was updated successfully, but these errors were encountered: