mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3548: [GH-1291] Conversion to PHP 5.4's short array syntax #4366
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 28, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of BenMorel:
Url: https://github.com/doctrine/doctrine2/pull/1291
Message:
Now that the minimum PHP version is 5.4, it would be good to encourage the use of the short array syntax
[].Converting the existing codebase to this syntax will promote this good practice and encourage everyone to follow it.
I have converted the codebase with a tool I wrote for personal projects:
The number of changes is quite large, but I'm confident that nothing is broken, and the passing tests confirm this.
@doctrinebot commented on GitHub (Jan 28, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1291] was assigned:
https://github.com/doctrine/doctrine2/pull/1291
@doctrinebot commented on GitHub (Jan 28, 2015):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-1291] was labeled:
https://github.com/doctrine/doctrine2/pull/1291
@Ocramius commented on GitHub (Dec 13, 2015):
Won't fix for now - see #1291