Removed short array syntax (PHP 5.4+) #877

Removed short array syntax (PHP 5.4+)
Issue #877

Sorry, also looks like I trimmed trailing spaces on the edited files.