update some variable names

update Readme
This commit is contained in:
Ryan Rushton 2015-03-18 22:09:11 -07:00
parent c5f64d1a47
commit 505ec85a77
3 changed files with 6 additions and 6 deletions

View File

@ -52,7 +52,7 @@ Thank you. [Glavin Wiechert](https://github.com/Glavin001)
- Requires [Pandoc](http://johnmacfarlane.net/pandoc/) to be already installed
- [X] [Perl](https://github.com/Glavin001/atom-beautify/issues/33)
- [x] [PHP](https://github.com/donaldpipowitch/atom-beautify/issues/26)
- Requires [PHP_Beautifier](http://pear.php.net/package/PHP_Beautifier) to be already installed.
- Requires [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to be already installed.
- [x] [Python](https://github.com/donaldpipowitch/atom-beautify/issues/24)
- Requires [autopep8](https://github.com/hhatto/autopep8) to be already installed.
- Beautifies to [PEP 8](http://legacy.python.org/dev/peps/pep-0008/).
@ -208,12 +208,12 @@ See [examples/nested-jsbeautifyrc/.jsbeautifyrc](https://github.com/donaldpipowi
### PHP
To use with PHP we require [PHP_Beautifier](http://pear.php.net/package/PHP_Beautifier)
and that you set the `Php beautifier path` in the package settings.
To use with PHP we require [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer)
and that you set the `Php cs fixer path` in the package settings.
#### Retrieve the path on Mac & Linux
Run `which php_beautifier` in your Terminal.
Run `which php-cs-fixer` in your Terminal.
### Python

View File

@ -2,7 +2,7 @@
Requires https://github.com/FriendsOfPHP/PHP-CS-Fixer
###
getCmd = (inputPath, outputPath, options) ->
phpCsFixerPath = options.beautifier_path # jshint ignore: line
phpCsFixerPath = options.cs_fixer_path # jshint ignore: line
fixers = options.fixers
level = options.level # jshint ignore: line

View File

@ -272,7 +272,7 @@ module.exports =
description: "Specify a configuration file which will override the default name of .perltidyrc"
# PHP
php_beautifier_path:
php_cs_fixer_path:
type: 'string'
default: ""
description: "Path to the `php-cs-fixer` CLI executable"