Changelog
*Sourced from [twig/twig's changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG).*
> * 2.11.3 (2019-06-18)
>
> * display partial output (PHP buffer) when an error occurs in debug mode
> * fixed the filter filter (allow the result to be used several times)
> * fixed macro auto-import when a template contains only macros
>
> * 2.11.2 (2019-06-05)
>
> * fixed macro auto-import
>
> * 2.11.1 (2019-06-04)
>
> * added support for "Twig\Markup" instances in the "in" test (again)
> * allowed string operators as variables names in assignments
> * fixed support for macros defined in parent templates
>
> * 2.11.0 (2019-05-31)
>
> * added the possibility to register classes/interfaces as being safe for the escaper ("EscaperExtension::addSafeClass()")
> * deprecated CoreExtension::setEscaper() and CoreExtension::getEscapers() in favor of the same methods on EscaperExtension
> * macros are now auto-imported in the template they are defined (under the ``_self`` variable)
> * added support for macros on "is defined" tests
> * fixed macros "import" when using the same name in the parent and child templates
> * fixed recursive macros
> * macros imported "globally" in a template are now available in macros without re-importing them
> * fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator (\SimpleXmlElement for instance)
> * fixed a PHP fatal error when calling a macro imported in a block in a nested block
> * fixed a PHP fatal error when calling a macro imported in the template in another macro
> * fixed wrong error message on "import" and "from"
>
> * 2.10.0 (2019-05-14)
>
> * deprecated "if" conditions on "for" tags
> * added "filter", "map", and "reduce" filters (and support for arrow functions)
> * fixed partial output leak when a PHP fatal error occurs
> * optimized context access on PHP 7.4
>
> * 2.9.0 (2019-04-28)
>
> * deprecated returning "false" to remove a Node from NodeVisitorInterface::leaveNode()
> * allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning)
> * deprecated the "filter" tag (use the "apply" tag instead)
> * added the "apply" tag as a replacement for the "filter" tag
> * allowed Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning)
> * added support for "Twig\Markup" instances in the "in" test
> * fixed "import" when macros are stored in a template string
> * fixed Lexer when using custom options containing the # char
> * added template line number to twig_get_attribute()
>
> * 2.8.1 (2019-04-16)
> ... (truncated)
Commits
- [`699ed23`](https://github.com/twigphp/Twig/commit/699ed2342557c88789a15402de5eb834dedd6792) prepared the 2.11.3 release
- [`14e2f42`](https://github.com/twigphp/Twig/commit/14e2f42bc72ca38fe0bf8f70b024b95c9f27ce86) Merge branch '1.x' into 2.x
- [`1107684`](https://github.com/twigphp/Twig/commit/1107684beef36b9ecd585c2ac9786c49e9bbd5c6) bug [#3065](https://github-redirect.dependabot.com/twigphp/Twig/issues/3065) Fix the filter filter (fabpot)
- [`29ad145`](https://github.com/twigphp/Twig/commit/29ad145dd85fcfc8d9426d8dd49144e3ed46ecab) fixed the filter filter
- [`8c4b748`](https://github.com/twigphp/Twig/commit/8c4b748f23cf012841a77093e91e178102e119f0) minor [#3062](https://github-redirect.dependabot.com/twigphp/Twig/issues/3062) Escape __DIR__ in the test suite (lyrixx)
- [`fa0213a`](https://github.com/twigphp/Twig/commit/fa0213a9c4c094469c045d3d141e595f3fd09d1e) Escape __DIR__ in the test suite
- [`b957ff6`](https://github.com/twigphp/Twig/commit/b957ff6f290ccc6caa0015a646b4add1fc216a00) Merge branch '1.x' into 2.x
- [`0390a9d`](https://github.com/twigphp/Twig/commit/0390a9d846df27624266ab2167a256ae09234545) bug [#3059](https://github-redirect.dependabot.com/twigphp/Twig/issues/3059) Don't clear PHP buffer when an error occurs with debug=true (lyrixx)
- [`c910e71`](https://github.com/twigphp/Twig/commit/c910e71f5a242e48303b5afe0535552f3dec79d2) Don't clear PHP buffer when an error occurs with debug=true
- [`aa564b2`](https://github.com/twigphp/Twig/commit/aa564b24ba88157efe2b2ac9b459b344bf1a5ada) minor [#3061](https://github-redirect.dependabot.com/twigphp/Twig/issues/3061) Remove duplicate phpdoc (tvdijen)
- Additional commits viewable in [compare view](https://github.com/twigphp/Twig/compare/v2.7.4...v2.11.3)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps twig/twig from 2.7.4 to 2.11.3.
Changelog
*Sourced from [twig/twig's changelog](https://github.com/twigphp/Twig/blob/2.x/CHANGELOG).* > * 2.11.3 (2019-06-18) > > * display partial output (PHP buffer) when an error occurs in debug mode > * fixed the filter filter (allow the result to be used several times) > * fixed macro auto-import when a template contains only macros > > * 2.11.2 (2019-06-05) > > * fixed macro auto-import > > * 2.11.1 (2019-06-04) > > * added support for "Twig\Markup" instances in the "in" test (again) > * allowed string operators as variables names in assignments > * fixed support for macros defined in parent templates > > * 2.11.0 (2019-05-31) > > * added the possibility to register classes/interfaces as being safe for the escaper ("EscaperExtension::addSafeClass()") > * deprecated CoreExtension::setEscaper() and CoreExtension::getEscapers() in favor of the same methods on EscaperExtension > * macros are now auto-imported in the template they are defined (under the ``_self`` variable) > * added support for macros on "is defined" tests > * fixed macros "import" when using the same name in the parent and child templates > * fixed recursive macros > * macros imported "globally" in a template are now available in macros without re-importing them > * fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator (\SimpleXmlElement for instance) > * fixed a PHP fatal error when calling a macro imported in a block in a nested block > * fixed a PHP fatal error when calling a macro imported in the template in another macro > * fixed wrong error message on "import" and "from" > > * 2.10.0 (2019-05-14) > > * deprecated "if" conditions on "for" tags > * added "filter", "map", and "reduce" filters (and support for arrow functions) > * fixed partial output leak when a PHP fatal error occurs > * optimized context access on PHP 7.4 > > * 2.9.0 (2019-04-28) > > * deprecated returning "false" to remove a Node from NodeVisitorInterface::leaveNode() > * allowed Twig\NodeVisitor\NodeVisitorInterface::leaveNode() to return "null" instead of "false" (same meaning) > * deprecated the "filter" tag (use the "apply" tag instead) > * added the "apply" tag as a replacement for the "filter" tag > * allowed Twig\Loader\FilesystemLoader::findTemplate() to return "null" instead of "false" (same meaning) > * added support for "Twig\Markup" instances in the "in" test > * fixed "import" when macros are stored in a template string > * fixed Lexer when using custom options containing the # char > * added template line number to twig_get_attribute() > > * 2.8.1 (2019-04-16) > ... (truncated)Commits
- [`699ed23`](https://github.com/twigphp/Twig/commit/699ed2342557c88789a15402de5eb834dedd6792) prepared the 2.11.3 release - [`14e2f42`](https://github.com/twigphp/Twig/commit/14e2f42bc72ca38fe0bf8f70b024b95c9f27ce86) Merge branch '1.x' into 2.x - [`1107684`](https://github.com/twigphp/Twig/commit/1107684beef36b9ecd585c2ac9786c49e9bbd5c6) bug [#3065](https://github-redirect.dependabot.com/twigphp/Twig/issues/3065) Fix the filter filter (fabpot) - [`29ad145`](https://github.com/twigphp/Twig/commit/29ad145dd85fcfc8d9426d8dd49144e3ed46ecab) fixed the filter filter - [`8c4b748`](https://github.com/twigphp/Twig/commit/8c4b748f23cf012841a77093e91e178102e119f0) minor [#3062](https://github-redirect.dependabot.com/twigphp/Twig/issues/3062) Escape __DIR__ in the test suite (lyrixx) - [`fa0213a`](https://github.com/twigphp/Twig/commit/fa0213a9c4c094469c045d3d141e595f3fd09d1e) Escape __DIR__ in the test suite - [`b957ff6`](https://github.com/twigphp/Twig/commit/b957ff6f290ccc6caa0015a646b4add1fc216a00) Merge branch '1.x' into 2.x - [`0390a9d`](https://github.com/twigphp/Twig/commit/0390a9d846df27624266ab2167a256ae09234545) bug [#3059](https://github-redirect.dependabot.com/twigphp/Twig/issues/3059) Don't clear PHP buffer when an error occurs with debug=true (lyrixx) - [`c910e71`](https://github.com/twigphp/Twig/commit/c910e71f5a242e48303b5afe0535552f3dec79d2) Don't clear PHP buffer when an error occurs with debug=true - [`aa564b2`](https://github.com/twigphp/Twig/commit/aa564b24ba88157efe2b2ac9b459b344bf1a5ada) minor [#3061](https://github-redirect.dependabot.com/twigphp/Twig/issues/3061) Remove duplicate phpdoc (tvdijen) - Additional commits viewable in [compare view](https://github.com/twigphp/Twig/compare/v2.7.4...v2.11.3)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.