From 91bcb53ab5fee6753c9d885261a799effe0e1d68 Mon Sep 17 00:00:00 2001 From: Yutaka Kurosaki Date: Mon, 2 Feb 2026 16:05:42 +0900 Subject: [PATCH] Add PHP_MEMORY_LIMIT option for install.sh - Document environment variable usage: PHP_MEMORY_LIMIT=2048M ./install.sh - Update both English and Japanese sections Co-Authored-By: Claude Opus 4.5 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3968e13..c426a48 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,9 @@ For convenience, you can install a wrapper script: ```bash ./install.sh + +# Or with custom memory limit +PHP_MEMORY_LIMIT=2048M ./install.sh ``` After installation, use the `php-security-lint` command anywhere: @@ -394,6 +397,9 @@ docker run --rm -v $(pwd):/target php-security-linter:latest /target -s high -f ```bash ./install.sh + +# メモリ制限を指定する場合 +PHP_MEMORY_LIMIT=2048M ./install.sh ``` インストール後は `php-security-lint` コマンドでどこからでも使用できます: