Skip to content

fix: インストーラー残存の警告を廃止#450

Merged
yama merged 1 commit into
mainfrom
fix/remove-installer-warning
May 10, 2026
Merged

fix: インストーラー残存の警告を廃止#450
yama merged 1 commit into
mainfrom
fix/remove-installer-warning

Conversation

@yama

@yama yama commented May 10, 2026

Copy link
Copy Markdown
Member

概要

  • 管理画面の config check から install ディレクトリ残存警告を削除
  • CLI health-check から install ディレクトリ残存の危険判定を削除
  • 未使用になる関連言語定義を整理

背景

1.2.1 の改修により、install ディレクトリが残っていても従来ほどのリスクとは見なさない方針に合わせるため

確認

  • php -l manager/includes/config_check.inc.php
  • php -l manager/includes/cli/commands/health-check.php

Summary by CodeRabbit

リリースノート

  • Chores
    • ヘルスチェックおよび設定チェック機能から、レガシーインストールディレクトリの存在確認に関するチェックと関連する多言語対応メッセージを削除しました。

Review Change Stack

Copilot AI review requested due to automatic review settings May 10, 2026 12:37
@coderabbitai

coderabbitai Bot commented May 10, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 11ea206f-22fb-4198-b05a-636781dc1d35

📥 Commits

Reviewing files that changed from the base of the PR and between 1420a54 and cbf115e.

📒 Files selected for processing (4)
  • manager/includes/cli/commands/health-check.php
  • manager/includes/config_check.inc.php
  • manager/includes/lang/english.inc.php
  • manager/includes/lang/japanese-utf8.inc.php
💤 Files with no reviewable changes (4)
  • manager/includes/lang/english.inc.php
  • manager/includes/cli/commands/health-check.php
  • manager/includes/lang/japanese-utf8.inc.php
  • manager/includes/config_check.inc.php

📝 Walkthrough

概要

MODX設定チェックおよびヘルスチェック機能から、レガシーインストールディレクトリ(install/)の存在確認機能が完全に削除されました。対応する言語リソースも英語および日本語から削除されています。

変更内容

インストーラーディレクトリチェック機能の削除

レイヤー / ファイル サマリー
コア設定チェック削除
manager/includes/config_check.inc.php
ConfigCheck::generateWarnings()メソッドから../install/ディレクトリ検出ブランチが削除され、configcheck_installer警告ロギング動作が廃止されました。
CLIヘルスチェック削除
manager/includes/cli/commands/health-check.php
ヘルスチェックコマンドから「Install directory removed」確認ロジックが削除されました。
言語リソースクリーンアップ
manager/includes/lang/english.inc.php,
manager/includes/lang/japanese-utf8.inc.php
削除されたインストーラーチェック機能に対応する$_lang["configcheck_installer"]および$_lang["configcheck_installer_msg"]言語エントリが両言語ファイルから削除されました。

見積もりコード査閲時間

🎯 1 (Trivial) | ⏱️ ~3分

🐰 インストーラーよ、さようなら!
チェックリストから消え去り、
古き警告は静寂へ。
四つのファイル、整理された。
進化は、シンプルなり。✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed PRのタイトルは「fix: インストーラー残存の警告を廃止」であり、変更内容を正確に反映しています。
Description check ✅ Passed PR説明は概要・変更内容・確認手順・背景を含み、テンプレート要件をほぼ満たしています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/remove-installer-warning

Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@yama yama merged commit b51b9ff into main May 10, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants