-
Notifications
You must be signed in to change notification settings - Fork 6
ci: add tests for PHP 8.5 #19
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
Conversation
bump checkout action 4 => 5
|
uh, that build pipeline (and probably the code) needs some more love apart from php 8.5. do you have time to look at it? i am open to ditch old php versions, people can just keep using 1.1.0 if they are stuck on legacy PHP. |
|
Step 1: Allow PHPUnit > 9 after php-http/client-integration-tests#61 is merged. |
|
Which PHP version should it be bumped to? 8.1 ? |
if 8.0 just works we can also keep supporting it for now. maybe you can disable the fail_fast option so we see what is going on. and once the build with newer php versions works again, we can remove all that don't work but keep those that do work. |
|
Static analysis could not be fixed, because trailing commas are only allowed since PHP 8.0. |
|
For the lowest run this could maybe added "guzzlehttp/psr7": "^2.1" (Version?) |
|
|
@dbu Ready for review |
dbu
left a comment
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 a lot for the work, great!
is the #[\Override] annotation important for consumers? should i tag a new release or is this "just" to make sure the tests work fine again and test with PHP 8.5?
|
I just checked. Psalm wants them to be added. I guess there is no new version needed. |
bump checkout action 4 => 6
bump min versions
drop support for PHPUnit < 9
allow PHPUnit > 9
change test filenames to get rid of warnings from PHPUnit
PHP-CS-Fixer: add
--diffto show the needed changesadd PhpCsFixer Rule for
trailing_comma_in_multiline