-
Notifications
You must be signed in to change notification settings - Fork 11.4k
[5.2] Let use custom Application in Composer scripts #12835
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
Conversation
* Creates a Laravel application instance. | ||
* | ||
* @param string $basePath | ||
* @return \Illuminate\Foundation\Application |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
guess this should really be the contract here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
Just define your own Composer Scripts class in that case. |
Maybe at least change |
Agreed with @vlakoff, having |
Then submit a PR and see if it gets accepted. |
This IS a good PR IMHO. |
Oh sorry, mixed this with my original PR. This works for me too, but not my call.. |
Allow to use custom Application by extending
ComposerScripts::createApplication
and using the extendedComposerScripts
class incomposer.json
.