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.5] fixed a bug in app:name command #20766

Merged
merged 2 commits into from
Aug 26, 2017
Merged

[5.5] fixed a bug in app:name command #20766

merged 2 commits into from
Aug 26, 2017

Conversation

SamAsEnd
Copy link
Contributor

@SamAsEnd SamAsEnd commented Aug 26, 2017

  • Laravel Version: 5.5-dev
  • PHP Version: >= 7.0
  • Database Driver & Version: -

Description:

As you see

screenshot from 2017-08-26 12-53-43

the old ModelFactory.php has been removed and simplified.

But the AppNameCommand.php file is not still updated correspondingly!

https://github.com/laravel/framework/blob/master/src/Illuminate/Foundation/Console/AppNameCommand.php#L227

screenshot from 2017-08-26 12-54-29

Steps To Reproduce:

  • Create a new Laravel(5.5-dev) app
  • execute php artisan app:name Test

See that the database/factories/UserFactory.php file is still using App\User

Should have been Test\User.

@taylorotwell taylorotwell merged commit e5ee57c into laravel:master Aug 26, 2017
@SamAsEnd SamAsEnd deleted the master branch August 26, 2017 20:48
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