writeMetadataPdo surplus configuration
まだ誰も着手していません。
評価
調査の方向性
MetaLoader.php:675 から始めて Metadata\MetaDataStorageHandlerPdo の構築を調べ、そのクラスのコンストラクターおよび Database::getInstance() の使用方法と比較します。余分な設定を削除すべきか、一貫した方法で処理すべきかを判断し、コンストラクターの警告が表示されなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
説明
There's a Too many arguments to function __construct(). 2 provided, but 1 accepted. warning being picked up in MetaLoader.php:675
The constructor on Metadata\MetaDataStorageHandlerPdo accepts one config parameter but then doesn't do anything with it anyway, calling Database::getInstance(); instead.
My inclination was to drop passing the config in the metarefresh module entirely but not sure if that's the right approach.
- 主要言語
- PHP
- スター
- 9
- フォーク
- 19
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
simplesamlphp/simplesamlphp-module-metarefresh のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
simplesamlphp/simplesamlphp-module-metarefresh#51 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
simplesamlphp/simplesamlphp-module-metarefresh#1 · コメント 3 件 ·
simplesamlphp/simplesamlphp-module-metarefresh の issue をすべて見る
似ている issue
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
-
Перевод устарел
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
-
[6.x]: "Cannot use object of type stdClass as array" loading Users index (regression of #19182) オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100