@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | foreach ($acl as $rule) { |
41 | 41 | if (!is_array($rule)) { |
42 | - throw new Error\Exception('Invalid rule in access control list: ' . var_export($rule, true)); |
|
42 | + throw new Error\Exception('Invalid rule in access control list: '.var_export($rule, true)); |
|
43 | 43 | } |
44 | 44 | if (count($rule) === 0) { |
45 | 45 | throw new Error\Exception('Empty rule in access control list.'); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $action = array_shift($rule); |
49 | 49 | if ($action !== 'allow' && $action !== 'deny') { |
50 | 50 | throw new Error\Exception( |
51 | - 'Invalid action in rule in access control list: ' . var_export($action, true) |
|
51 | + 'Invalid action in rule in access control list: '.var_export($action, true) |
|
52 | 52 | ); |
53 | 53 | } |
54 | 54 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | { |
66 | 66 | $config = Configuration::getOptionalConfig('acl.php'); |
67 | 67 | if (!$config->hasValue($id)) { |
68 | - throw new Error\Exception('No ACL with id ' . var_export($id, true) . ' in config/acl.php.'); |
|
68 | + throw new Error\Exception('No ACL with id '.var_export($id, true).' in config/acl.php.'); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | return $config->getArray($id); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | case 'or': |
129 | 129 | return self::opOr($attributes, $rule); |
130 | 130 | default: |
131 | - throw new Error\Exception('Invalid ACL operation: ' . var_export($op, true)); |
|
131 | + throw new Error\Exception('Invalid ACL operation: '.var_export($op, true)); |
|
132 | 132 | } |
133 | 133 | } |
134 | 134 |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | $data = $dataset->getDebugData(); |
161 | 161 | foreach ($data as $de) { |
162 | 162 | if (isset($de[1])) { |
163 | - echo '"' . $de[0] . '",' . $de[1] . "\n"; |
|
163 | + echo '"'.$de[0].'",'.$de[1]."\n"; |
|
164 | 164 | } |
165 | 165 | } |
166 | 166 | exit; |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | } |
238 | 238 | } |
239 | 239 | if ($type === 'get') { |
240 | - return Module::getModuleURL("statistics/showstats.php") . '?' . http_build_query($vars, '', '&'); |
|
240 | + return Module::getModuleURL("statistics/showstats.php").'?'.http_build_query($vars, '', '&'); |
|
241 | 241 | } |
242 | 242 | return $vars; |
243 | 243 | } |