-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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.0 on 3.0.x #10011
Conversation
I have baselined the following issues:
|
* @param ConditionalExpression $conditionalExpression | ||
*/ | ||
public function __construct($conditionalExpression) | ||
/** @param ConditionalExpression|ConditionalTerm $conditionalExpression */ |
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.
Allowing A|B in the property but just A with the constructor causes many issues, I don't think it's worth the hassle to keep it.
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.
At least not in this PR. 882 files are quite tiring to read. 😅. New type hint PRs will follow for sure for 3.0 in the future.
composer.json
Outdated
@@ -37,7 +37,7 @@ | |||
}, | |||
"require-dev": { | |||
"doctrine/annotations": "^1.13", | |||
"doctrine/coding-standard": "^9.0.2", | |||
"doctrine/coding-standard": "^9.0.2 || ^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.
We can drop 9.0 for ORM 3.0, right?
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.
No we can't, otherwise it's not possible to install the project on PHP 7.1 (one more reason to drop it)
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.
ORM 3.0 doesn't support PHP 7 anymore
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.
Oh right, sorry, I forgot what PR it was 👍
- listTableDetails() has been deprecated in favor of introspectTable(). - createSchema() has been deprecated in favor of introspectSchema().
Sorry @SenseException , the DBAL methods are removed faster than I'm making changes on this PR! |
@greg0ire Aren't you doing stuff that's out of scope of a coding standard upgrade? |
I'm doing the strict required minimum to get a green build 😅 , and yes, that involves stuff that does not have to do with CS. We have several jobs that use DBAL 4, so such breakage is frequent and needs to be addressed before it piles up. I've regrouped all of that in the last commit. |
A separate PR would be preferable than a PR with > 800 changed files 😁 but you already released the ghost from the lamp. 🪔 |
The plan is to do a merge up and ignore incoming changes.
Closes #9886