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

Add Symfony 7 support #1692

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Add Symfony 7 support #1692

merged 1 commit into from
Sep 11, 2023

Conversation

ostrolucky
Copy link
Member

I was curious what needs to be done so far. Not much so far.

@nicolas-grekas Is that added Container type declaration (instead of ContainerInterface) in \Symfony\Bridge\Doctrine\ManagerRegistry legit?

@ostrolucky ostrolucky force-pushed the symfony-7 branch 3 times, most recently from a22d139 to 2b7916e Compare August 5, 2023 09:53
Tests/RegistryTest.php Outdated Show resolved Hide resolved
Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Is that added Container type declaration (instead of ContainerInterface) in \Symfony\Bridge\Doctrine\ManagerRegistry legit?

yes it is, because we need that kind of container in resetService()

@nicolas-grekas
Copy link
Member

Could help fix the failing job:

--- a/.github/workflows/continuous-integration.yml
+++ b/.github/workflows/continuous-integration.yml
@@ -39,7 +39,7 @@ jobs:
           # Test LTS
           - symfony-require: "5.4.*"
             dependencies: "highest"
-            php-version: "8.0"
+            php-version: "8.1"
 

@stof
Copy link
Member

stof commented Aug 23, 2023

@nicolas-grekas to me, this is a bug in Symfony if installing deps on PHP 8.0 with Symfony 5.4 brings incompatible dependencies between Symfony packages.

@nicolas-grekas
Copy link
Member

I agree, but I'd wait for someone to be affected to have a closer look :)

@ostrolucky
Copy link
Member Author

I think it's just because symfony/translation-contracts@9fca658 was still not tagged

@ostrolucky ostrolucky force-pushed the symfony-7 branch 2 times, most recently from 8efe508 to 6b78117 Compare September 2, 2023 13:07
@nicolas-grekas nicolas-grekas merged commit 09dc74c into 2.11.x Sep 11, 2023
13 checks passed
@nicolas-grekas nicolas-grekas deleted the symfony-7 branch September 11, 2023 08:04
@nicolas-grekas
Copy link
Member

Thank you @ostrolucky

@derrabus derrabus added this to the 2.11.0 milestone Nov 12, 2023
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.

6 participants