Skip to content
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

[7.x] Don't overwrite published stub files by default #32038

Merged
merged 1 commit into from Mar 20, 2020

Conversation

misenhower
Copy link
Contributor

This change modifies the stub:publish command so that it won't overwrite stub files that have already been published to the application. This aligns its behavior with the vendor:publish command.

This is useful when someone needs to re-publish the stub files later. For example, if they only want to keep the stub files they've modified in their application's stubs directory, or if new stub files are added later on.

You can still overwrite existing stub files by passing the --force flag.

@taylorotwell taylorotwell merged commit fc72e94 into laravel:7.x Mar 20, 2020
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.

None yet

2 participants