From 95d2593b285ac636138cbbc0d010bbdb292f47d4 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 13 Aug 2014 11:03:03 +0000 Subject: [PATCH] Update version of gulp-phpcs plugin --- src/gulpfile.js | 4 +++- src/package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gulpfile.js b/src/gulpfile.js index c258273e..cecb3cb2 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -44,7 +44,9 @@ gulp.task('phpcs', ['composer-install-dev'], function() { bin: config.phpVendorPath + '/bin/phpcs', standard: 'PSR2', warningSeverity: 0 - })); + })) + .pipe(phpcs.reporter('log')) + .pipe(phpcs.reporter('fail')); }); // Get and install PHP Composer diff --git a/src/package.json b/src/package.json index 70c7c565..5f924145 100644 --- a/src/package.json +++ b/src/package.json @@ -9,7 +9,7 @@ }, "devDependencies": { "gulp": "~3.8.0", - "gulp-phpcs": "~0.1.0", + "gulp-phpcs": "~0.2.1", "gulp-uglify": "~0.3.1", "gulp-concat": "~2.3.4", "gulp-order": "~1.1.1",