Error Running Phpdoc in Ubuntu

Asked

Viewed 67 times

0

After downloading phpdoc by Composer.phar What happened successfully. I try to execute:

~$ ./phpdoc

In Terminal and get the following error message:

ubuntualex@ubuntualex-VirtualBox:~/vendor/bin$ ./phpdoc
Collecting files .. OK
Initializing parser .. OK
Parsing files



  [Exception]                                                                      
  No parsable files were found, did you specify any using the -f or -d parameter?  



project:run [-t|--target[="..."]] [-f|--filename[="..."]] [-d|--directory[="..."]] [--encoding[="..."]] [-e|--extensions[="..."]] [-i|--ignore[="..."]] [--ignore-tags[="..."]] [--hidden] [--ignore-symlinks] [-m|--markers[="..."]] [--title[="..."]] [--force] [--validate] [--visibility[="..."]] [--defaultpackagename[="..."]] [--sourcecode] [-p|--progressbar] [--template[="..."]] [--parseprivate] [--log[="..."]]

I’m using Composer 7.22 and Php 5.3 and Ubuntu 12.04

Which part should I configure or am executing the wrong command ?

  • 1

    The error says that you need to specify the directory or file for it to generate the documentation: example: . /phpdoc -d /path/of/project/

  • 3

    This question seems to be decontextualized because it is already solved with the error message given by the application, so it has no potential for future visitors like Q&A.

  • I don’t understand your answer ?

  • @alexjosesilva gave a closing vote on the issue, since you already solved and is not exactly a programming problem. The above message is automatic, and appears with the vote. But do not worry, it is mere organizational issue. However, you can mark your answer as accepted by clicking on the "v" next to it, or simply delete the whole question if it is no longer useful.

1 answer

0


Solved

I specified the directory or file to generate the documentation: . /phpdoc -d /path/of/project/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.