-
-
Notifications
You must be signed in to change notification settings - Fork 514
Add support for PHP 8.4 Lazy Objects with configuration flag #2840
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
Changes from 26 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
8189714
Import all PropertyAccessor classes from ORM
GromNaN c42217e
Replace ReflectionField with PropertyAccessor
GromNaN 40f56f7
Compatibility PHP < 8.4
GromNaN c73c94b
Import tests of PropertyAccessors
GromNaN b7631ed
Add support for PHP 8.4 Lazy Objects with configuration flag
GromNaN a8f2ea9
Move classes requiring PHP 8.4 outside of the Documents directory, as…
GromNaN 8554f69
Use a WeakMap to track generated lazy objects
GromNaN a588e0b
Clear ClassMetadata::(get|set)FieldValue using propertyAccessors
GromNaN 4a263e3
Fix initialization of lazy objects
GromNaN 718170f
skip identifier field in computeChangeSet
GromNaN 2e7d87e
Fix CS
GromNaN c32bafc
initialize lazy object when getting/setting a prop value
GromNaN cc70391
Mark lazy object as initialized when hydrated
GromNaN d38bbdf
Fix updating id on embedded documents
GromNaN 6987219
Enable event listeners in initializer
GromNaN 368dd4c
Named arguments not allowed in PHPUnit attributes
GromNaN fe87c12
CS fixes
GromNaN 15dabfb
Remove unused class
GromNaN 5a20551
Fix support for GhostObjectInterface
GromNaN b2dd58b
Improve LegacyReflectionFields
GromNaN cc40513
Mapping virtual property is not supported
GromNaN 88f7dee
Remove unused $reflectionService property
GromNaN 69436d9
Revert wakeupReflection
GromNaN c938489
Baseline phpstan false-positive
GromNaN 2aa3e69
Update deprecation version numbers
GromNaN b91d647
More tests
GromNaN a0cdabf
Review
GromNaN 1b808da
Small refacto using match
GromNaN 4269bb7
Rename test env var to remove S
GromNaN 27f345e
Fix missing ReflectionReadonlyProperty
GromNaN 62ef638
Always trigger the deprecation when native lazy objects are not confi…
GromNaN File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.