Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

use short array syntax by default with param type array #134

Merged
merged 1 commit into from Oct 20, 2017
Merged

use short array syntax by default with param type array #134

merged 1 commit into from Oct 20, 2017

Conversation

Tobion
Copy link
Contributor

@Tobion Tobion commented Oct 11, 2017

So far TYPE_ARRAY and auto-detected array types used the long array syntax. Considering minimum php version is already 7.1, we should be able to safely switch to the short array syntax by default.

@Tobion Tobion changed the title use sort array syntax with param type array use short array syntax with param type array Oct 12, 2017
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@Ocramius Ocramius self-assigned this Oct 20, 2017
@Ocramius Ocramius added this to the 3.3.0 milestone Oct 20, 2017
@Ocramius Ocramius changed the title use short array syntax with param type array use short array syntax by default with param type array Oct 20, 2017
@Ocramius Ocramius merged commit ea00686 into zendframework:master Oct 20, 2017
@Ocramius
Copy link
Member

Argh, I forgot that this should've gone to develop =_=

No biggie, will have to do a release before anyone else does :|

@Tobion Tobion deleted the short-array-syntax branch October 20, 2017 15:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants