PHP 8.5 compatibility: deprecation warnings

Open
#1,792 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
php
Domain
api, backend

Research direction

Start by loading the library on PHP 8.5 and reproducing the notices while exercising OAuth. Trace the bundled Social Login dependencies named in the report, then verify that supported library versions emit no deprecation notices and OAuth still works.

Written by the indexing model from the issue text.

Description

status:waiting-for-triage

Deprecation notices observed

dependencies shipped inside LoginPress Pro's Social Login add-on. They contain the bulk of the deprecation notices — chiefly implicitly-nullable parameter types (Type $x = null, deprecated since PHP 8.4), plus curl_close(), __wakeup(), $http_response_header, and a (boolean) cast. They still execute on 8.5 but are the main source of noise.

Steps to reproduce

  1. Load the library on PHP 8.5
  2. [ Do OAuth and verify ]

Expected

No PHP 8.5 deprecation notices when using supported library versions.

Actual

Deprecation noise on PHP 8.5 (still works, but logs are flooded).

Context

Bundled in WordPress plugin LoginPress Pro for social login .
Happy to test a patch or pre-release.

Dominant language
PHP
Stars
669
Forks
150
Avg merge
15h 21m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/msgraph-sdk-php

All issues in microsoftgraph/msgraph-sdk-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.