Skip to content
Commits on Oct 28, 2015
Commits on Oct 4, 2015
  1. Merge branch '1.x'

    committed
    * 1.x:
      fixed CS
      Add test coverage for auto_reload
      fix template class name generation to prevent possible collisions and one inode per file
      Fix custom escaper null values
      remove duplicated phpdocs
      Remove deprecated return types from the PHPDocs.
      changed template cache names to take into account the Twig C extension
      Add test coverage for Twig_Cache_Filesystem
Commits on Oct 3, 2015
  1. @Tobion
Commits on Sep 24, 2015
  1. @Tobion
Commits on Sep 12, 2015
  1. Merge branch '1.x'

    committed
    * 1.x:
      changed the arguments of generateKey
      deprecated Twig_Environment::getTemplateClassPrefix
      removed empty () in an error message
      added enabled extension names in the generated template class names
      fixed the profiler duration for the root node
      no need to call setTimezone on a current date
      use str_replace instead of strtr to escape the source in the template
Commits on Sep 11, 2015
Commits on Aug 21, 2015
  1. @Tobion

    add callable typehints

    Tobion committed
    make callable nullable to support custom compilation without a callable
    
    remove non-existent callables from tests
    
    add phpdoc for filter/tests/functions
Commits on Aug 18, 2015
  1. Merge branch '1.x'

    committed
    * 1.x:
      simplified tests
      added Twig_Util_DeprecationCollector to collect deprecation notices for a set of templates
      tweaked some deprecation messages
      added deprecation notices for deprecated classes
      optimized legacy tests management
      added a way to manage legacy tests in fixtures
      removed usage of deprecated features, marked some tests as being legacy
      added the Symfony PHPUnit bridge to better manage deprecation notices
      added deprecated notices for deprecated features
      added some documentation about deprecation notices
      added a way to trigger deprecation notices for filters and functions
      added deprecation for the raw tag
      added deprecation notices for deprecated tests
      fixed CS
      Optimize the retrieval of reserved macro names
      Remove dead code
      added the raw tag as being deprecated
      replaced obsolete raw tag by verbatim in tests
  2. simplified tests

    committed
Commits on Aug 17, 2015
  1. @stof

    Remove the reserved macro names

    stof committed
Commits on Aug 13, 2015
  1. fixed some tests

    committed
  2. Revert "replaced array() by [] in *generated* PHP code"

    committed
    This reverts commit 6d50f98.
Commits on Aug 12, 2015
  1. removed deprecated _self variable

    committed
  2. Merge branch '1.x'

    committed
    * 1.x:
      deprecated _self
      added a base node visitor to make compat between 1.x and 2.x possible
      bumped to 1.20
      added a mention of projects using Twig
      bumped version to 1.19.1-DEV
      prepared the 1.19.0 release
      updated CHANGELOG
      Fixed error guessing in blocks in a child template
      fixed CS
      tweaked docs
      fixed CS
      bumped version to 1.19
      Added support for unconsumed macro arguments
      Added variadic filters, tests, and functions
Commits on Jul 28, 2015
  1. @TheCelavi
Commits on Jul 5, 2015
  1. feature #1699 Added variadic filters, tests, and functions (hason)

    committed
    This PR was merged into the 1.x branch.
    
    Discussion
    ----------
    
    Added variadic filters, tests, and functions
    
    Replaces #1317
    
    ```php
    $env->addFunction(new Twig_SimpleFunction('foo', function ($a1, array $args = array()) {
    }, array('is_variadic' => true));
    ```
    ```jinja
    {{ foo(1, 2, a="a", b="b") }}
    {# foo(1, array(0 => 2, "a" => "a", "b" => "b")); #}
    ```
    
    Commits
    -------
    
    c78656a Added variadic filters, tests, and functions
  2. feature #1659 Added support for unconsumed macro arguments (hason)

    committed
    This PR was merged into the 1.x branch.
    
    Discussion
    ----------
    
    Added support for unconsumed macro arguments
    
    Fixes #1159 and supplements #1699
    
    Commits
    -------
    
    7f00cb9 Added support for unconsumed macro arguments
  3. removed some test hacks

    committed
Commits on Jul 3, 2015
  1. Merge branch '1.x'

    committed
    * 1.x:
      fixed CS
      fix batch filter with zero items
      Fix PHP_FE_END value
  2. fixed CS

    committed
Commits on Jun 2, 2015
  1. @hason
  2. @hason
Commits on May 16, 2015
  1. Merge branch '1.x'

    committed
    * 1.x:
      Fix two failed unit tests on Windows:
      updated CHANGELOG
      Reduce the name of the cache directories to 1 character
      clean ups
      bumped version to 1.18.2-DEV
      prepared the 1.18.1 release
      updated CHANGELOG
      Cleanup API - make the compiler happy
      Fixed memory leaks
      tweaked docs about the C extension
      removed an obsolete recipe
    
    Conflicts:
    	CHANGELOG
    	doc/api.rst
    	doc/recipes.rst
    	ext/twig/php_twig.h
    	lib/Twig/Environment.php
    	lib/Twig/NodeTraverser.php
    	lib/Twig/Template.php
Commits on Apr 24, 2015
  1. @SpacePossum

    clean ups

    SpacePossum committed
Commits on Mar 2, 2015
  1. drop support for PHP 5.3 and 5.4

    committed
  2. dropped support for PHP 5.2

    committed
  3. deprecated the String loader

    committed
Commits on Feb 27, 2015
  1. minor #1601 reduced the number of times error information has to be g…

    committed
    …uessed (fabpot)
    
    This PR was merged into the 1.18-dev branch.
    
    Discussion
    ----------
    
    reduced the number of times error information has to be guessed
    
    Commits
    -------
    
    651613c reduced the number of times error information should be guessed
Something went wrong with that request. Please try again.