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

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