PHP 8.5 compatibility: deprecation warnings

Offen
#1,792 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
php
Bereich
api, backend

Rechercherichtung

Beginne damit, die Bibliothek unter PHP 8.5 zu laden und die Notices bei der Nutzung von OAuth zu reproduzieren. Verfolge die im Bericht genannten gebündelten Social Login-Abhängigkeiten und überprüfe anschließend, dass unterstützte Bibliotheksversionen keine Deprecation Notices ausgeben und OAuth weiterhin funktioniert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
PHP
Sterne
669
Forks
150
Ø Merge
15 Std. 21 Min.
Gemergte PRs (30 T.)
3

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoftgraph/msgraph-sdk-php

Alle Issues in microsoftgraph/msgraph-sdk-php

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.