phingofficial/phing — pull request #117 by RadekDvorak (2012-04-30 22:20:54+00:00)
Title: Fix use of undefined constant

This patch fixes an error I encountered. It was caused by use of constant before it was defined (ie. before it's file was included).

The error was (in verbose mode):
[PHP Error] Use of undefined constant VERSIONCONTROL_SVN_FETCHMODE_ASSOC - assumed 'VERSIONCONTROL_SVN_FETCHMODE_ASSOC' [line 676 of /home/radek/sources/php-deployment/vendor/phing/phing/classes/phing/Project.php]

This made VersionControl_SVN_List task fail to parse the output in parseOutput. Tested with PHP 5.3.10.