Skip to content
Snippets Groups Projects
Commit cedb9cd0 authored by Jared Hancock's avatar Jared Hancock
Browse files

lint: Fix static analysis errors

parent f97dfaa6
No related branches found
No related tags found
No related merge requests found
...@@ -68,6 +68,8 @@ class PluginConfig extends Config { ...@@ -68,6 +68,8 @@ class PluginConfig extends Config {
} }
function commitForm(&$errors=array()) { function commitForm(&$errors=array()) {
global $msg;
$f = $this->getForm(); $f = $this->getForm();
$commit = false; $commit = false;
if ($f->isValid()) { if ($f->isValid()) {
......
...@@ -296,6 +296,7 @@ class MysqlSearchBackend extends SearchBackend { ...@@ -296,6 +296,7 @@ class MysqlSearchBackend extends SearchBackend {
$key = 'COALESCE(B1.ticket_id, B2.ticket_id, B3.ticket_id, B4.ticket_id)'; $key = 'COALESCE(B1.ticket_id, B2.ticket_id, B3.ticket_id, B4.ticket_id)';
$tables[] = "{$P}ticket A1 ON (A1.ticket_id = {$key})"; $tables[] = "{$P}ticket A1 ON (A1.ticket_id = {$key})";
$cdata_search = false; $cdata_search = false;
$where = array();
if ($criteria) { if ($criteria) {
foreach ($criteria as $name=>$value) { foreach ($criteria as $name=>$value) {
......
...@@ -10,6 +10,7 @@ class mysqli { ...@@ -10,6 +10,7 @@ class mysqli {
function real_connect() {} function real_connect() {}
function select_db() {} function select_db() {}
function set_charset() {} function set_charset() {}
function autocommit() {}
} }
class mysqli_stmt { class mysqli_stmt {
...@@ -113,4 +114,12 @@ class finfo { ...@@ -113,4 +114,12 @@ class finfo {
class Locale { class Locale {
function getDisplayName() {} function getDisplayName() {}
} }
class IntlBreakIterator {
static function createWordInstance() {}
function setText() {}
}
class SqlFunction {
static function NOW() {}
}
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment