Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] removed unneeded check #12552

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 1 commit into from

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Nov 23, 2014

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

It is already checked in the isEnabled() method of the parent
ServerCommand class if the current PHP build is HHVM and the
server:start command is never enabled then. Thus, it's not needed
to check for HHVM on every command execution.

This was pointed out by @stof in #12489 for the server:run command.

It is already checked in the `isEnabled()` method of the parent
`ServerCommand` class if the current PHP build is HHVM and the
`server:start` command is never enabled then. Thus, it's not needed
to check for HHVM on every command execution.

This was pointed out by @stof in symfony#12489 for the `server:run` command.
@fabpot
Copy link
Member

fabpot commented Nov 28, 2014

Closing as this is the same as #12551

@fabpot fabpot closed this Nov 28, 2014
@xabbuh
Copy link
Member Author

xabbuh commented Nov 28, 2014

@fabpot #12551 was for the server:run command. This pull request updates server:start. I had to create separate pull requests as server:run is only available as of Symfony 2.6.

@fabpot
Copy link
Member

fabpot commented Nov 29, 2014

sorry, I was confused, going to merge it now.

@fabpot
Copy link
Member

fabpot commented Nov 29, 2014

Thank you @xabbuh.

fabpot added a commit that referenced this pull request Nov 29, 2014
This PR was merged into the 2.6 branch.

Discussion
----------

[FrameworkBundle] removed unneeded check

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

It is already checked in the `isEnabled()` method of the parent
`ServerCommand` class if the current PHP build is HHVM and the
`server:start` command is never enabled then. Thus, it's not needed
to check for HHVM on every command execution.

This was pointed out by @stof in #12489 for the `server:run` command.

Commits
-------

ce2adfa removed unneeded check
@xabbuh
Copy link
Member Author

xabbuh commented Nov 29, 2014

@fabpot Never mind, thanks.

@xabbuh xabbuh deleted the remove-unneeded-check-2.6 branch November 29, 2014 10:39
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