Skip to content

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Aug 5, 2022

Part of #9772

@derrabus derrabus added this to the 3.0.0 milestone Aug 5, 2022
@@ -175,7 +164,6 @@ private function createCloner(ClassMetadata $classMetadata, EntityPersister $ent
continue;
}

$property->setAccessible(true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this unnecessary code or a decision that only public properties should be used?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is a no-op since PHP 8.1.

@derrabus derrabus merged commit c39cbf1 into doctrine:3.0.x Aug 7, 2022
@derrabus derrabus deleted the types/proxy-factory branch August 7, 2022 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants