README: the env.json example does not match what prepare.php writes

未关闭 适合新手
#384 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@mayankmajeji 已经在做这个了。

开始于 2026年12月5日。

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

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
83/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
json, php
领域
documentation

调研方向

阅读 README 中的“Creating a report”部分,并将其中的 env.json 示例与 prepare.php 写入的输出进行比较。检查已移除的 Ghostscript 字段、mysql_version 的服务器值,以及缺少的 gd_info、imagick_info 和 PHP 模块。将示例替换为当前 runner 的输出,并将代码块标记为 JSON;同时考虑 issue #214 中关于 Ghostscript 的单独提议。

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

描述

The "Creating a report" section of the README shows an env.json example from 2020 that no longer matches what prepare.php writes:

  • system_utils.ghostscript is shown, but gs --version was removed in #179 (2022).
  • mysql_version shows mysql --version client output. Since #318 it is the server version from SELECT VERSION(), for example 8.0.46.
  • gd_info and imagick_info are missing, and php_modules lists 13 of the 35 modules prepare.php checks.
  • The code block is marked bash instead of json.

Suggested fix

Replace it with real output from the current runner. #214 asks to bring Ghostscript back; if that lands, the example would gain the ghostscript key again.

AI Assisted: Claude Code (model: Claude Opus 5.5) was used to compare the example with prepare.php and to draft this issue. Both were reviewed before submitting.

主要语言
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 摘要。