Skip to content

Commit 1ffa762

Browse files
author
Damien Chantelouve
authored
Update README.md
1 parent e50a7ec commit 1ffa762

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,21 @@ PHP Coding Standards of Pilot'in
3939
`phpcs -i`
4040

4141
*(You should have **"PilotIn"** showing & you're good to go 🚀)*
42+
43+
## Bonus steps
44+
45+
If you're using **VS Code**:
46+
47+
- Install `phpcs` & `phpcbf` extensions
48+
- Add this to your vscode settings:
49+
```jsonc
50+
/** Validation PHP */
51+
"php.validate.executablePath": "php.exe",
52+
"php.validate.run": "onType",
53+
54+
/** Formatte le code selon les standards "PilotIn" */
55+
"phpcs.standard": "PilotIn",
56+
"phpcbf.standard": "PilotIn",
57+
"phpcbf.debug": true,
58+
"phpcbf.executablePath": "phpcbf.bat",
59+
```

0 commit comments

Comments
 (0)