Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "phplint", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "wrapper for php -l", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,2 +6,4 @@ # phplint | ||
Inspired by and largely copied from [jgable/grunt-phplint](https://github.com/jgable/grunt-phplint) but in a build-tool agnostic manner. | ||
## Install | ||
@@ -29,4 +31,17 @@ | ||
### Gulp | ||
```js | ||
var gulp = require('gulp'); | ||
var phplint = require('phplint'); | ||
gulp.task('phplint', function () { | ||
return phplint('src/app/**/*.php'); | ||
}); | ||
gulp.task('default', ['phplint']); | ||
``` | ||
## License | ||
[MIT](http://opensource.org/licenses/MIT) © [Wayne Ashley Berry](https://twitter.com/waynethebrain) |
4259
46