Comply to coding guidelines
This commit is contained in:
parent
7bda4ce42b
commit
b505101694
|
@ -22,7 +22,7 @@ class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
|||
$pieChartData = PerfdataSet::fromString($perfdataStr)->asArray();
|
||||
uasort(
|
||||
$pieChartData,
|
||||
function($a, $b) {
|
||||
function ($a, $b) {
|
||||
return $a->worseThan($b) ? -1 : ($b->worseThan($a) ? 1 : 0);
|
||||
}
|
||||
);
|
||||
|
|
|
@ -35,7 +35,9 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
|
|||
$output = preg_replace('~<br[^>]+>~', "\n", $output);
|
||||
if (preg_match('~<\w+[^>^\\\]{0,60}>~', $output)) {
|
||||
// HTML
|
||||
$output = preg_replace('~<table~', '<table style="font-size: 0.75em"',
|
||||
$output = preg_replace(
|
||||
'~<table~',
|
||||
'<table style="font-size: 0.75em"',
|
||||
$this->getPurifier()->purify($output)
|
||||
);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue