Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit 387905b

Browse files
committed
Updated README file to include step for chmod
1 parent 9ad9edb commit 387905b

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ This extension adds support for running `php-cs-fixer fix` on PHP files in Visua
44

55
## Install
66

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:
88
```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/
1412
```
1513

1614
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`.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-php-cs-fixer",
33
"displayName": "vscode-php-cs-fixer",
44
"description": "Support for php-cs-fixer in Visual Studio Code",
5-
"version": "0.0.4",
5+
"version": "0.0.5",
66
"publisher": "fterrag",
77
"engines": {
88
"vscode": "^1.18.0"

0 commit comments

Comments
 (0)