Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/350975 )

Change subject: Move ignore for phpcs to phpcs.xml
......................................................................

Move ignore for phpcs to phpcs.xml

This allows the phpcbf command to profit from this setting too

Change-Id: Id048bf0bc773e20f1674ee8529c8bafe3b12f8f7
---
M composer.json
M phpcs.xml
2 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Pickle 
refs/changes/75/350975/1

diff --git a/composer.json b/composer.json
index adca889..04905da 100644
--- a/composer.json
+++ b/composer.json
@@ -47,8 +47,8 @@
                        "php ../../tests/phpunit/phpunit.php --wiki wiki 
--group Pickle"
                ],
                "test": [
-                       "parallel-lint . --exclude vendor --exclude 
node_modueles",
-                       "phpcs -p -s --ignore=vendor,node_modules"
+                       "parallel-lint . --exclude vendor --exclude 
node_modules",
+                       "phpcs -p -s"
                ]
        },
        "require": {
diff --git a/phpcs.xml b/phpcs.xml
index d81a292..cf66811 100644
--- a/phpcs.xml
+++ b/phpcs.xml
@@ -5,4 +5,5 @@
        <arg name="extensions" value="php,php5,inc"/>
        <arg name="encoding" value="utf8"/>
        <exclude-pattern>vendor</exclude-pattern>
+       <exclude-pattern>node_modules</exclude-pattern>
 </ruleset>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id048bf0bc773e20f1674ee8529c8bafe3b12f8f7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Pickle
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

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

Reply via email to