summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-09-01 11:15:16 -0700
committerMichael Hamann <michael@content-space.de>2013-09-01 11:15:16 -0700
commite5319c7235be3b487fa422daf605e854c2ff359d (patch)
treee578ed2778da96a94038de77e03477b2307bbf21 /lib/exe
parent5004f92c22df31a9c3562344f4223795ad819780 (diff)
parentd91ab76f52f59d264301e18c28a0d3bae996fab8 (diff)
downloadrpg-e5319c7235be3b487fa422daf605e854c2ff359d.tar.gz
rpg-e5319c7235be3b487fa422daf605e854c2ff359d.tar.bz2
Merge pull request #324 from mperry2/openbrace
Fix CodeSniffer violations
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/css.php3
-rw-r--r--lib/exe/js.php3
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();