Page MenuHomePhabricator

Array to string conversion in parser tests
Closed, ResolvedPublic

Description

I get two notices when running Parser tests (as of revision 31715 of parserTests.inc) as follows:

Notice: Array to string conversion in D:\SVN\phase3\maintenance\parserTests.inc on line 319

Line 319 being:

$out = $this->tidy ( implode( ' ', $wgOut->getCategoryLinks() ) );

Having that getCategoryLinks() returns an array of arrays, imploding it once will provide tidy with non-string parameters.


Version: 1.12.x
Severity: enhancement

Details

Reference
bz13384

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:03 PM
bzimport set Reference to bz13384.
bzimport added a subscriber: Unknown Object (MLST).

Fixed in r32967/r39410 by Alex and Tim.