Polybuildr has uploaded a new change for review.
https://gerrit.wikimedia.org/r/233836
Change subject: Ignore languages/messages/Message*.php in line length sniff
......................................................................
Ignore languages/messages/Message*.php in line length sniff
Most of these files have very long lines, but that makes them easier to
read. Also, they're generated from a script. It's probably a better idea
to ignore their lengths than to change the lengths.
Bug: T103806
Change-Id: Ic6860520e4cc76f93aa13c364aae11cf14f279d0
---
M phpcs.xml
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/36/233836/1
diff --git a/phpcs.xml b/phpcs.xml
index 7f1bced..ac69a78 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -4,6 +4,9 @@
<file>.</file>
<arg name="encoding" value="utf8"/>
<arg name="extensions" value="php,php5,inc,sample"/>
+ <rule ref="Generic.Files.LineLength">
+
<exclude-pattern>*/languages/messages/Message*.php</exclude-pattern>
+ </rule>
<exclude-pattern>node_modules</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>extensions</exclude-pattern>
--
To view, visit https://gerrit.wikimedia.org/r/233836
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6860520e4cc76f93aa13c364aae11cf14f279d0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Polybuildr <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits