8000 Fix compat with Symfony 5 after a recent deprecation by nicolas-grekas · Pull Request #1047 · doctrine/DoctrineBundle · GitHub
[go: up one dir, main page]

Skip to content

Fix compat with Symfony 5 after a recent deprecation #1047

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
Nov 8, 2019

Conversation

nicolas-grekas
Copy link
Member
@nicolas-grekas nicolas-grekas commented Nov 6, 2019

This drops support for Symfony 3.4, but the alternative is ugly, so I think we should do it, for v2 of course.

Follows symfony/symfony#34230 and symfony/symfony#34230

@nicolas-grekas nicolas-grekas force-pushed the dc branch 6 times, most recently from 947bbe4 to 0538e66 Compare November 6, 2019 15:38
@@ -36,7 +36,7 @@ public function __construct(ManagerRegistry $registry)
/**
* {@inheritdoc}
*/
public function collect(Request $request, Response $response, Exception $exception = null)
public function collect(Request $request, Response $response, Throwable $exception = null)
Copy link
Member Author

Choose a reason for hiding this comment

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

this is the change that triggered all the rest

@@ -5,6 +5,7 @@
"keywords": ["DBAL", "ORM", "Database", "Persistence"],
"homepage": "http://www.doctrine-project.org",
"license": "MIT",
"minimum-stability": "dev",
Copy link
Member

Choose a reason for hiding this comment

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

I suppose this is ok to avoid a bunch of composer config calls in .travis.yml - let's see if we have any adverse side effects.

@alcaeus alcaeus self-assigned this Nov 6, 2019
@alcaeus alcaeus added this to the 2.0.0 milestone Nov 6, 2019
@alcaeus alcaeus merged commit 6246c15 into doctrine:master Nov 8, 2019
@alcaeus
Copy link
Member
alcaeus commented Nov 8, 2019

Thanks @nicolas-grekas!

@nicolas-grekas nicolas-grekas deleted the dc branch July 28, 2022 13:41
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.

2 participants
0