Detect missing Composer development tools in check-env
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
調査の方向性
Start with bin/check-env.sh and the existing shell-test conventions. Reproduce the missing-development-tools case with vendor/autoload.php present while vendor/bin/phpunit, phpcs, and phpstan are absent, then compare it with a complete install. Verify the focused shell test, bash bin/check-env.sh, and shellcheck bin/check-env.sh; done means the missing case fails with composer install guidance and a complete install passes.
索引モデルが issue の本文から書いたものです。
説明
What
Harden bin/check-env.sh so it verifies the Composer development binaries required by documented quality commands, not only vendor/autoload.php.
Why
During #1805 the environment check reported Composer dependencies ready while vendor/bin/phpunit and vendor/bin/phpcs were absent after a production --no-dev install. The false positive delayed release verification.
Tier
tier:standard — the implementation is small, but the repository needs a verified shell-test pattern and clear recovery guidance for partially installed dependencies.
Files
bin/check-env.sh- Existing shell tests for environment checks, or a new focused test under the verified test-tooling location
AGENTS.mdonly if documented output changes
Reference pattern
Follow the existing [OK] and failure-guidance output in bin/check-env.sh. Check executable presence for vendor/bin/phpunit, vendor/bin/phpcs, and vendor/bin/phpstan; recommend composer install when any required development binary is missing.
Implementation steps
- Inspect existing prerequisite checks and shell-test conventions.
- Add explicit executable checks for all Composer-backed quality commands.
- Distinguish a production
--no-devinstall from a development-ready install. - Add a regression test for
vendor/autoload.phppresent withvendor/bintools absent.
Acceptance criteria
- The check fails when autoload exists but required development binaries do not.
- Recovery output identifies
composer install. - A complete development install still passes.
- ShellCheck and focused tests pass.
Verification
bash bin/check-env.sh- Focused shell test covering missing and present binaries
shellcheck bin/check-env.sh
Dependency
Blocked by #1805; begin after PR #1806 merges.
aidevops.sh v3.32.317 plugin for OpenCode v1.18.29 with gpt-5.6-sol spent 4h 26m and 539,830 tokens on this with the user in an interactive session.
- 主要言語
- PHP
- スター
- 215
- フォーク
- 86
- 平均マージ
- 10時間 34分
- マージ済み PR(30日)
- 61
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Ultimate-Multisite/ultimate-multisite のほかの issue
-
Avoid undefined enabled-key warnings in limitation checks対応中かも @superdav42 が今日担当しました。 オープンbug origin:interactive status:in-review
Ultimate-Multisite/ultimate-multisite#1909 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
hold-for-review no-auto-dispatch origin:interactive status:available type:bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Ultimate-Multisite/ultimate-multisite#1892 ·
メンテナーはふだん 1 日以内に返信
-
origin:interactive status:in-review type:bug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Ultimate-Multisite/ultimate-multisite#1879 ·
メンテナーはふだん 1 日以内に返信
-
auto-dispatch hold-for-review origin:worker review-followup source:review-scanner status:available tier:standard
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
Ultimate-Multisite/ultimate-multisite#1867 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(ci): PHPUnit batching silently omits most tests on PHP 8.2, 8.4 and 8.5再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンauto-dispatch bug origin:worker priority:high source:ci-feedback status:available tier:standard
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Ultimate-Multisite/ultimate-multisite#1839 · コメント 47 件 ·
メンテナーはふだん 1 日以内に返信
Ultimate-Multisite/ultimate-multisite の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
PrestaShop/PrestaShop#43140 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
McNamara84/ernie#1437 ·
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 3 日以内に返信
-
needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信