Skip to content

Rename Inspire to InspireCommand to be consistent with core commands #3574

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

Closed
wants to merge 3 commits into from

Conversation

yahya-uddin
Copy link
Contributor

@yahya-uddin
Copy link
Contributor Author

Why was this merge closed? I thought it was a fair change that made sense and consistent with the rest of the framework.

@taylorotwell
Copy link
Member

The command suffix is redundant since we're in the commands namespace.

On Wed, Nov 25, 2015 at 9:22 PM, Yahya Uddin notifications@github.com
wrote:

Why was this merge closed? I thought it was a fair change that made sense and consistent with the rest of the framework.

Reply to this email directly or view it on GitHub:
#3574 (comment)

@yahya-uddin
Copy link
Contributor Author

Although I agree with you, it should be noted this is inconsistent with the rest of the framework.

For example consider the controllers: "AuthController" and "PasswordController" which sits in the "Controller" directory.

Or consider the "AppServiceProvider", "AuthServiceProvider", "EventServiceProvider", "RouteServiceProvider" in the "Providers" directory.

Not to mention the files in https://github.com/laravel/framework/tree/5.1/src/Illuminate/Foundation/Console

Therefore I think consistency is more important.

However, with that said I think you have a point and I would suggest removing the words "Provider" and "Controller" from these classes.

@yahya-uddin
Copy link
Contributor Author

But consistency beats shorthand

@taylorotwell
Copy link
Member

No. I am not obligated to name it consistently with the framework core commands, whose class names aren't even exposed to the user, if I no longer feel like that is the best way to name commands.

On Thu, Nov 26, 2015 at 5:17 AM, Yahya Uddin notifications@github.com
wrote:

But consistency beats shorthand

Reply to this email directly or view it on GitHub:
#3574 (comment)

@yahya-uddin
Copy link
Contributor Author

fair enough

@yahya-uddin yahya-uddin deleted the patch-1 branch November 26, 2015 19:58
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