Martin Hasoň

Results 38 issues of Martin Hasoň

Add support for the optional chaining operator `?.` that is available in: - JavaScript: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining - TypeScritp 3.7: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#optional-chaining - Latte 2.6: https://blog.nette.org/en/new-in-latte-2-6-optional-chaining-and-custom-functions#toc-optional-chaining - PHP 8: https://www.php.net/releases/8.0/en.php#nullsafe-operator ```twig {# Before...

Add destructuring assignment syntax that makes it possible to unpack values from arrays, or properties from objects, into distinct variables (as same is in Javascript): A twig template ```twig {%...

Alternative implementation of #934. Works well for methods, properties and array calls of objects with minimal performance impact. Results of twig benchmark ([fabpot/twig-perf](https://github.com/fabpot/twig-perf)): ``` | v1.12.3 | v1.16.3 | origin/master...

Fixes: - Configure sandbox for method `__call`. - Call enabled method with name same as property.

| Q | A | ---------------- | ----- | Bug report? | yes | Feature request? | yes | BC Break report? | no | RFC? | no | Version/Branch...

Work in process! Todo: - [ ] more tests - [x] add support for traits Fixes #30, #49

codecleaner

I want to create a docker image based on alpine linux for sphinx and this awesome theme. Libsass package is too complicated, it must be compiled and it is too...

documentation
enhancement

https://github.com/fabpot/Twig/issues/472

feature

Jade is very similar to haml - http://jade-lang.com/

feature