From 08a39470c0eac22e80d88390657f962881701466 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 27 May 2016 18:24:16 -0700 Subject: [PATCH] build: Updating mediawiki/mediawiki-codesniffer to 0.7.2 Also added "composer fix" command. Change-Id: I8da17b799929b7caed0e0a89014c6ab15c39f0c6 --- .gitignore | 1 + composer.json | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 24ebbb9a..1228fd68 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ NormalizationTest.txt node_modules/ vendor/ +composer.lock diff --git a/composer.json b/composer.json index 35824f62..a927be3d 100644 --- a/composer.json +++ b/composer.json @@ -8,22 +8,26 @@ { "name": "Victor Vasiliev", "email": "vasilvv@gmail.com" - }, { + }, + { "name": "Tim Starling", "email": "tstarling@users.mediawiki.org" } ], "require": { - "composer/installers" : ">=1.0.1" + "composer/installers": ">=1.0.1" }, "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", - "mediawiki/mediawiki-codesniffer": "0.7.1" + "mediawiki/mediawiki-codesniffer": "0.7.2" }, "scripts": { "test": [ "parallel-lint . --exclude vendor", "phpcs -p -s" + ], + "fix": [ + "phpcbf" ] } }