This is cool, but there are a couple of tests that it fails on:

* Array keys should NOT be surrounded by spaces if they only contain a string or an integer.
* Expected 1 space after "!"; 0 found

It seems like this is a limitation of NetBeans. You can tick the "Unary operator" option under Formatting > Spaces > Around Operators to add the space after ! but this causes `$i++` to become `$i ++` which passes WordPress-Extra standards, but is damn ugly.