UNPKG

grunt-php-cs-fixer-branch

Version:

Grunt plugin for running PHP Coding Standards Fixer in the modified files of the current branch

20 lines (14 loc) 448 B
/* * Grunt PHP Coding Standard Fixer * https://github.com/mgmcintyre/grunt-php-cs-fixer * * Licensed under the ISC license. */ 'use strict'; module.exports = function(grunt) { var phpcsfixerbranch = require("./lib/phpcsfixerbranch").init(grunt); grunt.registerMultiTask("phpcsfixerbranch", "Fix PHP coding standards of current branch", function() { phpcsfixerbranch.setup(this); phpcsfixerbranch.run(); }); };