Explorar el Código

Subtract 20 points for logs that do not have accurate stream set to yes

tags/v0.8.4
itismadness hace 5 años
padre
commit
234de45ab2
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: EC2A9E983E627E47
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. +6
    -4
      src/Logchecker.php

+ 6
- 4
src/Logchecker.php Ver fichero

@@ -1154,18 +1154,20 @@ class Logchecker {
function accurate_stream($Matches)
{
if ($Matches[2] == 'Yes') {
$Class = 'goodish';
$Class = 'good';
} else {
$Class = 'badish';
$Class = 'bad';
$this->account('"Utilize accurate stream" should be yes', 20);
}
return '<span class="log5">Utilize accurate stream' . $Matches[1] . '</span>: <span class="' . $Class . '">' . $Matches[2] . '</span>';
}
function accurate_stream_eac_pre99($Matches)
{
if (strtolower($Matches[1]) != 'no ') {
$Class = 'goodish';
$Class = 'good';
} else {
$Class = 'badish';
$Class = 'bad';
$this->account('"accurate stream" should be yes', 20);
}
return ', <span class="' . $Class . '">' . $Matches[1] . 'accurate stream</span>';
}


Cargando…
Cancelar
Guardar