Update the docs for 3.2: PHP 8.2 and the updated dependencies

Abierto
#183 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
66/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
php

Línea de trabajo

Start with v3.0/upgrade-guide.md and write the new "Upgrading from 3.1 to 3.2" section above the 3.0→3.1 one, since it fixes the ordering and the scope for everything else. Then work through the per-page edits: README.md and v3.0/installation.md for PHP 8.2, v3.0/packages/cache/contracts.md for the PSR-16 v3 signatures and InvalidCacheKeyException, v3.0/packages/jwt/overview.md for the HS256 key length, and the three CLI pages for install:debugbar. The issue says the changes wait in the staging branch and every statement must be checked against the 3.2.x code, so diff the docs against that code before opening a PR; done means no page still describes PHP 8.1 or the old package behaviour.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

documentation

Summary

Framework 3.2.0 requires PHP 8.2 and updates its dependencies (quantum-php/framework#687, PR #689), and the starter project follows (quantum-php/project#220, PR #221). The docs still describe PHP 8.1 and the old package behaviour.

Pages

  • README.md, v3.0/installation.md: PHP 8.2 or newer (both say 8.1 now).
  • v3.0/upgrade-guide.md: a new "Upgrading from 3.1 to 3.2" part above "Upgrading from 3.0 to 3.1", covering what an application must do:
    • PHP 8.2; an application on 8.1 stays on 3.1.x
    • psr/log 3 and firebase/php-jwt 7 (allow the newer major); php-jwt 7 rejects an HMAC key shorter than 32 bytes for HS256 (Provided key is too short), so a shorter APP_KEY needs php qt core:key
    • psr/simple-cache 3: typed cache signatures, string keys for get()/set()/has()/delete(), InvalidCacheKeyException for an invalid key in the *Multiple() methods, custom adapters must declare the same types
    • Symfony 7.4: Application::addCommand() instead of the deprecated add()
    • php-debugbar 3.8: run php qt install:debugbar again
    • swagger-php 7.8: (new Generator())->generate() instead of Generator::scan()
    • gumlet/php-image-resize 3: the gd extension is required
    • the starter project: symfony/process and symfony/yaml 7.4, PHPUnit 11.5
  • v3.0/packages/cache/contracts.md: the signatures listed there are untyped (get($key, $default = null)); show the PSR-16 v3 types and the invalid-key exception.
  • v3.0/packages/jwt/overview.md: the minimum key length for HS256.
  • v3.0/cli/code-generation.md, v3.0/cli/console-commands.md, v3.0/packages/console/built-in-commands.md: what install:debugbar does now (3.x files, re-run over 2.x files, keeps the app's own files).

Every statement is checked against the 3.2.x code. The changes wait in staging until 3.2.0 is released.

Out of scope

  • quantum-php/framework#691 and #692: documented with their own changes if needed.
Lenguaje dominante
Sin datos de lenguaje
Estrellas
3
Forks
1
Merge medio
2 min
PR fusionados (30 d)
27

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de quantum-php/docs

Todos los issues de quantum-php/docs

Issues similares

Más issues de Documentation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.