Lines Matching refs:when

3  * fixed CheckToStringNode implementation (broken when a function/filter is variadic)
26 * fixed batch filter clobbers array keys when fill parameter is used
28 * fixed "embed" support when used from "template_from_string"
81 * added an exception when using "===" instead of "same as"
84 * fixed length filter when passing an instance of IteratorAggregate
92 * added circular reference detection when loading templates
97 * fixed deprecation when using Twig_Profiler_Dumper_Html
113 * added support for PHPUnit 6 when testing extensions
131 * fixed a race condition handling when writing cache files
132 * "length" filter now returns string length when applied to an object that does
149 * turned fatal error into exception when a previously generated cache is corrupted
162 * made Twig_Error report real source path when possible
174 * fixed block() function when used with a template argument
180 * changed context access to use the PHP 7 null coalescing operator when available
191 * fixed regression when registering two extensions having the same class name
201 * fixed template paths when a template name contains a protocol like vfs://
206 * removed template source code from generated template classes when debug is disabled
214 * fixed template paths when a template is stored in a PHAR file
222 * fixed Twig cache sharing when used with different versions of PHP
231 * fixed a potential PHP warning when loading the cache
246 * fixed the defined test when used on a constant, a map, or a sequence
274 * fixed regression when using null as a cache strategy
275 * improved performance when checking template freshness
276 * fixed warnings when loaded templates do not exist
292 …* added an option to force PHP bytecode invalidation when writing a compiled template into the cac…
309 * fixed regression when using the deprecated Twig_Test_* classes
319 * fixed limited RCEs when in sandbox mode
327 * fixed wrong error message when including an undefined template in a child template
333 * fixed sandbox disabling when using the include function
338 * optimized the number of inodes and the size of realpath cache when using the cache
344 * fixed the slice filter when used with a SimpleXMLElement object
345 * fixed filesystem loader when trying to load non-files (like directories)
353 * fixed filesystem loader cache when different file paths are used for the same template
369 * fixed 2-words test names when a custom node class is not used
370 * fixed macros when using an argument named like a PHP super global (like GET or POST)
371 * fixed date_modify when working with DateTimeImmutable
385 * fixed the attribute() function when passing a variable for the arguments
391 * removed the __toString policy check when the sandbox is disabled
397 * added an error message when trying to import an undefined block from a trait
398 * fixed a C extension crash when accessing defined but uninitialized property.
408 * fixed the C extension sandbox behavior when get or set is prepend to method name
412 * fixed error filename/line when an error occurs in an included file
429 * fixed the batch filter when using a fill argument with an exact match of elements to batch
430 * fixed the filesystem loader cache when a template name exists in several namespaces
431 * fixed template_from_string when the template includes or extends other ones
443 * adjusted backtrace call to reduce memory usage when an error occurs
445 * fixed the include function when used in an assignment
460 * fixed fatal error that should be an exception when adding a filter/function/test too late
466 …* fixed the timezone used by the date filter and function when the given date contains a timezone …
467 * fixed globals when getGlobals is called early on
486 * added a syntax error when using a loop variable that is not defined
495 * fixed escaping when calling a macro inside another one (regression introduced in 1.9.1)
497 …* fixed a crash of the C extension when an exception was thrown from a macro called without being …
501 * fixed macro compilation when a variable name is a PHP reserved keyword
521 * made a speed optimization to macro calls when imported via the "import" tag
523 * fixed a segfault in the C extension when using DateTime objects
530 * fixed an error when a token parser pass a closure as a test to the subparse() method
535 …* fixed the C extension when accessing a public property of an object implementing the \ArrayAcces…
539 * optimized macro calls when auto-escaping is on
546 * fixed exception trace when an error occurs when rendering a child template
553 * fixed paths in the filesystem loader when passing a path that ends with a slash or a backslash
554 * fixed escaping when a project defines a function named html or js
560 * fixed a regression when using a number in template attributes
561 * fixed compiler when mbstring.func_overload is set to 2
566 * fixed a regression when dealing with SimpleXMLElement instances in templates
567 * fixed "is_safe" value for the "dump" function when "html_errors" is not defined in php.ini
572 * enforced interface when adding tests, filters, functions, and node visitors from extensions
581 * fixed a PHP warning when using CIFS
584 * added an error when defining two blocks with the same name in a template
586 * fixed a PHP notice when trying to access a key on a non-object/array variable
587 * enhanced error reporting when the template file is an instance of SplFileInfo
591 * fixed random function when charset is null
595 * fixed a regression when a template only extends another one without defining any blocks
600 * fixed performance when compiling large files
601 * optimized parent template creation when the template does not use dynamic inheritance
606 …* fixed compilation of numeric values used in templates when using a locale where the decimal sepa…
611 * fixed sandbox mode when used with inheritance
613 * fixed the date filter when a DateTime instance is passed with a specific timezone
619 * removed the creation of Twig_Markup instances when not needed
621 * fixed the slice filter on strings when the length is not specified
626 * fixed raw blocks when used with the whitespace trim option
627 * made a speed optimization to macro calls when imported via the "from" tag
628 …s, visitors, filters, tests, and functions management in Twig_Environment when a new one or new ex…
629 * fixed the attribute function when passing arguments
641 * fixed a regression when parsing strings
665 * fixed the lexer when an operator ending with a letter ends a line
671 * fixed lexer when using big numbers (> PHP_INT_MAX)
683 * optimized variable access when using PHP 5.4
685 …* added an Exception to Twig_Loader_Array::isFresh() method when the template does not exist to be…
689 * added a better error message when a template is empty but contain a BOM
694 * made the escape filter smarter when the encoding is not supported by PHP
706 * added cache reloading when auto_reload is true and an extension has been modified
717 * enhanced the exception when a tag remains unclosed
720 * added better support for encoding problems when escaping a string (available as of PHP 5.4)
721 …* added a way to ignore a missing template when using the "include" tag ({% include "foo" ignore m…
727 * added an optimization for the set tag when used to capture a large chunk of static text
736 * fixed inheritance when using conditional parents
737 * fixed compilation of templates when the body of a child template is not empty
738 * fixed output when a macro throws an exception
739 * fixed a parsing problem when a large chunk of text is enclosed in a comment tag
753 * fixed method case-sensitivity when using the sandbox mode
759 * added an exception when the template passed to "use" is not a string
767 * fixed date filter when using a timestamp
769 * fixed a parsing problem when a large chunk of text is enclosed in a raw tag
779 * fixed output when using mbstring
780 * fixed duplicate call of methods when using the sandbox
785 * changed the way {% set %} works when capturing (the content is now marked as safe)
815 * made macros callable when sandbox mode is enabled
816 * added an exception when a macro uses a reserved name
842 * fixed default() filter behavior when used with strict_variables set to on
844 * enhanced error messages when an unexpected token is parsed in an expression
848 …* added a syntax error exception when parent block is used on a template that does not extend anot…
850 * fixed sandbox extension when used with auto output escaping
851 * fixed escaper when wrapping a Twig_Node_Print (the original class must be preserved)
888 * fixed error handling for if tag when a syntax error occurs within a subparse process
894 * fixed subscript expressions when calling __call() (methods now keep the case)
897 * fixed trans tag when no vars are used in plural form
898 * fixed race condition when writing template cache
912 * fixed trans tag when used with the Escaper extension
916 * fixed set tag when used with a capture
937 …* added strict_variable setting to throw an exception when an invalid variable is used in a templa…
944 …* added an exception when a child template has a non-empty body (as it is always ignored when rend…
954 …* fixed the Lexer when mbstring.func_overload is used with an mbstring.internal_encoding different…
958 * fixed twig_capitalize_string_filter() and fixed twig_length_filter() when used with UTF-8 values
961 * fixed lexer when a template has a big chunk of text between/in a block
994 * added the .. operator (as a syntactic sugar for the range filter when the step is 1)
1007 * fixed loop.last when the array only has one item
1009 * fixed a bug when a literal '\n' were present in a template text
1010 * fixed bug when the filename of a template contains */
1035 * removed output when an error occurs in a template and render() is used
1040 * fixed bug when \ was used in HTML
1051 * changed default directory permission when cache dir does not exist (more secure)
1056 * added $ escaping when outputting raw strings
1058 * fixed empty cache files when the template contains an error