-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Generate Command throws on Http Macros #1065
Labels
Comments
This PR #1066 should fix the error. This happens when a macroable class has a function with the name "fake". Then the generator thought that this class is a facade. |
Can confirm PR #1066 will fix this issue:
|
Closing the issue since the PR #1066 has been merged. |
Thanks @hettiger ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions:
Description:
The
php artisan ide-helper:generate
command throws if there are any Http macros registered:BadMethodCallException
I've came across this after updating from 2.7.0 to 2.8.1 on an old Laravel 7 project.
-> With 2.7.0 + Laravel 7 the Generate Command did not throw on Http Macros.
Steps To Reproduce:
Tests result
The text was updated successfully, but these errors were encountered: