grunt-php-cs-fixer
Version:
Grunt plugin for running PHP Coding Standards Fixer
19 lines (14 loc) • 399 B
JavaScript
/*
* Grunt PHP Coding Standard Fixer
* https://github.com/mgmcintyre/grunt-php-cs-fixer
*
* Licensed under the MIT license.
*/
;
module.exports = function(grunt) {
var phpcsfixer = require("./lib/phpcsfixer").init(grunt);
grunt.registerMultiTask("phpcsfixer", "Fix PHP coding standards", function() {
phpcsfixer.setup(this);
phpcsfixer.run();
});
};