mirror of
https://github.com/10h30/genesis-simple-sidebars.git
synced 2026-07-18 05:53:26 +09:00
Introducing coding standards validation.
This commit is contained in:
committed by
Nathan Rice
parent
6e40c921ab
commit
fd504d41ac
+12
@@ -0,0 +1,12 @@
|
||||
@echo off
|
||||
REM PHP_CodeSniffer detects violations of a defined coding standard.
|
||||
REM
|
||||
REM @author Greg Sherwood <gsherwood@squiz.net>
|
||||
REM @copyright 2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)
|
||||
REM @license https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
|
||||
|
||||
if "%PHP_PEAR_PHP_BIN%" neq "" (
|
||||
set PHPBIN=%PHP_PEAR_PHP_BIN%
|
||||
) else set PHPBIN=php
|
||||
|
||||
"%PHPBIN%" "%~dp0\phpcs" %*
|
||||
Reference in New Issue
Block a user