PHP 8.4.x deprecation warnings
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Revisa las firmas de resolveReferences en SpecBaseObject.php, SpecObjectInterface.php, spec/Paths.php, spec/PathItem.php y spec/Responses.php, además del constructor y los métodos resolve en spec/Reference.php. Actualiza los parámetros implícitamente nullable identificados en las advertencias y verifica con PHP 8.4 que estas advertencias de obsolescencia ya no aparezcan.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
With the release of PHP 8.4, implicitly marking parameters as nullable is now deprecated.
The dev-master version of this package contains a few warnings because of this:
<warning> DEPRECATED </warning> cebe\openapi\SpecBaseObject::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/SpecBaseObject.php on line 396.
<warning> DEPRECATED </warning> cebe\openapi\SpecObjectInterface::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/SpecObjectInterface.php on line 43.
<warning> DEPRECATED </warning> cebe\openapi\spec\Paths::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/spec/Paths.php on line 249.
<warning> DEPRECATED </warning> cebe\openapi\spec\PathItem::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/spec/PathItem.php on line 153.
<warning> DEPRECATED </warning> cebe\openapi\spec\Responses::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/spec/Responses.php on line 239.
<warning> DEPRECATED </warning> cebe\openapi\spec\Reference::__construct(): Implicitly marking parameter $to as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/spec/Reference.php on line 72.
<warning> DEPRECATED </warning> cebe\openapi\spec\Reference::resolve(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/spec/Reference.php on line 179.
<warning> DEPRECATED </warning> cebe\openapi\spec\Reference::resolveReferences(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in vendor/cebe/php-openapi/src/spec/Reference.php on line 366.
Example:
public function resolveReferences(ReferenceContext $context = null); // SpecObjectInterface.php #43
- Lenguaje dominante
- PHP
- Estrellas
- 500
- Forks
- 99
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cebe/php-openapi
-
Deprecated warnings in PHP 8.2 Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
cebe/php-openapi#250 ·
-
BC break in 1.8 Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
cebe/php-openapi#247 · 1 comentario · 1 reacción ·
-
php 8.4 deprecations Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
cebe/php-openapi#245 · 3 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
cebe/php-openapi#242 · 6 comentarios · 1 reacción ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
cebe/php-openapi#238 ·
Todos los issues de cebe/php-openapi
Issues similares
-
tooling
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
UX
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ProfessionalWiki/NeoWiki#1525 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
bug customer-reported
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
MagnaCapax/PMSS#949 ·
-
responsive-media kses allow-list strips clipPathUnits, collapsing objectBoundingBox clip paths Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Automattic/static-site-importer#1829 ·