From 1d5120a7489e1781351e9767bf54d2dd8a0cb546 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 29 Nov 2011 12:46:04 +0000 Subject: [PATCH] use {} even when if statement is oneliner --- tests/testHelpers.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testHelpers.inc b/tests/testHelpers.inc index 9287d535c0..e9a6cb8d2e 100644 --- a/tests/testHelpers.inc +++ b/tests/testHelpers.inc @@ -428,8 +428,9 @@ class TestFileIterator implements Iterator { $this->sectionData['options'] = ''; } - if ( !isset( $this->sectionData['config'] ) ) + if ( !isset( $this->sectionData['config'] ) ) { $this->sectionData['config'] = ''; + } if ( ( ( preg_match( '/\\bdisabled\\b/i', $this->sectionData['options'] ) && !$this->parserTest->runDisabled ) || !preg_match( "/" . $this->parserTest->regex . "/i", $this->sectionData['test'] ) ) ) { -- 2.20.1