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 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 16:05:42 +09:00
parent c562116568
commit 91bcb53ab5

View File

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