PHP 8.4.x deprecation warnings
まだ誰も着手していません。
評価
調査の方向性
SpecBaseObject.php、SpecObjectInterface.php、spec/Paths.php、spec/PathItem.php、spec/Responses.phpのresolveReferencesシグネチャに加え、spec/Reference.phpのコンストラクタとresolveメソッドを確認してください。警告で特定された暗黙的にnullableなパラメータを更新し、PHP 8.4でこれらの非推奨警告が表示されなくなったことを検証してください。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- PHP
- スター
- 500
- フォーク
- 99
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cebe/php-openapi のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
cebe/php-openapi#250 ·
-
BC break in 1.8 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
cebe/php-openapi#247 · コメント 1 件 · リアクション 1 件 ·
-
php 8.4 deprecations オープン
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
cebe/php-openapi#245 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
cebe/php-openapi#242 · コメント 6 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
cebe/php-openapi#238 ·
cebe/php-openapi の issue をすべて見る
似ている issue
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
Перевод устарел
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
az-digital/az_quickstart#6047 ·
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100