New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0 - Consistent use of short array syntax #1985
Comments
25th Aug 2012, Mark Story said: There are over 26000 calls to array() in CakePHP. Changing all of them now will make merges between 2.x and 3.x very painful. We're postponing this until after the first release of 3.0.0 as the merge pain alone is not worth it. |
25th Aug 2012, James Hall said: That's a fair point. |
Do we also want the new array syntax in baked models,controllers,etc.? |
Since Cake3 will be >= 5.4 this makes sense. |
I'm holding it here folks, at least until 3.0 is out. |
Thanks for the help on this so far. I agree it will be easier to do once 3.0.0 comes out. |
Check this out: https://github.com/thomasbachem/php-short-array-syntax-converter |
Closing as this will be the case once 3.0.0 comes out. We can use ConvertShell, as well:
|
Created by James Hall, 25th Aug 2012. (originally Lighthouse ticket #3150):
It's already used in lib/Cake/Core/Object.php
I'll submit a pull request shortly.
The text was updated successfully, but these errors were encountered: