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

オープン
#183 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
66/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
php
領域
documentation

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
言語のデータがありません
スター
3
フォーク
1
平均マージ
2分
マージ済み PR(30日)
27

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quantum-php/docs のほかの issue

quantum-php/docs の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。