Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/229632

Change subject: Add "composer cs" command
......................................................................

Add "composer cs" command

We have this in several other repos, and this is something
we can use for style checks in general, without having to
know if we are just using PHPCS or not.

Change-Id: I8a7a66ef840decee3f8370404a88da61cdec4163
---
M composer.json
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/32/229632/1

diff --git a/composer.json b/composer.json
index ea37a01..5901589 100644
--- a/composer.json
+++ b/composer.json
@@ -74,6 +74,9 @@
        },
        "scripts": {
                "test": [
+                       "composer cs"
+               ],
+               "cs": [
                        "composer phpcs"
                ],
                "phpcs": "vendor/bin/phpcs -sp --standard=phpcs.xml 
--extensions=php --ignore=extensions/ValueView,vendor ."

-- 
To view, visit https://gerrit.wikimedia.org/r/229632
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8a7a66ef840decee3f8370404a88da61cdec4163
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to