jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/344610 )

Change subject: Ignore directory .git in PHP_CodeSniffer
......................................................................


Ignore directory .git in PHP_CodeSniffer

Unfortunately I have a local branch ending with .php and phpcs is
checking it (and obviously is trigerring errors)

Change-Id: I11f121802c6bfce1723e71a65853335e8312f627
---
M composer.json
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Seb35: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/composer.json b/composer.json
index 61956c2..4ff65bd 100644
--- a/composer.json
+++ b/composer.json
@@ -27,7 +27,7 @@
        "scripts": {
                "validate-schema": "php ./bin/validate-schema.php",
                "lint": "parallel-lint --exclude vendor .",
-               "phpcs": "phpcs -p -s",
+               "phpcs": "phpcs -p -s --ignore=.git",
                "phpdoc": "[ \"`which phpdoc`\" = \"\" ] || phpdoc -d bin,src 
-t ./docs/code",
                "phpunit": "which phpdbg && phpdbg -qrr `which phpunit` 
--strict-coverage || phpunit --strict-coverage",
                "unit": "phpunit --no-coverage",

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I11f121802c6bfce1723e71a65853335e8312f627
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MediaWikiFarm
Gerrit-Branch: master
Gerrit-Owner: Seb35 <se...@seb35.fr>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Seb35 <se...@seb35.fr>
Gerrit-Reviewer: Umherirrender <umherirrender_de...@web.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to