This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bridge/Twig
Fabien Potencier 3719c70870 updated minimum PHP version to 5.3.3
5.3.3 has some interesting fixes and this is the version used by
Redhat 6 and Debian 6
2012-05-07 10:29:11 +02:00
..
Extension merged 2.0 2012-04-20 12:18:51 +02:00
Node [Form] Alternate syntax for form_theme 2012-03-13 14:48:30 +01:00
NodeVisitor [TwigBridge] added a way to specify a default domain for a Twig template (via the 'trans_default_domain' tag) 2012-01-02 17:48:19 +01:00
Resources/views/Form fixed CS 2012-05-01 15:23:48 +02:00
Tests [Form] Renamed option 'primitive' to 'single_control' 2012-04-27 10:18:25 +02:00
TokenParser [Form] Alternate syntax for form_theme 2012-03-13 14:48:30 +01:00
Translation [TwigBridge] rewrote the Twig translation extractor 2011-09-23 09:38:20 +02:00
CHANGELOG.md [TwigBridge] added CHANGELOG 2012-04-26 22:38:50 +02:00
composer.json updated minimum PHP version to 5.3.3 2012-05-07 10:29:11 +02:00
phpunit.xml.dist moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
README.md [TwigBridge] fixed bootstrap 2012-04-07 18:47:00 -03:00
TwigEngine.php fixed CS 2012-04-07 09:10:50 +02:00

Twig Bridge

Provides integration for Twig with various Symfony2 components.

Resources

You can run the unit tests with the following command:

phpunit -c src/Symfony/Bridge/Twig/

If you also want to run the unit tests that depend on other Symfony Components, declare the following environment variables before running PHPUnit:

export TWIG=../path/to/Twig
export SYMFONY_EVENT_DISPATCHER=../path/to/EventDispatcher
export SYMFONY_FORM=../path/to/Form
export SYMFONY_LOCALE=../path/to/Locale
export SYMFONY_TEMPLATING=../path/to/Templating
export SYMFONY_TRANSLATION=../path/to/Translation