--no-ansi option throw error. #20

gabz75 opened this Issue Jul 23, 2012 · 1 comment


None yet

3 participants

gabz75 commented Jul 23, 2012

When I run the sami command with the option --no-ansi, an error occurs.

php sami.php update /path/to/myconfig.php --no-ansi

Result in :

 Updating project 

  Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in /usr/share/php/Sami/Sami/Project.php line 124  

update [--force] config

I report this issue, because same thing happen, when Jenkins try to generate the doc during a build.

CHH commented Aug 6, 2012

I'm getting this too, when Sami is not run directly from the shell (for example via any build tool).

@fabpot: Why has the callback to be null when the output is not decorated?

@fabpot fabpot closed this in cef4abb Aug 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment