Enforce short array notations in stub files
Merge pull request #6270 from lucasmichot/5.0-stub-short-arrays

[5.0] Enforce Short Array Notation In Stub Files