-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 symfony7 #5951
Update to symfony7 #5951
Conversation
drush fi not working
@@ -58,15 +58,15 @@ public function getOption(string $name): mixed | |||
return false; | |||
} | |||
|
|||
protected function setTokens(array $tokens) | |||
protected function setTokens(array $tokens): void |
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.
The path to this file still says v6
. Maybe this should be in a v7
folder for clarity.
@@ -206,6 +206,8 @@ public function loadSymfonyCompatabilityAutoloader(): ClassLoader | |||
4 => 'v4', // Drupal 9 | |||
5 => 'v4', // Early Drupal 10 (Symfony 5 works with Symfony 4 classes, so we don't keep an extra copy) | |||
6 => 'v6', // Drupal 10 | |||
// @TODO Revisit if needed. | |||
7 => 'v6', // Drupal 11 |
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.
Should point to v7, interface is different for v6 vs v7. Could probably remove this mechanism if Drush only supported one major version of Drupal at a time, but it seems useful to support multiple versions.
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 can do this as follow-up work if you want to merge like this to get Symfony 7 into 13.x-dev
Almost there. Robo tag is imminent. This will be green once we get wodby/php#194 |
@weitzman: Can we merge with disabled (or failing) sqlite tests, and follow up after wodby/php#194 (or Alpine 3.20) is available? |
Fixes #5950
Prereqs