-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Move lint commands to lint namespace. #14116
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
aitboudad
commented
Mar 30, 2015
Q | A |
---|---|
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Fixed tickets | ~ |
Tests pass? | yes |
License | MIT |
@@ -35,7 +35,7 @@ class LintCommand extends Command | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function __construct($name = 'twig:lint') | ||
public function __construct($name = 'lint:twig') |
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.
Without an alias, this will break now for people relying on the old name.
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.
fixed
This makes sense to me, just like we grouped the debug commands |
@aitboudad You should also trigger a deprecation notice when the old name is used (we've done that already for the debug:* commands). |
@fabpot done |
Thank you @aitboudad. |
…. (aitboudad) This PR was merged into the 2.7 branch. Discussion ---------- [FrameworkBundle] Move lint commands to lint namespace. | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Fixed tickets | ~ | Tests pass? | yes | License | MIT Commits ------- 8f72338 [FrameworkBundle] Move lint commands to lint namespace.
@aitboudad This one broke the tests :( Can you have a look at that ASAP? Thanks. |
ok |