mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
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
d7799da826/lib/linguist/languages.yml (L6063)
This commit is contained in:
parent
850d59a631
commit
0015abd96f
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user