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] Monolog Bridge 2.8 is incompatible with HttpKernel 3.0 #16846

Merged
merged 1 commit into from
Dec 5, 2015

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Dec 5, 2015

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

Greetings from the SymfonyCon hackday. I wanted to start my day with an easy PR. 😉

As pointed out by @anlutro in #16837, MonologBridge 2.8 uses a deprecated interface of HttpKernel that has been removed in 3.0. Because of this, MonologBridge 2.8 must not be marked as compatible with HttpKernel 3.0 in composer.json.

@stof
Copy link
Member

stof commented Dec 5, 2015

👍

@stof
Copy link
Member

stof commented Dec 5, 2015

Can you also add a testcase covering the Logger class ? The fact that it is missing is the reason why it was not catched earlier.

@derrabus
Copy link
Member Author

derrabus commented Dec 5, 2015

I'll do that, but I'd better submit the test in a separate PR against 2.3, I guess?

@derrabus
Copy link
Member Author

derrabus commented Dec 5, 2015

See #16850 for the test case.

@nicolas-grekas
Copy link
Member

👍

@stof
Copy link
Member

stof commented Dec 5, 2015

Thank you @derrabus.

@stof stof merged commit cb8d2c3 into symfony:2.8 Dec 5, 2015
stof added a commit that referenced this pull request Dec 5, 2015
…tpKernel 3.0 (derrabus)

This PR was merged into the 2.8 branch.

Discussion
----------

[MonologBridge] Monolog Bridge 2.8 is incompatible with HttpKernel 3.0

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

Greetings from the SymfonyCon hackday. I wanted to start my day with an easy PR. 😉

As pointed out by @anlutro in #16837, MonologBridge 2.8 uses a deprecated interface of HttpKernel that has been removed in 3.0. Because of this, MonologBridge 2.8 must not be marked as compatible with HttpKernel 3.0 in composer.json.

Commits
-------

cb8d2c3 Disallow http-kernel 3.x, fixes #16837.
@derrabus derrabus deleted the 2.8-issue-16837 branch December 5, 2015 10:49
This was referenced Dec 26, 2015
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