Skip to content

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Sep 1, 2025

Q A
Type task
BC Break no
Fixed issues -

Summary

The integer type is deprecated in favor of int. Update the test so that we don't use this type. There is no other usage of a deprecated type in the tests. I found it while removing deprecated types for 3.0

/** @deprecated const was deprecated in doctrine/mongodb-odm 2.1 and will be removed in 3.0. Use Type::INT instead */
public const INTID = 'int_id';
/** @deprecated const was deprecated in doctrine/mongodb-odm 2.1 and will be removed in 3.0. Use Type::INT instead */
public const INTEGER = 'integer';
/** @deprecated const was deprecated in doctrine/mongodb-odm 2.1 and will be removed in 3.0. Use Type::BOOL instead */
public const BOOLEAN = 'boolean';

@GromNaN GromNaN added this to the 2.12.1 milestone Sep 1, 2025
@GromNaN GromNaN added the Task label Sep 1, 2025
@GromNaN GromNaN merged commit 0530248 into doctrine:2.12.x Sep 2, 2025
38 of 39 checks passed
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.

2 participants