Details |
Last modification |
View Log
Rev |
Author |
Line No. |
Line |
2775 |
rexy |
1 |
@echo off
|
|
|
2 |
echo.
|
|
|
3 |
echo Starting SVN Stat + PHP Lint
|
|
|
4 |
echo ============================
|
|
|
5 |
svn stat |findstr /I /R "\.php$ \.phtml$" >lint.txt
|
|
|
6 |
for /F "tokens=2 delims= " %%i in (lint.txt) do q:\php53\php.exe -l %%i |findstr /I /B /V "No syntax errors"
|
|
|
7 |
del lint.txt
|
|
|
8 |
echo.
|
|
|
9 |
echo ============================
|
|
|
10 |
echo Finished SVN Stat + PHP Lint
|