mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Poem
synced 2024-11-27 16:20:02 +00:00
build: Updating mediawiki/mediawiki-phan-config to 0.5.0
Change-Id: I1d485d6ffd9a8fe7031ee73b634af25628d75c12
This commit is contained in:
parent
eca8be4d97
commit
613f6f68d4
|
@ -7,7 +7,7 @@
|
|||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/mediawiki-codesniffer": "24.0.0",
|
||||
"mediawiki/minus-x": "0.3.1",
|
||||
"mediawiki/mediawiki-phan-config": "0.4.0"
|
||||
"mediawiki/mediawiki-phan-config": "0.5.0"
|
||||
},
|
||||
"scripts": {
|
||||
"fix": [
|
||||
|
|
|
@ -24,7 +24,7 @@ class Poem {
|
|||
* @param PPFrame $frame
|
||||
* @return string
|
||||
*/
|
||||
public static function renderPoem( $in, array $param = [], Parser $parser, PPFrame $frame ) {
|
||||
public static function renderPoem( $in, array $param, Parser $parser, PPFrame $frame ) {
|
||||
// using newlines in the text will cause the parser to add <p> tags,
|
||||
// which may not be desired in some cases
|
||||
$newline = isset( $param['compact'] ) ? '' : "\n";
|
||||
|
|
Loading…
Reference in a new issue