-
Notifications
You must be signed in to change notification settings - Fork 5
Migration/doctrine 3 #332
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
Merged
Merged
Migration/doctrine 3 #332
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
af5cd63 to
660baf4
Compare
mpoiriert
previously requested changes
Jan 31, 2026
Owner
mpoiriert
left a comment
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.
Minor changes, could have merge with them but might as well fix it.
...ages/messenger/Tests/DoctrineMessageBusHook/EventListener/DoctrineBusMessageListenerTest.php
Outdated
Show resolved
Hide resolved
packages/messenger/DoctrineMessageBusHook/EventListener/DoctrineBusMessageListener.php
Outdated
Show resolved
Hide resolved
...ages/messenger/Tests/DoctrineMessageBusHook/EventListener/DoctrineBusMessageListenerTest.php
Outdated
Show resolved
Hide resolved
a042cec to
e09f26d
Compare
Migrate from the deprecated SQLLogger interface (removed in DBAL 4.x) to the new middleware system for SQL profiling in tests. New classes: - QueryCollector: Collects SQL queries - ProfilingMiddleware: Entry point, tagged as doctrine.middleware - ProfilingDriver: Wraps driver - ProfilingConnection: Captures query/exec calls - ProfilingStatement: Captures prepared statements DoctrineOrmTrait: - Add strict return types for ManagerRegistry compatibility with persistence 4.x - Remove deprecated getAliasNamespace() method
- Replace deprecated Comparator with SchemaManager::createComparator() - Replace createSchema() with introspectSchema() - Replace toSaveSql() with Platform::getAlterSchemaSQL() - Replace setPrimaryKey() with addPrimaryKeyConstraint() - Replace prepare()->executeStatement() with executeStatement() - Use array_push with spread operator for better performance - In ORM 3.x, entity-specific clear is no longer supported - OnClearEventArgs no longer has getEntityClass() method
- Replace prepare()->executeStatement() with executeStatement() - Bump doctrine/dbal to ^4.4 and doctrine/orm to ^3.6
- Association mappings are now objects instead of arrays - Replace array access with object property access - Replace ClassMetadataInfo with ClassMetadata - Use array_push with spread operator for better performance in loops
- Association and field mappings are now objects instead of arrays - Replace array access with object property access - Replace ClassMetadataInfo with ClassMetadata - Bump doctrine/orm to ^3.6
- BigIntType::getBindingType() now returns ParameterType enum - Association mappings are now objects instead of arrays - Bump doctrine/orm to ^3.6 and doctrine/dbal to ^4.4
- Replace ClassMetadataInfo with ClassMetadata - Bump doctrine/orm to ^3.6
- Replace ClassMetadataInfo with ClassMetadata
Root and package dependency upgrades: - doctrine/dbal: ^3.3 → ^4.4 - doctrine/orm: ^2.11 → ^3.6 - doctrine/doctrine-bundle: ^2.5 → ^2.13 - doctrine/collections: ^1.0 → ^2.2 - knplabs/doctrine-behaviors: * → ^3.0 - sonata-project/doctrine-orm-admin-bundle: ^4.2 → ^4.19
Use security command on macOS instead of update-ca-certificates for installing self-signed certificates.
e09f26d to
da05214
Compare
mpoiriert
requested changes
Feb 2, 2026
Owner
mpoiriert
left a comment
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.
Missing the adjustment to PHPCs rule file.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGES
Upgrade to Doctrine ORM 3.x and DBAL 4.x