Suppress potential SQL injection warning as they are false positives

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-07-09 14:55:47 +02:00
parent 8a64433ec9
commit 79801ad263
No known key found for this signature in database
GPG key ID: FE03C3A163FEDE68
2 changed files with 4 additions and 0 deletions

View file

@ -180,6 +180,7 @@ class JobList implements IJobList {
* get the next job in the list
*
* @return IJob|null
* @suppress SqlInjectionChecker
*/
public function getNext() {
$query = $this->connection->getQueryBuilder();

View file

@ -53,6 +53,9 @@ class RepairPendingCronJobs implements IRepairStep {
return version_compare($versionFromBeforeUpdate, '14.0.0.9', '<');
}
/**
* @suppress SqlInjectionChecker
*/
private function repair() {
$reset = $this->connection->getQueryBuilder();
$reset->update('jobs')