cebe / cebe/php-openapi

php 8.4 deprecations

Offen
#245 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
500
Forks
99
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

These can be cleaned up easily with rector, but I don't know if they'd cause a BC break.

Deprecated: cebe\openapi\SpecBaseObject::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/SpecBaseObject.php on line 396

Deprecated: cebe\openapi\SpecObjectInterface::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/SpecObjectInterface.php on line 43

Deprecated: cebe\openapi\spec\Paths::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Paths.php on line 249

Deprecated: cebe\openapi\spec\PathItem::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/PathItem.php on line 153

Deprecated: cebe\openapi\spec\Responses::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Responses.php on line 239

Deprecated: cebe\openapi\spec\Reference::__construct(): Implicitly marking parameter $to as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Reference.php on line 72

Deprecated: cebe\openapi\spec\Reference::resolve(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Reference.php on line 179

Deprecated: cebe\openapi\spec\Reference::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /home/tac/sites/packages/vendor/cebe/php-openapi/src/spec/Reference.php on line 366

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Überprüfe die Signaturen von resolveReferences und den Konstruktoren in src/SpecBaseObject.php, src/SpecObjectInterface.php sowie in src/spec/Paths.php, PathItem.php, Responses.php und Reference.php. Prüfe das Deprecation-Verhalten von PHP 8.4 und ob die Signaturänderungen die Kompatibilität erhalten; abgeschlossen ist die Aufgabe, wenn die gemeldeten Deprecations ohne einen BC-Break behoben sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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