2.0.1 • Published 8 years ago

laravel-elixir-phpcs-shell v2.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

laravel-elixir-phpcs-shell


Description

A laravel-elixir plugin for PHP Code Sniffer https://github.com/squizlabs/PHP_CodeSniffer

Linting for PHP code


Install

First, install PHP Code Sniffer

$ composer require "squizlabs/php_codesniffer=*"

Then in require the package

Elixir(function(mix) {
    npm install 'laravel-elixir-phpcs-shell';
});

Usage: phpCS()

Call the plugin in gulpfile.js with:

    require('laravel-elixir-phpcs-shell');
    mix.phpCS('tests/**/*.php', 'phpcs -p --standard=PSR2 tests');


TODOs

No TODOs


Changelog

  • 2016-03-09 Initial release
2.0.1

8 years ago

2.0.0

8 years ago

1.0.6

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.5

8 years ago