Simon Praetorius
Simon Praetorius
Tag based ViewHelpers can now receive arbitrary arguments which will be added to the resulting HTML tag automatically. This offers a much more readable option compared to the "additionalAttributes" argument,...
**Note that this PR isn't intended to be merged, but to illustrate inconsistent ViewHelper behavior.** Even after eliminating variable side-effects of the `ForViewHelper`, it still behaves inconsistently in uncached templates...
This change adds unpacking to Fluid’s array syntax, also known as the spread operator. Internally, it uses PHP’s own spread operator, so the behavior should be consistent between Fluid and...
ToDo: * add tests * check in real-world projects
It could be interesting to check if an external library such as [Valinor](https://valinor.cuyz.io/latest/mapping/type-strictness/) could be used for all mapping, e. g. in Image or File model.
Add example for custom data structures to documentation
It should be possible to use different image placeholder services. One solution would be to configure the placeholder url like this: ``` sprintf('https://via.placeholder.com/%1$dx%2$d.%3$d', 100, 100, 'png'); ```
It would be a nice addition to define parameters as deprecated for documentation purposes. This could also be displayed in the styleguide. ```xml ```
The data structures should be tested with unit tests