KnpLabs/rad-edition

array syntax used on rad.knplabs.com cannot be used with minimum rad-edition requirements

Opened this issue · 2 comments

The examples on http://rad.knplabs.com use the short array syntax (php 5.4+), but the composer.json only requires 5.3.3

that's right, we use mostly the 5.4 array syntax for the docs, since it's more readable, but the radBundle is stiil 100% 5.3 compatible.

It's true that a simple copy paste of the docs wouldn't work on 5.3 envs, but I think a readable code worth it.
Moreover, since 5.3 is now EOL, it would only help people to move to 5.4+.

What do you think ?

i guess that you could just add a mention on the docs , but i'm not sure how to word it.