grunt-phpcbf
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -46,3 +46,3 @@ /* | ||
options: { | ||
//bin: 'vendor/bin/phpcs', | ||
bin: 'vendor/bin/phpcbf', | ||
standard: 'PSR2' | ||
@@ -54,3 +54,3 @@ } | ||
options: { | ||
//bin: 'vendor/bin/phpcs', | ||
bin: 'vendor/bin/phpcbf', | ||
standard: 'test/standard.xml' | ||
@@ -57,0 +57,0 @@ } |
{ | ||
"name": "grunt-phpcbf", | ||
"description": "Grunt plugin for running phpcbf (PHP Code Beautifier and Fixer)", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"homepage": "https://github.com/mducharme/grunt-phpcbf", | ||
@@ -30,3 +30,3 @@ "author": { | ||
"devDependencies": { | ||
"grunt": "~0.4.5", | ||
"grunt": ">= 0.4.5", | ||
"grunt-contrib-jshint": "^0.9.2", | ||
@@ -38,3 +38,3 @@ "grunt-contrib-clean": "^0.5.0", | ||
"peerDependencies": { | ||
"grunt": "~0.4.5" | ||
"grunt": ">=0.4.5" | ||
}, | ||
@@ -41,0 +41,0 @@ "keywords": [ |
# grunt-phpcbf | ||
[![Build Status](https://travis-ci.org/mducharme/grunt-phpcbf.svg?branch=master)](https://travis-ci.org/mducharme/grunt-phpcbf) | ||
> Grunt plugin for running phpcbf (PHP Code Beautifier and Fixer) | ||
https://travis-ci.org/mducharme/grunt-phpcbf.svg?branch=master | ||
[![Build Status](https://travis-ci.org/mducharme/grunt-phpcbf.svg?branch=master)](https://travis-ci.org/mducharme/grunt-phpcbf) | ||
This plugin is heavily based on `grunt-phpcs` by Sascha Galley. | ||
@@ -44,16 +49,2 @@ https://github.com/SaschaGalley/grunt-phpcs | ||
### Options | ||
#### options.separator | ||
Type: `String` | ||
Default value: `', '` | ||
A string value that is used to do something with whatever. | ||
#### options.punctuation | ||
Type: `String` | ||
Default value: `'.'` | ||
A string value that is used to do something else with whatever else. | ||
### Usage Examples | ||
@@ -64,5 +55,7 @@ | ||
phpcbf: { | ||
options: {}, | ||
options: { | ||
bin:'vendor/squizlabs/bin/' | ||
}, | ||
files: { | ||
'dest/default_options': ['src/testing', 'src/123'], | ||
src:['dest/default_options': ['src/testing', 'src/123'], | ||
}, | ||
@@ -126,3 +119,4 @@ }, | ||
```js | ||
function log(err, stdout, stderr, callback) { | ||
function log(err, stdout, stderr, callback) | ||
{ | ||
console.log(stdout); | ||
@@ -143,2 +137,5 @@ callback(); | ||
## Authors | ||
- Mathieu Ducharme mat@locomotive.ca | ||
## Contributing | ||
@@ -145,0 +142,0 @@ In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/). |
@@ -22,3 +22,4 @@ /* | ||
verbose: 'v', | ||
noPatch: 'n' | ||
noPatch: '-no-patch', | ||
ignoreWarnings: 'n' | ||
}, | ||
@@ -36,3 +37,4 @@ options: { | ||
maxBuffer: 200*1024, | ||
noPatch: true | ||
noPatch: true, | ||
ignoreWarnings: true | ||
}; | ||
@@ -39,0 +41,0 @@ var done = null; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12274
14
193
142