phpDocumentor / phpDocumentor/ReflectionDocBlock
FQSEN resolution fails on anonymous classes
オープン
まだ誰も着手していません。
- 主要言語
- PHP
- スター
- 9.4k
- フォーク
- 137
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 1
説明
When an anonymous class is given to a context, it is unable to resolve the classes of properties in the docblock, even if they are imported.
By removing the error on the given line (phpDocumentor/ReflectionCommon#21), I was able to get it to function; however it was still not resolving the namespace of the property.
Code sample:
https://gist.github.com/iggyvolz/5061fe63090588d0f4f96874380b5ef3
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされた gist の匿名クラスの例から始め、phpDocumentor/ReflectionCommon#21 の失敗を追跡してください。ケースを再現し、その後、インポートされたプロパティ型が対応する namespace に解決されることを、報告されたエラーを削除せずに確認してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100