Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Possible fix for #3, plus CS fixes #4
I've made a fix for #3, in that in the presense of other autoloaders, an exception will not be thrown.
I'm not sure how to write a test for that though, since there isn't a test that triggers the current exception with only the one autoloader (they trigger fatal errors instead).
I've also fixed most CS issues (missing docs, long lines...). The ones remaining are "conditional include...; use include instead" ones, but I'm not entirely sure of the implications, so I've left those intact.
edit: While I'm at it, I noticed loadSuccessful() could be improved.