Skip to content

Commit 1e333ea

Browse files
authored
Merge pull request #127 from tarosky/fix/claude-md-version-refs
CLAUDE.md からバージョン番号のハードコードを排除し test.yml を参照
2 parents b0ca539 + 75b4706 commit 1e333ea

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.claude/CLAUDE.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,21 @@ npm run lint # ESLint + Stylelint
5454

5555
PR作成時に以下が自動実行される。すべてパスしないとマージ不可:
5656

57-
- PHPUnit(PHP 7.4/8.0 × WP latest/5.9
57+
- PHPUnit(PHP × WP のバージョンマトリックスは `.github/workflows/test.yml` を参照
5858
- PHPCS(WordPress-Core)
5959
- PHPStan Level 5
6060
- アセットビルド確認
6161

62+
> **バージョンの情報源(Single Source of Truth)** — 本ドキュメントには具体的なバージョン番号を記載しない(乖離防止のため)。
63+
> - **対応 PHP**: `composer.json``require.php` / `config.platform.php`)が正。`rich-taxonomy.php``Requires PHP` はこれに追従する
64+
> - **Node**: `.node-version`
65+
> - **CI テストマトリックス(PHP × WP)**: `.github/workflows/test.yml`
66+
6267
## コーディング規約
6368

6469
- WordPress Coding Standards 準拠
6570
- PSR-0 オートロード(`Tarosky\RichTaxonomy``src/`
66-
- PHP 7.0+ 互換(ただし CI は 7.4+ でテスト)
71+
- 対応 PHP バージョンは `composer.json``require.php` / `config.platform.php`)と CI マトリックス(`.github/workflows/test.yml`)に従う
6772
- 新規コードは PHPStan Level 5 をパスすること(既存のbaselineエラーを増やさない)
6873

6974
## 注意事項

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Tags: taxonomy, terms, seo
44
Contributors: tarosky, Takahashi_Fumiki, megane9988, tswallie
5+
Requires at least: 6.6
56
Tested up to: 6.9
67
Requires PHP: 8.1
78
Stable Tag: nightly

rich-taxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Plugin URI: https://wordpress.org/plugins/rich-taxonomy/
66
* Author: Tarosky INC.
77
* Version: nightly
8-
* Requires at least: 5.9
8+
* Requires at least: 6.6
99
* Requires PHP: 8.1
1010
* Author URI: https://tarosky.co.jp/
1111
* License: GPL3 or later

0 commit comments

Comments
 (0)