diff --git a/README.md b/README.md index 9b32eb4..2ef793c 100644 --- a/README.md +++ b/README.md @@ -82,21 +82,21 @@ Getting your code up and running on your own system. Note: PHPStan is a static analysis tool that finds bugs in your PHP code without running it. To run PHPStan in a Docker container: - On Unix/Linux/macOS: - ```bash - $ cd threagile-builder - $ docker run --rm -v $(pwd):/app ghcr.io/phpstan/phpstan analyse /app/src --level 8 -c phpstan.neon - ``` + On Unix/Linux/macOS: + ```bash + $ cd threagile-builder + $ docker run --rm -v $(pwd):/app ghcr.io/phpstan/phpstan analyse /app/src --level 8 -c phpstan.neon + ``` - On Windows: - ```bash - $ cd threagile-builder - $ docker run --rm -v %CD%:/app ghcr.io/phpstan/phpstan analyse /app/src --level 8 -c phpstan.neon - ``` - - You can customize the analysis by: - - Setting rule levels (0-9): Add `--level 8` - - Using a config file: Add `-c phpstan.neon` + On Windows: + ```bash + $ cd threagile-builder + $ docker run --rm -v %CD%:/app ghcr.io/phpstan/phpstan analyse /app/src --level 8 -c phpstan.neon + ``` + + You can customize the analysis by: + - Setting rule levels (0-9): Add `--level 8` + - Using a config file: Add `-c phpstan.neon` # API Documentation