Short array syntax (array(...) => [...])

All old ```array()``` syntax replaced by new short ```[]``` syntax.