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` コマンドでどこからでも使用できます: