Exclude globals from camel case conversion

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-06 12:52:41 +01:00
committed by Jan Jakeš
parent 94afd66325
commit 6522635dc7
14 changed files with 59 additions and 57 deletions

View File

@@ -143,7 +143,7 @@ class Migration extends SimpleWorker {
$queue['id']
));
// link the queue with the task via task_id
$newTaskId = $wpdb->insertId;
$newTaskId = $wpdb->insert_id; // phpcs:ignore Squiz.NamingConventions.ValidVariableName.NotCamelCaps
$wpdb->query(sprintf(
'UPDATE %1$s SET `task_id` = %2$s WHERE `id` = %3$s',
MP_SENDING_QUEUES_TABLE,