~ubuntu-branches/ubuntu/wily/php-codesniffer/wily

« back to all changes in this revision

Viewing changes to PHP_CodeSniffer-2.3.2/scripts/phpcs.bat

  • Committer: Package Import Robot
  • Author(s): David Prévot, Greg Sherwood
  • Date: 2015-04-30 18:14:08 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20150430181408-1lpm509oq0mo1mmi
Tags: 2.3.2-1
[ Greg Sherwood ]
Prepare for 2.3.2 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
REM PHP_CodeSniffer tokenizes PHP code and detects violations of a
 
3
REM defined set of coding standards.
 
4
REM 
 
5
REM PHP version 5
 
6
REM 
 
7
REM @category  PHP
 
8
REM @package   PHP_CodeSniffer
 
9
REM @author    Greg Sherwood <gsherwood@squiz.net>
 
10
REM @author    Marc McIntyre <mmcintyre@squiz.net>
 
11
REM @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
 
12
REM @license   https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
 
13
REM @link      http://pear.php.net/package/PHP_CodeSniffer
 
14
 
 
15
if "%PHPBIN%" == "" set PHPBIN=@php_bin@
 
16
if not exist "%PHPBIN%" if "%PHP_PEAR_PHP_BIN%" neq "" goto USE_PEAR_PATH
 
17
GOTO RUN
 
18
:USE_PEAR_PATH
 
19
set PHPBIN=%PHP_PEAR_PHP_BIN%
 
20
:RUN
 
21
"%PHPBIN%" "@bin_dir@\phpcs" %*
 
 
b'\\ No newline at end of file'