r104558 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104557‎ | r104558 | r104559 >
Date:12:46, 29 November 2011
Author:hashar
Status:ok
Tags:
Comment:
use {} even when if statement is oneliner
Modified paths:
  • /trunk/phase3/tests/testHelpers.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/testHelpers.inc
@@ -428,8 +428,9 @@
429429 $this->sectionData['options'] = '';
430430 }
431431
432 - if ( !isset( $this->sectionData['config'] ) )
 432+ if ( !isset( $this->sectionData['config'] ) ) {
433433 $this->sectionData['config'] = '';
 434+ }
434435
435436 if ( ( ( preg_match( '/\\bdisabled\\b/i', $this->sectionData['options'] ) && !$this->parserTest->runDisabled )
436437 || !preg_match( "/" . $this->parserTest->regex . "/i", $this->sectionData['test'] ) ) ) {

Status & tagging log