Skip to content
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

Add PHP 8.2 Support #199

Merged
merged 1 commit into from
Dec 8, 2022
Merged

Conversation

patinthehat
Copy link
Contributor

Summary

This PR adds PHP 8.2 to the tests workflow.

id:php82-support/v1

@@ -9,7 +9,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1, 8.0, 7.4]
php: [8.2, 8.1, 8.0, 7.4]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
php: [8.2, 8.1, 8.0, 7.4]
php: ['8.2', '8.1', '8.0', '7.4']

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sanmai Most of the other Spatie workflows are not quoted, so just curious - why this one? 🤔

Copy link

@sanmai sanmai Dec 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • shivammathur/setup-php expects to see strings for php-version.
  • There was an issue when it installed the really latest version if you didn't specify a string. I.e. for 8.0 it used to install 8.1.x. and for '8.0' it used to install 8.0.x. But it looks like it is no longer an issue.
  • Lastly, it looks prettier in the log:

Feel free to disregard though.

@patinthehat
Copy link
Contributor Author

ping @freekmurze

@freekmurze
Copy link
Member

I don't have a strong opinion on this, I'll take it 👍

@freekmurze freekmurze merged commit c23e534 into spatie:master Dec 8, 2022
@freekmurze
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants