diff options
author | Michael Hamann <michael@content-space.de> | 2013-09-01 11:15:16 -0700 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-09-01 11:15:16 -0700 |
commit | e5319c7235be3b487fa422daf605e854c2ff359d (patch) | |
tree | e578ed2778da96a94038de77e03477b2307bbf21 | |
parent | 5004f92c22df31a9c3562344f4223795ad819780 (diff) | |
parent | d91ab76f52f59d264301e18c28a0d3bae996fab8 (diff) | |
download | rpg-e5319c7235be3b487fa422daf605e854c2ff359d.tar.gz rpg-e5319c7235be3b487fa422daf605e854c2ff359d.tar.bz2 |
Merge pull request #324 from mperry2/openbrace
Fix CodeSniffer violations
-rw-r--r-- | inc/parser/xhtml.php | 5 | ||||
-rw-r--r-- | lib/exe/css.php | 3 | ||||
-rw-r--r-- | lib/exe/js.php | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index ff4d7eb41..e269563fe 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -875,7 +875,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { $mod = 1; $start = 0; $end = $feed->get_item_quantity(); - $end = ($end > $params['max']) ? $params['max'] : $end;; + $end = ($end > $params['max']) ? $params['max'] : $end; } $this->doc .= '<ul class="rss">'; @@ -1208,8 +1208,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { * @access protected * @return array */ - function _getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render) - { + function _getMediaLinkConf($src, $title, $align, $width, $height, $cache, $render) { global $conf; $link = array(); diff --git a/lib/exe/css.php b/lib/exe/css.php index 9e1e22e1a..60e17ae82 100644 --- a/lib/exe/css.php +++ b/lib/exe/css.php @@ -465,8 +465,7 @@ function css_pluginstyles($mediatype='screen'){ * * @author Gabriel Birke <birke@d-scribe.de> */ -function css_moveimports($css) -{ +function css_moveimports($css) { if(!preg_match_all('/@import\s+(?:url\([^)]+\)|"[^"]+")\s*[^;]*;\s*/', $css, $matches, PREG_OFFSET_CAPTURE)) { return $css; } diff --git a/lib/exe/js.php b/lib/exe/js.php index 4b4b598de..76238a81b 100644 --- a/lib/exe/js.php +++ b/lib/exe/js.php @@ -194,8 +194,7 @@ function js_pluginscripts(){ * * @author Gabriel Birke <birke@d-scribe.de> */ -function js_pluginstrings() -{ +function js_pluginstrings() { global $conf; $pluginstrings = array(); $plugins = plugin_list(); |