README documents WPT_PHP_EXECUTABLE_MULTI, which the runner does not read

未关闭
#380 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@mayankmajeji 已经在做这个了。

开始于 2026年12月4日。

  • #381 来自 @mayankmajeji —— 未关闭

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
25/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
停滞
技术栈
php
领域
documentation

调研方向

The issue identifies the affected README sections, WPT_PHP_EXECUTABLE_MULTI references, and functions.php as context. Read the README and check the references against the runner; remove the unsupported setting descriptions and related mention. Done when the README no longer documents WPT_PHP_EXECUTABLE_MULTI; linked pull request #381 is already open.

由索引模型根据 Issue 内容生成。

描述

Describe the bug
The "PHP versions" section of the README describes a second, optional setting for testing more than one PHP version:

export WPT_PHP_EXECUTABLE_MULTI="7.4=/bin/php7.4;8.3=/bin/php8.3"

No script reads WPT_PHP_EXECUTABLE_MULTI. It is not in .env.default, and functions.php only reads WPT_PHP_EXECUTABLE and uses it as a single binary. A host who sets it still runs the tests on one PHP version, with no warning.

The "Tables Custom prefix" section also refers to it ("very useful if you activate the multi-php or multi-environment part").

To Reproduce

  1. Run git grep -n WPT_PHP_EXECUTABLE_MULTI on master: the only match is README.md.
  2. Look at functions.php L76: the runner reads WPT_PHP_EXECUTABLE only, and passes it on as a single command.

Expected behavior
The README documents only settings the runner reads.

Additional context
Multi-PHP support is proposed in #333, which uses version=path entries in WPT_PHP_EXECUTABLE instead of a separate variable. Until something like that is merged, the README section should go, the same way #372 removed WPT_CERTIFICATE_VALIDATION.

主要语言
PHP
星标
77
派生
83
平均合并
11 天 22 小时
30 天内合并 PR
2

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

WordPress/phpunit-test-runner 的其他 Issue

查看 WordPress/phpunit-test-runner 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。