mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi
synced 2024-11-15 02:24:07 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: If6f3dd1c6c4cec6880c196d29278feba6e3169d9
This commit is contained in:
parent
a51a6d46b9
commit
207172de43
|
@ -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": [
|
||||
|
|
|
@ -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() ) {
|
||||
|
|
Loading…
Reference in a new issue