jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/361106 )
Change subject: build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 ...................................................................... build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 Change-Id: If7f5a999959d83910c444f5108c022eb4f08c1fd --- M .gitignore M composer.json M phpcs.xml 3 files changed, 12 insertions(+), 5 deletions(-) Approvals: Hashar: Looks good to me, approved jenkins-bot: Verified diff --git a/.gitignore b/.gitignore index 53bbca6..087740f 100644 --- a/.gitignore +++ b/.gitignore @@ -18,7 +18,7 @@ sftp-config.json # Building & testing -node_modules/ +/node_modules # Composer /vendor diff --git a/composer.json b/composer.json index 1ef4ea4..5243c66 100644 --- a/composer.json +++ b/composer.json @@ -1,8 +1,8 @@ { "require-dev": { - "jakub-onderka/php-parallel-lint": "0.9", + "jakub-onderka/php-parallel-lint": "0.9.2", "jakub-onderka/php-console-highlighter": "0.3.2", - "mediawiki/mediawiki-codesniffer": "0.7.2" + "mediawiki/mediawiki-codesniffer": "0.9.0" }, "scripts": { "fix": "phpcbf", diff --git a/phpcs.xml b/phpcs.xml index ede6c5d..e7b9854 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,9 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> <ruleset> - <rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki"/> + <rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki"> + <exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag"/> + <exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment"/> + <exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn"/> + <exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch"/> + <exclude name="MediaWiki.FunctionComment.Missing.Public"/> + <exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/> + </rule> <file>.</file> <arg name="extensions" value="php,php5,inc"/> - <arg name="encoding" value="utf8"/> + <arg name="encoding" value="UTF-8"/> <exclude-pattern>vendor</exclude-pattern> <exclude-pattern>node_modules</exclude-pattern> </ruleset> -- To view, visit https://gerrit.wikimedia.org/r/361106 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If7f5a999959d83910c444f5108c022eb4f08c1fd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/CologneBlue Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> Gerrit-Reviewer: Hashar <has...@free.fr> Gerrit-Reviewer: Legoktm <lego...@member.fsf.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits