feature #32458 Remove support for Twig 1.x (fabpot)

This PR was merged into the 5.0-dev branch.

Discussion
----------

Remove support for Twig 1.x

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against branch 4.4.
 - Legacy code removals go to the master branch.
-->

Commits
-------

906b3ca89a removed support for Twig 1.x
This commit is contained in:
Fabien Potencier 2019-07-09 13:48:14 +02:00
commit 8172d0ffbb
8 changed files with 9 additions and 9 deletions

View File

@ -21,7 +21,7 @@
"doctrine/event-manager": "~1.0",
"doctrine/persistence": "~1.0",
"fig/link-util": "^1.0",
"twig/twig": "^1.41|^2.10",
"twig/twig": "^2.10",
"psr/cache": "~1.0",
"psr/container": "^1.0",
"psr/link": "^1.0",

View File

@ -18,7 +18,7 @@
"require": {
"php": "^7.2.9",
"symfony/translation-contracts": "^1.1",
"twig/twig": "^1.41|^2.10"
"twig/twig": "^2.10"
},
"require-dev": {
"egulias/email-validator": "^2.0",

View File

@ -60,7 +60,7 @@
"symfony/web-link": "^4.4|^5.0",
"doctrine/annotations": "~1.0",
"phpdocumentor/reflection-docblock": "^3.0|^4.0",
"twig/twig": "~1.34|~2.4"
"twig/twig": "^2.4"
},
"conflict": {
"phpdocumentor/reflection-docblock": "<3.0",

View File

@ -44,7 +44,7 @@
"symfony/yaml": "^4.4|^5.0",
"symfony/expression-language": "^4.4|^5.0",
"doctrine/doctrine-bundle": "^1.5|^2.0",
"twig/twig": "~1.34|~2.4"
"twig/twig": "^2.4"
},
"conflict": {
"symfony/browser-kit": "<4.4",

View File

@ -23,7 +23,7 @@
"symfony/http-foundation": "^4.4|^5.0",
"symfony/http-kernel": "^4.4|^5.0",
"symfony/polyfill-ctype": "~1.8",
"twig/twig": "~1.41|~2.10"
"twig/twig": "^2.10"
},
"require-dev": {
"symfony/asset": "^4.4|^5.0",

View File

@ -22,7 +22,7 @@
"symfony/routing": "^4.4|^5.0",
"symfony/twig-bundle": "^4.4|^5.0",
"symfony/var-dumper": "^4.4|^5.0",
"twig/twig": "^1.41|^2.10"
"twig/twig": "^2.10"
},
"require-dev": {
"symfony/console": "^4.4|^5.0",

View File

@ -40,7 +40,7 @@
"symfony/translation-contracts": "^1.1",
"symfony/var-dumper": "^4.4|^5.0",
"psr/cache": "~1.0",
"twig/twig": "^1.34|^2.4"
"twig/twig": "^2.4"
},
"provide": {
"psr/log-implementation": "1.0"
@ -51,7 +51,7 @@
"symfony/dependency-injection": "<4.4",
"symfony/translation": "<4.4",
"symfony/var-dumper": "<4.4",
"twig/twig": "<1.34|<2.4,>=2"
"twig/twig": "<2.4"
},
"suggest": {
"symfony/browser-kit": "",

View File

@ -23,7 +23,7 @@
"ext-iconv": "*",
"symfony/console": "^4.4|^5.0",
"symfony/process": "^4.4|^5.0",
"twig/twig": "~1.34|~2.4"
"twig/twig": "^2.4"
},
"conflict": {
"phpunit/phpunit": "<5.4.3",