Suppress potential SQL injection warning as they are false positives
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
8a64433ec9
commit
79801ad263
2 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue