silverstripe/sapphire — pull request #1837 by simonwelsh (2013-05-05 00:41:33+00:00)
Title: FIX Handle PHP 5.4's short array notation everywhere arrays are parsed.

The main place for this is in the static config parser, as something like:
```php
private static $db = [
'A' => 'Int',
'B' => 'Varchar',
];
```
would fail to parse, while being perfectly valid.

I've found every place T_ARRAY is mentioned and added support for [, including tests for the three changes. The ConfigStaticManifestTest requires a different file to parse so it'll still work in 5.3. That particular test is skipped in 5.3 as ConfigStaticManifest evals() to get the value, so generates a syntax error.