Fix's for php 5.3

Edited the files to use array() as opposed to the shorthand [] syntax introduced in 5.4 ( as per your composer.json settings )