Fix oauth2-client 3 compat, drop PHP 7 support#142
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #142 +/- ##
===========================================
Coverage 100.00% 100.00%
Complexity 40 40
===========================================
Files 3 3
Lines 82 82
===========================================
Hits 82 82 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the library to align with league/oauth2-client v3’s ResourceOwnerInterface expectations and formally drops PHP 7 support across packaging, docs, and CI.
Changes:
- Update
GoogleUser::getId()signature to returnmixedfor oauth2-client v3 compatibility. - Drop PHP 7 support (Composer constraint, docs, and CI matrix).
- Document the upcoming release changes in the changelog.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/Provider/GoogleUser.php |
Adds : mixed return type to getId() for oauth2-client v3 interface compatibility. |
composer.json |
Raises minimum PHP requirement to ^8.0. |
README.md |
Updates supported PHP versions list and notes where PHP 7 support can be found. |
CHANGELOG.md |
Adds unreleased notes for oauth2-client v3 compatibility + PHP 7 removal. |
.github/workflows/ci.yml |
Removes PHP 7 from CI and adds newer PHP versions to the test matrix. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
shadowhand
left a comment
There was a problem hiding this comment.
Two small changes, then good to go.
|
Released in version 5.0.0. |
Fix #141