mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 13:26:37 +00:00
⚰️ Drop useless php comparisons
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
--TEST--
|
||||
"enum" function with invalid dynamic enum class
|
||||
--CONDITION--
|
||||
\PHP_VERSION_ID >= 80100
|
||||
--TEMPLATE--
|
||||
{% set from_variable = 'Twig\Tests\NonExistentEnum' %}
|
||||
{% for c in enum(from_variable).cases() %}
|
||||
|
||||
Reference in New Issue
Block a user