2

As the title says, I get an error when trying to run phpdoc. It works fine when I give it a directory and target:

phpdoc -d /mycode  -t /mydocsdir

Adding any other switches, like:

phpdoc -d /mycodedir  -t /mydocsdir  -ti 'mytitle' -o HTML:frames:l0l33t

throws the RuntimeException.
OSX 10.8
PHP 5.6.15 (cli)
phpDocumentor version v2.8.5

Shouldn't I be able to use the options available per the phpDocs documentation?

1 Answer 1

1

A bit late, but I arrived here searching for how to solve the error, and I finally I got it.

I was getting the same error with running the following:

phpdoc run -d ./* -t doc/

But with only the dot, it is working fine for me:

phpdoc run -d . -t doc/

EDIT: leaving the slash also works for me:

phpdoc run -d ./ -t doc/

Seems that the problem is with *.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for your answer, but it misses the point. The question is about adding options in addition to the input/output directories. (sorry for responding months later...just trying to get some rep points to I can comment on answers elsewhere on SO!).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.