-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix Symfony 8 compatibility issues #7009
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
Conversation
| use Symfony\Component\Console\Output\OutputInterface; | ||
|
|
||
| if ((new ReflectionMethod(Command::class, 'execute'))->hasReturnType()) { | ||
| // Symfony 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per composer.json, Symfony 8 isn't supported:
Line 50 in b37d160
| "symfony/console": "^5.4|^6.3|^7.0" |
Should it be updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet, Symfony 8 is still a moving target until November.
| { | ||
| protected function configure(): void | ||
| { | ||
| $this->doConfigure(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to add a CI job to get this branch covered?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's probably a good idea. I'll do it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed our existing dev dependencies workflow. It now runs on PHP 8.4 and with Symfony 8 libraries.
e94e95f to
6aa049c
Compare
6aa049c to
5649126
Compare
* 3.10.x: Fix Symfony 8 compatibility issues (doctrine#7009)
* 4.4.x: Document the JSON_OBJECT type (doctrine#7054) [RFC] Introduce Types::JSON_OBJECT (doctrine#7053) feat: add more pdo jobs with stringify fetches (doctrine#7052) Fix case sensitivity in SQLite column types (doctrine#7050) Fix length type in `MySQLSchemaManager` with `ATTR_STRINGIFY_FETCHES` enabled (doctrine#7028) Fix Symfony 8 compatibility issues (doctrine#7009) Quote MySQL constraint names for foreign keys
* 4.4.x: Document the JSON_OBJECT type (doctrine#7054) [RFC] Introduce Types::JSON_OBJECT (doctrine#7053) feat: add more pdo jobs with stringify fetches (doctrine#7052) Fix case sensitivity in SQLite column types (doctrine#7050) Fix length type in `MySQLSchemaManager` with `ATTR_STRINGIFY_FETCHES` enabled (doctrine#7028) Fix Symfony 8 compatibility issues (doctrine#7009) Quote MySQL constraint names for foreign keys
Summary
This PR fixes all current compatibility issues with Symfony 8.