diff options
author | Matt Perry <matt@mattperry.com> | 2013-08-27 01:18:10 -0700 |
---|---|---|
committer | Matt Perry <matt@mattperry.com> | 2013-08-27 01:18:10 -0700 |
commit | d91ab76f52f59d264301e18c28a0d3bae996fab8 (patch) | |
tree | e578ed2778da96a94038de77e03477b2307bbf21 /lib/exe | |
parent | 5004f92c22df31a9c3562344f4223795ad819780 (diff) | |
download | rpg-d91ab76f52f59d264301e18c28a0d3bae996fab8.tar.gz rpg-d91ab76f52f59d264301e18c28a0d3bae996fab8.tar.bz2 |
Fix CodeSniffer violations
Fix violations for the following sniff
DokuWiki.Functions.OpeningFunctionBrace
Also removed an extraneous semicolon.
Diffstat (limited to 'lib/exe')
-rw-r--r-- | lib/exe/css.php | 3 | ||||
-rw-r--r-- | lib/exe/js.php | 3 |
2 files changed, 2 insertions, 4 deletions
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(); |