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

AbstractSource::$data is an untyped array, causing mixed-* fallout in downstream analyzers

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

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

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

評価

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

調査の方向性

Start at src/Metadata/Source/AbstractSource.php:58 and trace the keyed reads and writes to $data in downstream Metadata\Source implementations, including the phpdb-mysql context cited in the issue. Determine the shared data keys and represent them explicitly, then run the relevant static analysis; done means the listed mixed-* findings are resolved for those accesses.

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

説明

Context

Found while working phpdb-mysql#60 (mago analyze fixes).

Data

Metadata\Source\AbstractSource::$data is declared protected array $data = []; with no shape (src/Metadata/Source/AbstractSource.php:58). Every keyed read/write against it in downstream sources (e.g. phpdb-mysql's Metadata\Source) resolves to mixed, producing mixed-array-assignment, possibly-invalid-argument, reference-constraint-violation, and too-many-arguments findings in static analysis wherever $data is touched.

@simon-mundy has the most context on this part of the metadata/SQL handling.

主要言語
PHP
スター
18
フォーク
8
平均マージ
6日 11時間
マージ済み PR(30日)
14

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

php-db/phpdb のほかの issue

php-db/phpdb の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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