1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Added example of psalm --init run

Refs #1312
This commit is contained in:
Bruce Weirdan 2019-02-11 02:38:26 +02:00 committed by Matthew Brown
parent dafc5feb5a
commit 1b20d9ab57

View File

@ -14,6 +14,12 @@ Add a `psalm.xml` config:
where `config_level` represents how strict you want Psalm to be. `1` is the strictest, `8` is the most lenient.
Example:
```console
$ ./vendor/bin/psalm --init src 3
Config file created successfully. Please re-run psalm.
```
Then run Psalm:
```bash