Skip to content

[Console] Deprecate HelperSet::setCommand() and getCommand() #42632

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
Aug 18, 2021

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Aug 18, 2021

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? yes
Tickets N/A
License MIT
Doc PR N/A

The HelperSet has a getter and setter for a Command property. But as far as I can tell, that property is neither populated nor queried anywhere and I fail to see what purpose that property serves. Because of that I'd like to remove it in Symfony 6.

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

👍 with minor comment

@derrabus derrabus force-pushed the remove/helper-set-command branch from 44db258 to 60bff9b Compare August 18, 2021 21:02
@derrabus derrabus merged commit 2fb15cd into symfony:5.4 Aug 18, 2021
@derrabus derrabus deleted the remove/helper-set-command branch August 18, 2021 21:06
fabpot added a commit that referenced this pull request Aug 19, 2021
…mand()` (derrabus)

This PR was merged into the 6.0 branch.

Discussion
----------

[Console] Remove `HelperSet::setCommand()` and `getCommand()`

| Q             | A
| ------------- | ---
| Branch?       | 6.0
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Follows #42632.

Commits
-------

6a1c407 Remove HelperSet::setCommand() and getCommand()
This was referenced Nov 5, 2021
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