Change array syntax to more commonly used
- to visually distinguish from conditional types like ($foo ? false : string[]) and callable syntax
- to improve readability for array shapes and arrays of literals
- to visually more closely align it with PHP native type hint
Can you please approve the github workflow, so they run in github's CI so I know what/which if any fail, bc if I run all projects' tests locally I can't work on something else in the meantime
No, I don't have access. We'll have to wait for @jaapio for that.
Also this PR needs tests. Test coverage has never been 100% but we need to make sure we are not breaking things in the future.
I suggest doing it like this: https://github.com/phpDocumentor/TypeResolver/pull/274
I think this request can be closed because I did it in another request. @kkmuffme Thanks for the idea.