mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
5fdbd991bfcf5ea2492c9ab074a2d2cde1878383
This PR was merged into the 1.x branch. Discussion ---------- Deprecation notices Added a way to warn our users of deprecation features. This framework can be used for core features, but also for functions/tests/filters created by third-party. I haven't added something for tags as it can be done easily in the token parser class. Fixes #1756 and #1767 Commits -------56c7382added Twig_Util_DeprecationCollector to collect deprecation notices for a set of templates2da6baetweaked some deprecation messagescc98028added deprecation notices for deprecated classesc6ab7deoptimized legacy tests managementeebfdc7added a way to manage legacy tests in fixtures8c4291aremoved usage of deprecated features, marked some tests as being legacyb5db9dcadded the Symfony PHPUnit bridge to better manage deprecation notices23c3922added deprecated notices for deprecated featuresbd87ba8added some documentation about deprecation noticesd16b7bfadded a way to trigger deprecation notices for filters and functions21f536badded deprecation for the raw tagefcfe8eadded deprecation notices for deprecated tests65e70a2fixed CS
Twig, the flexible, fast, and secure template language for PHP ============================================================== Twig is a template language for PHP, released under the new BSD license (code and documentation). Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment. More Information ---------------- Read the `documentation`_ for more information. .. _documentation: http://twig.sensiolabs.org/documentation
Description
Languages
PHP
99.9%