TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
Userguide issue/Bug Fix
  • Hey all, So I think i am doing something wrong here, but I had a pretty major issue/bug fix with userguide.

    Basically the issue I ran into was when ReflectionClass got passed the class name. For some reason some class names had weird characters in them i.e. '.' and '-'.

    For example 'controller_docs_blank.' was attempting to be passed to reflection. I have no idea where this class is coming from, but Kodoc is pulling the class from somewhere.

    To fix the issue i hacked it and put a preg_replace('/\.|\-/','',$class) before the ReflectionClass. After a few more finagling steps it works. Anyone have an idea if this is a bug, or something stupid i'm doing?
  • A bug report like this should really go here. I've never seen anything like this, if you can think of a way to reproduce it, be sure to put it in your bug report.
  • I wasn't too convinced it was actually a bug, I didn't want to submit something erroneous