Working directory changes when specifying a configuration file #795

Closed
alex88 opened this Issue Apr 5, 2013 · 3 comments

Projects

None yet

2 participants

@alex88
alex88 commented Apr 5, 2013

I've tried to create a configuration file inside a folder, from the docs you say:

It is allowed to use relative paths here; just remember that these are relative from the working directory where you execute phpDocumentor in.

but it seems that the relatives paths are related to the configuration file folder, not where you run phpdoc.

In fact using ../../ etc to make paths relative to the config file it works fine

@mvriel
Member
mvriel commented Apr 5, 2013

That appears to be an error in the documentation; this used to be true but was changed as the current behaviour is more logical and consistent with other tools (such as phpunit)

@mvriel
Member
mvriel commented Apr 30, 2013

The documentation has been updated to reflect the new situation (http://www.phpdoc.org/docs/latest/for-users/configuration.html).
Thank you for reporting this error

@mvriel mvriel closed this Apr 30, 2013
@alex88
alex88 commented Apr 30, 2013

Great! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment