-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Update to Symfony 6.4 #1431
Update to Symfony 6.4 #1431
Conversation
After updating dependencies again, now we see some errors like this one:
|
For the Edit: updating the DoctrineBundle recipe to its latest version would enable this setting, as recipes are turning it on for new projects. |
The |
Thank you for the info about how to solve some of the deprecations! Great team effort! After last updates, I see these indirect deprecations:
|
There are the remaining indirect deprecations after the last changes:
|
Here are the indirect deprecations after the last updates:
|
Should we keep the |
After upgrading to Symfony 6.4.0-RC1, there's only 1 indirect deprecation:
We use that Lines 5 to 12 in 206f0c9
|
There's also a PHPStan issue. Which would be the best fix in this case?
|
Allowing TemplateController as a controller is something that should be fixed in FrameworkBundle. for the phpstan error, it is a mismatch between the type of your Paginator and the ORM one used inside it (the part about values can be solved, but the part about keys cannot without changing types of Paginator as the ORM paginator says that the keys in its iterator are always |
I don't know how to solve the PHPStan error. I'm trying with this: /**
* @var \Traversable<int|string, object>|\ArrayIterator<(int|string), mixed>
*/
private \Traversable|\ArrayIterator $results; But the error persists. I need help here. Thanks! |
The remaining indirect deprecation has been fixed in symfony/symfony#52656 |
I'm merging this "as is" ... so we can work in parallel ... preparing the PR with the upgrade to the final 6.4 version ... and also the PR to upgrade it to 7.0. The plan is to tag a version of this demo with 6.4 stable and soon after, tag another version with 7.0 stable. |
After upgrade, I can't see any direct deprecation in our code.
These are the indirect deprecations: