Commit Graph

3 Commits

Author SHA1 Message Date
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
467ed02043 Add short doc to explain, why the methods where altered.
[MAILPOET-3985]
2022-06-08 15:25:41 +02:00
89b871775a Introduce TwigEnvironment
This commit introduces our own TwigEnvironment class which extends the original Twig\Environment.
The original class produced a different templateClass depending on the PHP version and
the selected options. As we can not rely on PHP version, this would have produced different
template hash keys in the end and Twig would have attempted to store new templates
on the disk, which we want to prevent.

[MAILPOET-3985]
2022-06-08 15:25:41 +02:00