From 0015abd96fe6ec24daf28a5609fb0c27313878f5 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sun, 12 Jun 2022 06:47:33 +0900 Subject: [PATCH] docs: add language identifier `console` to code blocks https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks https://github.com/github/linguist/blob/d7799da826e01acdb8f84694d33116dccaabe9c2/lib/linguist/languages.yml#L6063 --- contributing/pull_request.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contributing/pull_request.md b/contributing/pull_request.md index 6cf29d11e7..eaa0c0f24c 100644 --- a/contributing/pull_request.md +++ b/contributing/pull_request.md @@ -43,13 +43,13 @@ as the existing code and ensures that the codebase will be as readable as possib You can fix most of the coding style violations by running this command in your terminal: -``` +```console > composer cs-fix ``` You can check the coding style violations: -``` +```console > composer cs ``` @@ -198,19 +198,19 @@ so that you can fix whatever errors that pop up with your submission. PHPStan is expected to scan the entire framework by running this command in your terminal: -``` +```console > vendor/bin/phpstan analyse ``` Rector, on the other hand, can be run on the specific files you modified or added: -``` +```console > vendor/bin/rector process --dry-run path/to/file ``` If you run it without `--dry-run`, Rector will fix the code: -``` +```console > vendor/bin/rector process path/to/file ```