feat(doctrine): upgrade to Doctrine ORM 3.6, DBAL 4.4, Persistence 4.2#433
Open
ambroisemaupate wants to merge 5 commits into
Open
feat(doctrine): upgrade to Doctrine ORM 3.6, DBAL 4.4, Persistence 4.2#433ambroisemaupate wants to merge 5 commits into
ambroisemaupate wants to merge 5 commits into
Conversation
DBAL 4 removed the built-in `array` type, but gedmo/doctrine-extensions `AbstractLogEntry` still references it. Register a replacement type that extends JsonType (writes JSON, reads both JSON and legacy PHP-serialized data).
- Bump doctrine/orm to ^3.6, doctrine/dbal to ^4.4, doctrine/persistence to ^4.2 - Bump doctrine-bundle, doctrine-fixtures-bundle, scienta/doctrine-json-functions - Replace $_em with getEntityManager() in all repositories - Remove cascade: ['merge'] and cascade: ['all'] from entity mappings - Replace ClassMetadataInfo with ClassMetadata - Remove EntityManager::detach() calls - Remove JoinTable from inverse ManyToMany sides - Replace setParameters(array) with individual setParameter() calls - Replace setFirstResult(null) with setFirstResult(0) - Remove legacy Doctrine Cache API usage - Remove @throws ORMException and OptimisticLockException annotations
- new migration to convert user_log_entries.data column from serialized PHP array to pure JSON
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
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.
Fixes #394