From 62fbd7ccea8ca3e9cb7ee238c8229053bf4ffd30 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Mon, 9 Dec 2024 11:44:24 -0500 Subject: build: Upgrade mediawiki/mediawiki-phan-config from 0.14.0 to 0.15.0 Suppress remaining issues Depends-On: I633ec05fe9ab6a815225911d942ecb79f21c428f Depends-On: I186e799256fbaf5ee77558bd146f9418dd5eaacc Depends-On: Ib84b7d71e8308a36409f30ecfd16e9de149e97b3 Depends-On: I26aa4adf31b4142248abe3e0f9aa8314512602a6 Depends-On: Icf24e208a487bafe3d1983536870aac19cfc4b5e Depends-On: I99915b893f14cfbb2b54d9a6264b4f294200c4f2 Depends-On: Ia53b71dff3299837856ae3c004cd0227bd45e05b Change-Id: I825dce05d4a6ca87acf25063e3664cb2d16f5db0 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/GlobalFunctions.php') diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 60eda62775da..0915d204d609 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1218,7 +1218,7 @@ function wfSetBit( &$dest, $bit, $state = true ) { function wfVarDump( $var ) { global $wgOut; $s = str_replace( "\n", "
\n", var_export( $var, true ) . "\n" ); - if ( headers_sent() || !isset( $wgOut ) || !is_object( $wgOut ) ) { + if ( headers_sent() || $wgOut === null || !is_object( $wgOut ) ) { print $s; } else { $wgOut->addHTML( $s ); -- cgit v1.2.3