sebastianbergmann/phpunit — pull request #594 by austinhyde (2012-06-22 14:07:06+00:00)
Title: Fixed the way PHPUnit_Util_Configuration parses listener constructor arguments

Previously, getListenerConfiguration assumed the element
would always be the second element (index 1) because nicely formatted
XML has a DOMText node containing a newline and some space before the
arguments node. Computer-generated XML places the arguments element
immediately after the listener element, so the node would be at index 0,
causing the arguments node to not be found.

Instead, it now searches the entire listener node for argument nodes.