A: 

It sounds like generate_options() is declared both in your registration_fns.php file and in some file by Hudson. PHP function names are global, so this is an inherent risk of combining code from a third party.

One way around it is to rename one of the functions (and of course all calls to it) - you can modify the Hudson code where it is declared, or modify your own, but personally I recommend changing your own. Should you upgrade Hudson in the future, you'd likely have to modify it again.

Since PHP 5.3, you also have the option of using namespaces.

Chadwick
Thanks for your answer. I don't think this is the issue because I just went back through and renamed the generate_options() function and it's still giving me the redeclare error. What's bizarre is that it says it's being redeclared on line 32 when declared on line 5.
Josh Smith
interestingly, it shows the two files that conflict, one is an http url, the other being a file. Is your Hudson config somehow reading files from both the web version and your local file system? Might it be the same file conflicting with itself because it is being read twice?
Chadwick
Ah, I hadn't really noticed that. How can I go about changing that path? I'm a complete Hudson n00b so appreciate your patience and help.
Josh Smith
I've never used HudsonPHP, but have fought the redeclare error firsthand. My last comment is only a guess - all I can say is it looks like the same file is being included twice through different means. Best of luck!
Chadwick
Chadwick, from the way you were talking I figured that was the case. Thanks for pointing me in the right direction, though. Never hurts to have a second set of eyes. I've edited my question and question title to reflect your suggestions. Thanks!
Josh Smith
A: 

This has been solved. It was an issue where I had hardcoded the paths in a single initializer file. As a result, they were being redeclared by PHPUnit.

Josh Smith