From c2d3e79e35a6385008537195468beb52aec2352b Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 2 Dec 2017 12:38:37 -0800 Subject: [PATCH] Add some @noinspection flags to doPostOutputShutdown() This are in "use" clause of $callback, by reference Change-Id: Iadb1d25263dbafe2bd12223db62e1c93e2188bde --- includes/MediaWiki.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/MediaWiki.php b/includes/MediaWiki.php index 9e3bc10467..2aeefc6195 100644 --- a/includes/MediaWiki.php +++ b/includes/MediaWiki.php @@ -726,10 +726,12 @@ class MediaWiki { if ( function_exists( 'register_postsend_function' ) ) { // https://github.com/facebook/hhvm/issues/1230 register_postsend_function( $callback ); + /** @noinspection PhpUnusedLocalVariableInspection */ $blocksHttpClient = false; } else { if ( function_exists( 'fastcgi_finish_request' ) ) { fastcgi_finish_request(); + /** @noinspection PhpUnusedLocalVariableInspection */ $blocksHttpClient = false; } else { // Either all DB and deferred updates should happen or none. -- 2.20.1