From 207172de43abe0a4fd6cfff0e645d3a3efc02428 Mon Sep 17 00:00:00 2001 From: libraryupgrader Date: Mon, 11 Mar 2019 03:39:36 +0000 Subject: [PATCH] build: Updating mediawiki/mediawiki-phan-config to 0.5.0 Change-Id: If6f3dd1c6c4cec6880c196d29278feba6e3169d9 --- composer.json | 2 +- includes/SyntaxHighlight.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ed4fb906..9e9e379c 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "mediawiki/mediawiki-codesniffer": "24.0.0", "jakub-onderka/php-console-highlighter": "0.3.2", "mediawiki/minus-x": "0.3.1", - "mediawiki/mediawiki-phan-config": "0.4.0" + "mediawiki/mediawiki-phan-config": "0.5.0" }, "license": "GPL-2.0-or-later", "authors": [ diff --git a/includes/SyntaxHighlight.php b/includes/SyntaxHighlight.php index 4bf6c54e..56f53e0c 100644 --- a/includes/SyntaxHighlight.php +++ b/includes/SyntaxHighlight.php @@ -111,7 +111,7 @@ class SyntaxHighlight { unset( $args['enclose'] ); } - $lexer = isset( $args['lang'] ) ? $args['lang'] : ''; + $lexer = $args['lang'] ?? ''; $result = self::highlight( $out, $lexer, $args ); if ( !$result->isGood() ) {