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

PHP 8.2 #7299

Merged
merged 12 commits into from
Jan 18, 2023
Merged

PHP 8.2 #7299

merged 12 commits into from
Jan 18, 2023

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Jan 4, 2023

This adds PHP 8.2 support.

There were only a few little issues. The main one was that carbon needed to be updated to a version that supported 8.2. laravel/framework#44374

Everything else was really just concerning deprecation warnings. The majority was due to missing properties.

Running PHPUnit with convertDeprecationsToExceptions="true" now completely passes except for one test.

The failing test is due to a deprecation warning within webonyx/graphql-php. I tried PRing a tiny fix but it was rejected. Oh well. webonyx/graphql-php#1280

I tried upgrading laravel-graphql to the next version just to test it (which uses v15 of graphql-php) and makes everything pass again, without any code changes on our side. It's not released yet, though. rebing/graphql-laravel#953

@what-the-diff
Copy link

what-the-diff bot commented Jan 4, 2023

  • Added PHP 8.2 to the matrix

@jackmcdade jackmcdade added this to the 3.4 milestone Jan 13, 2023
@jasonvarga jasonvarga marked this pull request as ready for review January 13, 2023 21:46
@jasonvarga jasonvarga merged commit 44a6edf into 3.3 Jan 18, 2023
@jasonvarga jasonvarga deleted the php-82 branch January 18, 2023 14:40
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.

None yet

3 participants