+ New feature: searches for undeclared globals. Doesn't attempt to fix them yet, but will detect false positives inside comments. You have to provide a list of common globals, I used a selection of Wedge globals, do as you like with your version of the script.

+ Added support for class methods.

+ More color codes, and a subtle gradient background for differentiating between error types.

* Renamed script to 'fix-globals.php', considering that it's been some time since it was limited to just finding unused globals.

Signed-off-by: Nao <nao@wedge>