From f5a265482a1f7c79544422e924fd1c10bcce39c9 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 29 Jul 2024 15:39:55 +0900 Subject: [PATCH] docs: update phpstan command with composer scripts --- contributing/pull_request.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contributing/pull_request.md b/contributing/pull_request.md index 05e060f797ec..8e3b5ed9f419 100644 --- a/contributing/pull_request.md +++ b/contributing/pull_request.md @@ -260,7 +260,7 @@ PHPStan is expected to scan the entire framework by running this command in your terminal: ```console -vendor/bin/phpstan analyse +composer phpstan:check ``` See also: @@ -272,7 +272,7 @@ false positive and should be ignored, the baseline can be updated with the follo command: ```console -vendor/bin/phpstan analyze --generate-baseline phpstan-baseline.php +composer phpstan:baseline ``` #### Rector