-
Notifications
You must be signed in to change notification settings - Fork 4
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
Specify supported rector version #5
Specify supported rector version #5
Conversation
@@ -37,9 +37,6 @@ | |||
"stubs" | |||
] | |||
}, | |||
"conflict": { | |||
"rector/rector": "<0.11" |
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.
Alternative to require
would be adding here a conflict to >=0.13
.
@TomasVotruba what do you recommend?
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 is not needed, as the require section takes care of it.
@@ -8,7 +8,8 @@ | |||
"Sulu CMS" | |||
], | |||
"require": { | |||
"php": "^8.1" | |||
"php": "^8.1", | |||
"rector/rector": "^0.12.22" |
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.
👍
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.
Good to go 👍
@@ -37,9 +37,6 @@ | |||
"stubs" | |||
] | |||
}, | |||
"conflict": { | |||
"rector/rector": "<0.11" |
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 is not needed, as the require section takes care of it.
@TomasVotruba Thank you :) |
I think I need to specify the supported rector version as require else it could make problems in the future. Via
"prefer-stable": true,
I still make sure tests are run against dev version of rector via"minimum-stability": "dev"
without prefer stable.