From 005f7199bad4bb848251a05df36d00f6579a191b Mon Sep 17 00:00:00 2001 From: Daimona Eaytoy Date: Wed, 27 Oct 2021 17:45:18 +0200 Subject: [PATCH] Suppress taint-check false positive blocking CI Bug: T294441 Change-Id: I8e060fa8cb7d90b742673a93a52f449920e1d6e9 --- includes/api/ApiULSSetLanguage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/api/ApiULSSetLanguage.php b/includes/api/ApiULSSetLanguage.php index e1f6fdb3..7d7717e9 100644 --- a/includes/api/ApiULSSetLanguage.php +++ b/includes/api/ApiULSSetLanguage.php @@ -72,6 +72,7 @@ class ApiULSSetLanguage extends ApiBase { } $updateUser = $user->getInstanceForUpdate(); + // @phan-suppress-next-line SecurityCheck-SQLInjection False positive caused by T290563 $this->userOptionsManager->setOption( $updateUser, 'language', $languageCode ); // Sync the DB on post-send DeferredUpdates::addCallableUpdate( static function () use ( $updateUser ) {