-
Notifications
You must be signed in to change notification settings - Fork 0
IBX-8471: Upgraded codebase to Symfony 7 #31
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
68c8b6f to
0dac402
Compare
f0cf162 to
561209c
Compare
|
Update: added |
Mainly used to configure EnableForeignKeys middleware for SQLite.
561209c to
059d904
Compare
|



Caution
Merge together with other IBX-8471 Pull Requests
Description:
Upgrading Symfony dependencies to version 7 along with necessary 3rd party packages and codebase changes.
For this package, the most notable changes are related to major upgrade of doctrine/dbal package to v3.
SQLSessionInitevent subscriber got deprecated in favor ofEnableForeignKeysmiddleware. Therefore the new contract has been introduced -\Ibexa\DoctrineSchema\Database\DbPlatform\DbPlatformInterface::configurewhich can configure an instance of\Doctrine\DBAL\Configuration, by e.g. calling$configuration->setMiddlewares([new EnableForeignKeys()]for SQLite.Key changes:
DbPlatformInterface::configurecontractconfigurecontractFor QA:
Sanity tests and/or regression builds.