Closed
Description
Description
In PhpExtractor (used to extract translation keys (message) from PHP code), there is no support for PHP8 syntax with named arguments
ex:
$translator->trans(domain: 'validators', message: 'foo.bar')
We discussed with @stof & @nicolas-grekas about adding this support. It seems to require to add a new optional dependency on https://github.com/nikic/PHP-Parser to leverage AST features.
Todo:
- test with a PoC with PHP-parser
Example
No response