hacktard/dokuwiki-extension-manager — pull request #30 by splitbrain (2012-12-09 16:54:39+00:00)
Title: first start at code cleanup

As mentioned in #29 the code needs some cleanup. I applied PRs #20 #22 #27 and started the cleanup, so I'll close those separate PRs.

This isn't complete but should give an idea on what needs to be done. Mainly reformatting, adding code comments, type hints and proper PHP5 visibility attributes. However I also found a few errors already where non existing vars were used.

There are a few lines where I wasn't sure why something was as it was. these are marked with todo keywords. These have to be looked up and removed when merging.