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

Change subject: build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
......................................................................


build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: I170894260cfe65b092d9e8d2f54d9e8999aa80e2
---
M TemplateParser.php
M composer.json
2 files changed, 2 insertions(+), 2 deletions(-)

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



diff --git a/TemplateParser.php b/TemplateParser.php
index b92f5c4..e5c8b3c 100644
--- a/TemplateParser.php
+++ b/TemplateParser.php
@@ -225,7 +225,7 @@
                                $domNavigator->getFirstClassWithPrefix( $group, 
'fileinfotpl-type-' ) ?: '-';
                }
 
-               if ( isset ( $data[$groupName][$fieldName] ) ) {
+               if ( isset( $data[$groupName][$fieldName] ) ) {
                        // don't parse the same field multiple times if it has 
both id and classes; also
                        // ignore a second field of the same type in the same 
template
                        return;
diff --git a/composer.json b/composer.json
index fd295f4..96a1043 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
        "require-dev": {
                "jakub-onderka/php-parallel-lint": "0.9.2",
                "jakub-onderka/php-console-highlighter": "0.3.2",
-               "mediawiki/mediawiki-codesniffer": "0.10.1"
+               "mediawiki/mediawiki-codesniffer": "0.11.0"
        },
        "scripts": {
                "fix": "phpcbf",

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I170894260cfe65b092d9e8d2f54d9e8999aa80e2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CommonsMetadata
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>
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

Reply via email to