-
Notifications
You must be signed in to change notification settings - Fork 39
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
Run CI on PHP 8.3 and 8.4 #176
Conversation
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.
thanks!
@@ -9,6 +9,7 @@ | |||
->setRiskyAllowed(true) | |||
->setRules([ | |||
'@Symfony' => true, | |||
'trailing_comma_in_multiline' => false, |
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 would prefer to fix this rather than diverge from the symfony ruleset.
but as you mentioned in php-http/client-common#247 it would make sense to pin the cs fixer to a specific version to avoid random unrelated cs failures in merge requests.
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 have to do this because the syntax is not compatible with PHP 7.
@@ -25,6 +25,10 @@ jobs: | |||
tools: composer:v2 | |||
coverage: none | |||
|
|||
- name: Emulate PHP 8.3 | |||
run: composer config platform.php 8.3.999 |
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.
why do we need this? do we have dependencies that limit to php 8.3 and don't install with 8.4?
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.
phpspec disallows PHP 8.4
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.
thanks!
What's in this PR?
Run the CI on both PP 8.3 and 8.4.
Why?
Validates compatibility with those PHP versions.
Example Usage
Checklist
To Do