-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WIP][FrameworkBundle] Added server status command #5373
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
When I first read "server status command" I thought of something else. This name is not optimal because a "status" is something that can change over time, e.g. a disruption of service. But the requirements fulfillment usually cannot change randomly without manual changes. So something like "server config check" is more appropriate. |
* @author Tiago Ribeiro <tiago.ribeiro@seegno.com> | ||
* @author Rui Marinho <rui.marinho@seegno.com> | ||
*/ | ||
class ServerStatusCommand extends ContainerAwareCommand |
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.
No need to extend ContainerAwareCommand when you dont use the container.
I like the idea but the problem is that we have the requirements now at 2 places redundant (here and in FrameworkExtraBundle where it is automatically copied to |
All reactions
Sorry, something went wrong.
I was thinking about suggesting the removal of the files from those 2 places if this change is accepted. |
All reactions
Sorry, something went wrong.
I don't think this should be in FrameworkBundle. It is not required to have it to use the framework. SensioDistributionBundle is better for this. And the way you implemented it requires to have s 8000 ymfony up and running before being able to check the requirements (you need to be able to boot the kernel). So I think half of these requirements checks may become useless because they will fail before you can check them. |
All reactions
Sorry, something went wrong.
Closing this PR as I like the way it is done now better. |
All reactions
Sorry, something went wrong.
This PR was squashed before being merged into the 7.1 branch. Discussion ---------- [Notifier] [SMSense] add docs Add SMSFactor docs symfony/symfony#5373 fixes #19588 Commits ------- 4fc32cd [Notifier] [SMSense] add docs
Successfully merging this pull request may close these issues.
This pull request is an attempt to move the
check.php
fromsymfony-standard
to theFrameworkBundle
.Is this something that can be merged in the future? Should we continue the work?