Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[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

Merged
merged 1 commit into from
Apr 2, 2015

Conversation

aitboudad
Copy link
Contributor

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')
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@stof
Copy link
Member

stof commented Mar 31, 2015

This makes sense to me, just like we grouped the debug commands

@fabpot
Copy link
Member

fabpot commented Apr 2, 2015

@aitboudad You should also trigger a deprecation notice when the old name is used (we've done that already for the debug:* commands).

@aitboudad
Copy link
Contributor Author

@fabpot done

@fabpot
Copy link
Member

fabpot commented Apr 2, 2015

Thank you @aitboudad.

@fabpot fabpot merged commit 8f72338 into symfony:2.7 Apr 2, 2015
fabpot added a commit that referenced this pull request Apr 2, 2015
…. (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.
@fabpot
Copy link
Member

fabpot commented Apr 3, 2015

@aitboudad This one broke the tests :( Can you have a look at that ASAP? Thanks.

@aitboudad
Copy link
Contributor Author

ok

@aitboudad
Copy link
Contributor Author

@fabpot fixed by #14197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.