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

[5.1] Fix AppNameCommand when setting composer namespace #13208

Merged
merged 1 commit into from
Apr 21, 2016

Conversation

leonardoalifraco
Copy link
Contributor

Fix AppNameCommand when setting composer namespace for namespaces with more than one section.

If the namespace is changed using the artisan app:name command to Hello\World it changes fine since the original namespace has only a single section. Then if the namespace is changed again it was failing because it couldn't match the original namespace on the replacement sentence.

Escaping the slashes solves the problem.

@GrahamCampbell GrahamCampbell changed the title Fix AppNameCommand when setting composer namespace [5.1] Fix AppNameCommand when setting composer namespace Apr 19, 2016
@taylorotwell taylorotwell merged commit f4c56c8 into laravel:5.1 Apr 21, 2016
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.

2 participants