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

Detect missing Composer development tools in check-env

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
php, shell

調査の方向性

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 の本文から書いたものです。

説明

auto-dispatch blocked-by:GH#1805 origin:interactive priority:medium quality-debt status:blocked tier:standard

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.md only 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

  1. Inspect existing prerequisite checks and shell-test conventions.
  2. Add explicit executable checks for all Composer-backed quality commands.
  3. Distinguish a production --no-dev install from a development-ready install.
  4. Add a regression test for vendor/autoload.php present with vendor/bin tools 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

環境構築

はじめの一歩

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

Ultimate-Multisite/ultimate-multisite のほかの issue

Ultimate-Multisite/ultimate-multisite の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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