Skip to content

Update message of ORMInvalidArgumentException#11845

Merged
greg0ire merged 2 commits intodoctrine:2.20.xfrom
lacatoire:update-message-annotation-to-attribute
Mar 24, 2025
Merged

Update message of ORMInvalidArgumentException#11845
greg0ire merged 2 commits intodoctrine:2.20.xfrom
lacatoire:update-message-annotation-to-attribute

Conversation

@lacatoire
Copy link
Copy Markdown
Contributor

update message to use attribute instead of annotation

update message to use attribute instead of annotation
@derrabus derrabus added this to the 2.20.3 milestone Feb 21, 2025
@derrabus derrabus changed the title Update ORMInvalidArgumentException.php Update message of ORMInvalidArgumentException Feb 21, 2025
Copy link
Copy Markdown
Member

@derrabus derrabus left a comment

Choose a reason for hiding this comment

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

I think you need to escape the quotes in the exception message.

@lacatoire
Copy link
Copy Markdown
Contributor Author

Escaped

@greg0ire
Copy link
Copy Markdown
Member

You will need to update the tests as well.

@greg0ire greg0ire force-pushed the update-message-annotation-to-attribute branch from 121c3d6 to 2d2a344 Compare March 23, 2025 15:08
@greg0ire greg0ire dismissed derrabus’s stale review March 24, 2025 09:57

The requested changes have been applied

@greg0ire greg0ire merged commit 44057b4 into doctrine:2.20.x Mar 24, 2025
74 checks passed
@greg0ire
Copy link
Copy Markdown
Member

Thanks @lacatoire !

@lacatoire lacatoire deleted the update-message-annotation-to-attribute branch March 24, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants