laravel-elixir-phpcs
v1.0.0
Published
Laravel Elixir PHP_CodeSniffer Extension
Downloads
27
Readme
laravel-elixir-phpcs
Install
$ npm install laravel-elixir-phpcs --save-dev
$ composer require "squizlabs/php_codesniffer=*" --dev
Usage
var elixir = require('laravel-elixir');
require('laravel-elixir-phpcs');
elixir(function(mix) {
mix.phpcs([
'app/**/*.php',
'tests/**/*.php'
], {
bin: 'vendor/bin/phpcs',
standard: 'PSR2'
});
});