Thiemo Mättig (WMDE) has uploaded a new change for review. https://gerrit.wikimedia.org/r/220735
Change subject: Add "composer test" command for Jenkins ...................................................................... Add "composer test" command for Jenkins Originally I copied this line from core. It used a parameter and you had to provide a directory when calling "composer phpcs .". Now the line is mostly copied from the Vector skin. This allows to run "composer test" on Jenkins with no extra parameter. The order of the phpcs parameters follows the order given via "phpcs -?". Change-Id: I32e2e231521ac2f78aa9d08bb42c3dd37911e537 --- M composer.json 1 file changed, 4 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/35/220735/1 diff --git a/composer.json b/composer.json index d1078ba..f941eb4 100644 --- a/composer.json +++ b/composer.json @@ -69,6 +69,9 @@ } }, "scripts": { - "phpcs": "phpcs $PHPCS_ARGS -s --standard=phpcs.xml --ignore=extensions/ValueView,vendor --encoding=utf-8 --extensions=php" + "phpcs": "phpcs -sp --standard=phpcs.xml --extensions=php --ignore=extensions/ValueView,vendor .", + "test": [ + "composer phpcs" + ] } } -- To view, visit https://gerrit.wikimedia.org/r/220735 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I32e2e231521ac2f78aa9d08bb42c3dd37911e537 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits