Update readme and fix code style issues
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
namespace Classes;
|
||||
|
||||
|
||||
class DomainAwareInputCleaner
|
||||
{
|
||||
public function cleanTableColumn($input)
|
||||
@@ -72,7 +71,8 @@ class DomainAwareInputCleaner
|
||||
return $filters;
|
||||
}
|
||||
|
||||
public function cleanSearch($searchTerm) {
|
||||
public function cleanSearch($searchTerm)
|
||||
{
|
||||
if (!$this->isValidFilterValue($searchTerm)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@ class PayrollDataExport extends ReportBuilder implements ReportBuilderInterface
|
||||
'editable' => $col->editable,
|
||||
'enabled' => $col->enabled,
|
||||
'default_value' => $col->default_value,
|
||||
'calculation_columns' => $col->calculation_columns, //[{"name":"O","column":"107","id":"calculation_columns_1"}]
|
||||
'calculation_columns' => $col->calculation_columns,
|
||||
'calculation_function' => $col->calculation_function,
|
||||
];
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class LogManager
|
||||
|
||||
if (defined('LOG_STDERR') && LOG_STDERR === '1') {
|
||||
self::$me->log->pushHandler(new StreamHandler('php://stderr', LOG_LEVEL));
|
||||
} else if (is_writable(ini_get('error_log'))) {
|
||||
} elseif (is_writable(ini_get('error_log'))) {
|
||||
self::$me->log->pushHandler(new StreamHandler(ini_get('error_log'), LOG_LEVEL));
|
||||
} elseif (is_writable(CLIENT_BASE_PATH.'data/app.log')) {
|
||||
self::$me->log->pushHandler(new StreamHandler(CLIENT_BASE_PATH.'data/app.log', LOG_LEVEL));
|
||||
|
||||
Reference in New Issue
Block a user