Skip to content
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

[MonologBridge][WebServerBundle] Add suggestions for using the log server #25026

Merged
merged 1 commit into from Dec 12, 2017

Conversation

maidmaid
Copy link
Contributor

@maidmaid maidmaid commented Nov 19, 2017

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

If you want launch server:log, you need the monolog bridge and the VarDumper. Optionally, you need EL if you want use server:log --filter.

@ro0NL
Copy link
Contributor

ro0NL commented Nov 19, 2017

Related; should we patch isEnabled as well? If you load the webserverbundle based on a symfony/symfony project the CLI app crashes due a missing FormatterInterface from monolog/monolog.

@nicolas-grekas nicolas-grekas added this to the 3.3 milestone Nov 19, 2017
@chalasr chalasr removed the BC Break label Nov 19, 2017
@fabpot
Copy link
Member

fabpot commented Nov 20, 2017

I'm personally 👎 on adding more suggestions in composer.json. I don't see how it adds value as I don't see why people would read those suggestions when installing a new dependency. That's more something for the docs.

@maidmaid
Copy link
Contributor Author

@ro0NL Well seen! I added this one.

@fabpot Indeed, these suggestions must appear in the documentation; however, I think suggestions' composer must match with the documentation. Personally, I sometimes launch composer suggest -v for discover the suggestions.

@nicolas-grekas
Copy link
Member

ping @fabpot still not sold? I'm still +1 on my side :)

@fabpot
Copy link
Member

fabpot commented Dec 11, 2017

@nicolas-grekas Let's say I'm just +0 on this.

@nicolas-grekas
Copy link
Member

Merging then, especially since suggestions are not displayed in Flex era.

@nicolas-grekas
Copy link
Member

Thank you @maidmaid.

@nicolas-grekas nicolas-grekas merged commit aca0ddd into symfony:3.3 Dec 12, 2017
nicolas-grekas added a commit that referenced this pull request Dec 12, 2017
…ng the log server (maidmaid)

This PR was merged into the 3.3 branch.

Discussion
----------

[MonologBridge][WebServerBundle] Add suggestions for using the log server

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

If you want launch `server:log`, you need the monolog bridge and the VarDumper. Optionally, you need EL if you want use `server:log --filter`.

Commits
-------

aca0ddd Add suggestions
@maidmaid maidmaid deleted the fix-log-server branch December 12, 2017 09:10
nicolas-grekas added a commit that referenced this pull request Jan 3, 2018
…ists (kbond)

This PR was merged into the 3.3 branch.

Discussion
----------

[WebServerBundle] use interface_exists instead of class_exists

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

This bug was introduced in #25026

Commits
-------

dc3a94e use interface_exists instead of class_exists
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.

None yet

6 participants