Nicolas Grekas
                                            Nicolas Grekas
                                        
                                    I was a bit skeptical at first but both ideas from @luxemate and @codeg-pl look interesting to me. > {{ constant('App\\...\\Enum::Key').value }} About this use case, the `.value` suffix is...
would it make sense / be possible to support these with apply?
Why not use `?:` to provide this behavior?
> and would throw an error if a variable was undefined twig is a different language, we can remove this behavior if we want to.
This might be doable by casting reflectors to string since https://github.com/php/php-src/pull/7540
It'd be great rebasing + squashing this PR in one commit on top of 2.15.x
About the mutation score, I tried the mutants locally, they all fail when applied. I don't know what is missing, please advise.
Rebased, let me know the next iteration.
There's only one sensible way fix to the issue with `Redis` or similar: send a patch to https://github.com/phpredis/phpredis/ It's an actively maintained lib. Asking OSS authors to write and maintain...
> Depends on whether this can still occur in the engine at all thinking I think yes, having reflection out of sync from actual declaration is still possible, but it's...