Hashar has submitted this change and it was merged.

Change subject: run-phpcs-mw: Specify encoding of source files as utf-8
......................................................................


run-phpcs-mw: Specify encoding of source files as utf-8

Port of https://gerrit.wikimedia.org/r/#/c/88743 against JJB macro:

Per
http://pear.php.net/manual/en/package.php.php-codesniffer.advanced-usage.php.
Bug: 55508

Change-Id: I44f42262d709b2b9ad876bdf9fc44fb5e3dfff09
---
M bin/run-phpcs-mw.sh
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Hashar: Verified; Looks good to me, approved



diff --git a/bin/run-phpcs-mw.sh b/bin/run-phpcs-mw.sh
index db62d81..9f2266e 100755
--- a/bin/run-phpcs-mw.sh
+++ b/bin/run-phpcs-mw.sh
@@ -82,6 +82,7 @@
 echo "Starting PHPCS..."
 set -xe
 phpcs -v -s $PHPCS_FILES \
+       --encoding=utf-8 \
        --standard=/var/lib/jenkins/tools/mwcodesniffer/MediaWiki \
        $PHPCS_OPTS \
        --ignore=$IGNORE_WITH_SEP \

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I44f42262d709b2b9ad876bdf9fc44fb5e3dfff09
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>
Gerrit-Reviewer: Hashar <has...@free.fr>
Gerrit-Reviewer: Siebrand <siebr...@wikimedia.org>
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