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

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

build: Updating mediawiki/mediawiki-codesniffer to 0.11.0

Change-Id: I9fdca1c39abc7c0c1172f538faa0f023461aeb84
---
M Question.php
M composer.json
2 files changed, 13 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Quiz 
refs/changes/80/371380/1

diff --git a/Question.php b/Question.php
index f6916b6..f2d544c 100644
--- a/Question.php
+++ b/Question.php
@@ -82,7 +82,7 @@
                $unparsedHeader = preg_split( $splitHeaderPattern, $input );
                 $output = $this->mParser->recursiveTagParse( trim( 
$unparsedHeader[0] ) );
                if ( array_key_exists( 1, $unparsedHeader ) && 
$this->mBeingCorrected ) {
-                       $output .="\n";
+                       $output .= "\n";
                        $output .= '<table class="correction"><tr>';
                        $output .= '<td>&#x2192;</td><td>';
                        $output .= $this->mParser->recursiveTagParse( trim( 
$unparsedHeader[1] ) );
@@ -299,7 +299,7 @@
                        $this->setState( 'error' );
                }
                $output = '<tr class="categories">' . "\n";
-               $this->mProposalPattern =  '`^';
+               $this->mProposalPattern = '`^';
                foreach ( $categories as $key => $category ) {
                        // If a category name is empty, the question has a 
syntax error.
                        if ( trim( $category ) == '' ) {
@@ -364,17 +364,17 @@
                global $wqInputId;
                $wqInputId++;
                $title = '';
-               $state =  '';
+               $state = '';
                $spanClass = '';
-               $size =  '';
-               $maxlength =  '';
-               $class =  '';
-               $style =  '';
-               $value =  '';
-               $disabled =  '';
-               $big =  '';
-               $poss =  '';
-               $name =  '';
+               $size = '';
+               $maxlength = '';
+               $class = '';
+               $style = '';
+               $value = '';
+               $disabled = '';
+               $big = '';
+               $poss = '';
+               $name = '';
                $bigDisplay = '';
                // determine size and maxlength of the input.
                if ( array_key_exists( 3, $input ) ) {
diff --git a/composer.json b/composer.json
index 55507be..d1e3215 100644
--- a/composer.json
+++ b/composer.json
@@ -1,7 +1,7 @@
 {
        "require-dev": {
                "jakub-onderka/php-parallel-lint": "0.9.2",
-               "mediawiki/mediawiki-codesniffer": "0.10.1",
+               "mediawiki/mediawiki-codesniffer": "0.11.0",
                "jakub-onderka/php-console-highlighter": "0.3.2"
        },
        "scripts": {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fdca1c39abc7c0c1172f538faa0f023461aeb84
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Quiz
Gerrit-Branch: master
Gerrit-Owner: Legoktm <lego...@member.fsf.org>
Gerrit-Reviewer: Legoktm <lego...@member.fsf.org>

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

Reply via email to