-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Upgrade to doctrine/coding-standard 10 #2481
Conversation
d22f7ce
to
428dbb3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's hope this won't conflict much with #2473 👀
composer.json
Outdated
@@ -40,7 +40,7 @@ | |||
}, | |||
"require-dev": { | |||
"ext-bcmath": "*", | |||
"doctrine/coding-standard": "^9.0", | |||
"doctrine/coding-standard": "^9.0 || ^10.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for requiring one or another?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
none 😬 I thought it was because the php version, but it's not necessary, thanks!
@@ -74,6 +74,7 @@ final class Query implements IteratorAggregate | |||
public const TYPE_COUNT = 11; | |||
|
|||
public const HINT_REFRESH = 1; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one's a pity but I guess there's nothing we can do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can move the comment to the top, I'll give it a try.
/** @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'; | ||
public const INT = 'int'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe grouping all deprecated constants?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That'd be an option as well :)
We can wait for that PR to get merged since these changes are automatic and do it in |
9dd1064
to
8d1bfb1
Compare
5eaa2af
to
163252b
Compare
Summary
It allows to use Doctrine CS 10 (based on doctrine/orm#10009)