diff options
author | Felix Moeller <mail@felixmoeller.de> | 2012-11-04 10:46:32 +0100 |
---|---|---|
committer | Felix Moeller <mail@felixmoeller.de> | 2012-11-04 10:46:32 +0100 |
commit | f8d1d7787e1112842db81a629dfd84b586fbebda (patch) | |
tree | 65ca5da914f492411485ccb61a707b00686ba8f6 /tests/lib/template.php | |
parent | 17d466b03b91ccc058fe1a88340df36c22a580c2 (diff) | |
download | nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.tar.gz nextcloud-server-f8d1d7787e1112842db81a629dfd84b586fbebda.zip |
Checkstyle fixes for SpaceBeforeOpenBrace
Diffstat (limited to 'tests/lib/template.php')
-rw-r--r-- | tests/lib/template.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/template.php b/tests/lib/template.php index dadfdba5e0c..32ae4aca590 100644 --- a/tests/lib/template.php +++ b/tests/lib/template.php @@ -24,7 +24,7 @@ require_once("lib/template.php"); class Test_TemplateFunctions extends UnitTestCase { - public function testP(){ + public function testP() { // FIXME: do we need more testcases? $htmlString = "<script>alert('xss');</script>"; ob_start(); @@ -35,7 +35,7 @@ class Test_TemplateFunctions extends UnitTestCase { $this->assertEqual("<script>alert('xss');</script>", $result); } - public function testPNormalString(){ + public function testPNormalString() { $normalString = "This is a good string!"; ob_start(); p($normalString); @@ -46,7 +46,7 @@ class Test_TemplateFunctions extends UnitTestCase { } - public function testPrintUnescaped(){ + public function testPrintUnescaped() { $htmlString = "<script>alert('xss');</script>"; ob_start(); @@ -57,7 +57,7 @@ class Test_TemplateFunctions extends UnitTestCase { $this->assertEqual($htmlString, $result); } - public function testPrintUnescapedNormalString(){ + public function testPrintUnescapedNormalString() { $normalString = "This is a good string!"; ob_start(); print_unescaped($normalString); |