Skip to content

Commit b11ec18

Browse files
author
Damien Chantelouve
authored
Update README.md
1 parent f11e86b commit b11ec18

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ PHP Coding Standards of Pilot'in
44
## Installation steps
55

66
- Having `composer` installed: [Get Composer](https://getcomposer.org/download/)
7-
- Having `PHP Code Sniffer` installed: `composer global require "squizlabs/php_codesniffer=*"`
8-
- Having `WordPress Coding Standards` installed: `composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/phpcompatibility-wp squizlabs/php_codesniffer wp-coding-standards/wpcs`
7+
- Having `PHP Code Sniffer` installed:
8+
`composer global require "squizlabs/php_codesniffer=*"`
9+
- Having `WordPress Coding Standards` installed:
10+
`composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/phpcompatibility-wp squizlabs/php_codesniffer wp-coding-standards/wpcs`
911
- Download the folder **PilotIn** of this repo and put it somewhere on your drive.
10-
- Give the path of this folder to phpcs using: `phpcs --config-set installed_paths path/of/your/folder`
11-
- Set the default standard as **PilotIn** using: `phpcs --config-set default_standard PilotIn`
12-
- Restart your terminal to be sure everything is up to date & try: `phpcs --config-show` to see if everything is set.
12+
- Give the path of this folder to phpcs using:
13+
`phpcs --config-set installed_paths path/of/your/folder`
14+
- Set the default standard as **PilotIn** using:
15+
`phpcs --config-set default_standard PilotIn`
16+
- Restart your terminal to be sure everything is up to date & try this to see if everything is set:
17+
`phpcs --config-show`

0 commit comments

Comments
 (0)