Twig
Twig copied to clipboard
Unable to register a test with spaces in name
When registering a test named "empty element" I am getting the following error.
Unexpected token "name" of value "element" ("end of statement block" expected).
That's likely because the Twig core has a test named empty.