This repository was archived by the owner on Sep 27, 2024. It is now read-only.
File tree 2 files changed +5
-7
lines changed
2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,11 @@ This extension adds support for running `php-cs-fixer fix` on PHP files in Visua
4
4
5
5
## Install
6
6
7
- Download [ php-cs-fixer] ( https://github.com/FriendsOfPHP/PHP-CS-Fixer ) and move it to a directory in your ` PATH ` . For example:
7
+ If not already installed, download [ php-cs-fixer] ( https://github.com/FriendsOfPHP/PHP-CS-Fixer ) and move it to a directory in your ` PATH ` . For example:
8
8
``` bash
9
- curl -L http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -o php-cs-fixer
10
- ```
11
-
12
- ``` bash
13
- mv php-cs-fixer /usr/local/bin/
9
+ $ curl -L http://cs.sensiolabs.org/download/php-cs-fixer-v2.phar -o php-cs-fixer
10
+ $ chmod +x php-cs-fixer
11
+ $ mv php-cs-fixer /usr/local/bin/
14
12
```
15
13
16
14
If you don't want ` php-cs-fixer ` in your ` PATH ` , set the ` vscode-php-cs-fixer.toolPath ` setting to the path of ` php-cs-fixer ` .
Original file line number Diff line number Diff line change 2
2
"name" : " vscode-php-cs-fixer" ,
3
3
"displayName" : " vscode-php-cs-fixer" ,
4
4
"description" : " Support for php-cs-fixer in Visual Studio Code" ,
5
- "version" : " 0.0.4 " ,
5
+ "version" : " 0.0.5 " ,
6
6
"publisher" : " fterrag" ,
7
7
"engines" : {
8
8
"vscode" : " ^1.18.0"
You can’t perform that action at this time.
0 commit comments