varspool / sphpdox

PHPDoc to Sphinx/ReStructured Text API documentation tool
GNU General Public License v3.0
48 stars 16 forks source link

Excluded namespaces being set, even though none are passed, when setting output dir #1

Closed patrickmj closed 11 years ago

patrickmj commented 12 years ago

When I set an output directory, it looks like the exclude option is also being set to an empty string, even though I haven't set that option. The result is that in Process.php line 124, an element with empty text is added to the array. Then, the comparison in 136 is always true, and no namespaces get processed.

For my project I'm not excluding anything, so commenting out 124 fixes it for me, but I'm guessing that a full solution would take digging into the $input object.

Many thanks! This is going to save countless hours on a documentation project!