Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

php 8.4 deprecations

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
openapi, php
領域
api

調査の方向性

src/SpecBaseObject.php、src/SpecObjectInterface.php、および src/spec/Paths.php、PathItem.php、Responses.php、Reference.php にある resolveReferences とコンストラクターのシグネチャを確認してください。PHP 8.4 の非推奨化の挙動と、シグネチャの変更によって互換性が維持されるかを確認してください。報告された非推奨化が BC break なしで解消されれば完了です。

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

説明

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

主要言語
PHP
スター
500
フォーク
99
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

cebe/php-openapi のほかの issue

cebe/php-openapi の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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