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

Make compatible with PHP 8.4 #1039

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ruudk
Copy link

@ruudk ruudk commented Oct 31, 2024

League\OAuth2\Client\Provider\AbstractProvider::authorize(): Implicitly marking parameter $redirectHandler as nullable is deprecated, the explicit nullable type must be used instead

When #1033 is merged, I will propose a PR to add PHP 8.4 to the matrix as well.

> League\OAuth2\Client\Provider\AbstractProvider::authorize(): Implicitly marking parameter $redirectHandler as nullable is deprecated, the explicit nullable type must be used instead
@ruudk
Copy link
Author

ruudk commented Oct 31, 2024

@ramsey Could you please approve the workflow?

@carloscz
Copy link

carloscz commented Nov 14, 2024

hi, running our internal PHP 8.4 compatibility checks and this abstract library emits a lot of deprecations for us so thank You very much for this PR :) is there any timeframe for release?

@ruudk
Copy link
Author

ruudk commented Nov 15, 2024

@shadowhand Would you be able to help out?

@stephanvierkant
Copy link

https://github.com/hwi/HWIOAuthBundle looks unmaintained so I'm looking for an alternative, but this repo looks unmaintained as well :(

@ruudk
Copy link
Author

ruudk commented Nov 29, 2024

I decided to remove this dependency and do the OAuth dance with Google myself. Wasn't that hard.

@carloscz
Copy link

carloscz commented Nov 29, 2024

yeah, we probably will switch to JWT parsing and signature checking on backend only as well if this doesn't get pulled through

@ramsey
Copy link
Contributor

ramsey commented Dec 2, 2024

I approved the workflow, but now there are a bunch of failures that appear unrelated to your change. I'll need to investigate and fix these.

@stephanvierkant
Copy link

Let's remove all unsuppported versions (<8.1), to make it easier.

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.

4 participants