From 4d6e68620117e58d94cde2ab9bc66a9df302d486 Mon Sep 17 00:00:00 2001 From: Amine LOUHICHI <32558537+aminelch@users.noreply.github.com> Date: Sat, 15 Mar 2025 22:54:52 +0100 Subject: [PATCH] phpstan: edit page (#15938) --- pages/common/phpstan.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/phpstan.md b/pages/common/phpstan.md index 8766bc15e4..4cfcc19e16 100644 --- a/pages/common/phpstan.md +++ b/pages/common/phpstan.md @@ -1,7 +1,7 @@ # phpstan > A PHP static analysis tool to discover bugs in code. -> More information: . +> More information: . - Analyze one or more directories: @@ -9,15 +9,15 @@ - Analyze a directory using a configuration file: -`phpstan analyse {{path/to/directory}} --configuration {{path/to/config}}` +`phpstan analyse {{path/to/directory}} {{[-c|--configuration]}} {{path/to/config}}` -- Analyze using a specific rule level (0-7, higher is stricter): +- Analyze using a specific rule level (0-10, higher is stricter): -`phpstan analyse {{path/to/directory}} --level {{level}}` +`phpstan analyse {{path/to/directory}} {{[-l|--level]}} {{level}}` - Specify an autoload file to load before analyzing: -`phpstan analyse {{path/to/directory}} --autoload-file {{path/to/autoload_file}}` +`phpstan analyse {{path/to/directory}} {{[-a|--autoload-file]}} {{path/to/autoload_file}}` - Specify a memory limit during analysis: