aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/deferred
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2024-08-31 23:34:30 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2024-09-01 00:15:10 +0200
commitbe39a1833251ba15a4447676e5994105e0807259 (patch)
tree9fef92bc24e7b18d20d40a7bd89eddb5c96c7859 /tests/phpunit/includes/deferred
parent684496b6211784197042c3f8e30dc8c7b060c2ae (diff)
downloadmediawikicore-be39a1833251ba15a4447676e5994105e0807259.tar.gz
mediawikicore-be39a1833251ba15a4447676e5994105e0807259.zip
build: Use inline ignore for Generic.CodeAnalysis.AssignmentInCondition
Avoid that new code contains this pattern. Depends-On: I7a9b5c89129fe4b555d03861f2c3ce3e9e2b2446 Depends-On: Ic2bcc7eeb16d3333dcd019bd209bd7fde843dab9 Depends-On: If20eddd8376ae2e8e29c4e56cd51f7b8eb6642b0 Depends-On: I3414f7e17f4bcb801857bc986bae8eb97aa2bfb8 Depends-On: I38b2729418e8389c681c6cd84858f5e5ed25bd3e Change-Id: I7cfd2e027edd327cf8be6471e348c137fefacda0
Diffstat (limited to 'tests/phpunit/includes/deferred')
-rw-r--r--tests/phpunit/includes/deferred/LinksUpdateTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/phpunit/includes/deferred/LinksUpdateTest.php b/tests/phpunit/includes/deferred/LinksUpdateTest.php
index 9d9242d005fc..d5ecee9e5fb0 100644
--- a/tests/phpunit/includes/deferred/LinksUpdateTest.php
+++ b/tests/phpunit/includes/deferred/LinksUpdateTest.php
@@ -883,10 +883,12 @@ class LinksUpdateTest extends MediaWikiLangTestCase {
private function runAllRelatedJobs() {
$queueGroup = $this->getServiceContainer()->getJobQueueGroup();
+ // phpcs:ignore Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
while ( $job = $queueGroup->pop( 'refreshLinksPrioritized' ) ) {
$job->run();
$queueGroup->ack( $job );
}
+ // phpcs:ignore Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition
while ( $job = $queueGroup->pop( 'categoryMembershipChange' ) ) {
$job->run();
$queueGroup->ack( $job );