Skip to content

Commit 8172d0f

Browse files
committed
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 ------- 906b3ca removed support for Twig 1.x
2 parents 40d04ec + 906b3ca commit 8172d0f

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"doctrine/event-manager": "~1.0",
2222
"doctrine/persistence": "~1.0",
2323
"fig/link-util": "^1.0",
24-
"twig/twig": "^1.41|^2.10",
24+
"twig/twig": "^2.10",
2525
"psr/cache": "~1.0",
2626
"psr/container": "^1.0",
2727
"psr/link": "^1.0",

src/Symfony/Bridge/Twig/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": "^7.2.9",
2020
"symfony/translation-contracts": "^1.1",
21-
"twig/twig": "^1.41|^2.10"
21+
"twig/twig": "^2.10"
2222
},
2323
"require-dev": {
2424
"egulias/email-validator": "^2.0",

src/Symfony/Bundle/FrameworkBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"symfony/web-link": "^4.4|^5.0",
6161
"doctrine/annotations": "~1.0",
6262
"phpdocumentor/reflection-docblock": "^3.0|^4.0",
63-
"twig/twig": "~1.34|~2.4"
63+
"twig/twig": "^2.4"
6464
},
6565
"conflict": {
6666
"phpdocumentor/reflection-docblock": "<3.0",

src/Symfony/Bundle/SecurityBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"symfony/yaml": "^4.4|^5.0",
4545
"symfony/expression-language": "^4.4|^5.0",
4646
"doctrine/doctrine-bundle": "^1.5|^2.0",
47-
"twig/twig": "~1.34|~2.4"
47+
"twig/twig": "^2.4"
4848
},
4949
"conflict": {
5050
"symfony/browser-kit": "<4.4",

src/Symfony/Bundle/TwigBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"symfony/http-foundation": "^4.4|^5.0",
2424
"symfony/http-kernel": "^4.4|^5.0",
2525
"symfony/polyfill-ctype": "~1.8",
26-
"twig/twig": "~1.41|~2.10"
26+
"twig/twig": "^2.10"
2727
},
2828
"require-dev": {
2929
"symfony/asset": "^4.4|^5.0",

src/Symfony/Bundle/WebProfilerBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"symfony/routing": "^4.4|^5.0",
2323
"symfony/twig-bundle": "^4.4|^5.0",
2424
"symfony/var-dumper": "^4.4|^5.0",
25-
"twig/twig": "^1.41|^2.10"
25+
"twig/twig": "^2.10"
2626
},
2727
"require-dev": {
2828
"symfony/console": "^4.4|^5.0",

src/Symfony/Component/HttpKernel/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"symfony/translation-contracts": "^1.1",
4141
"symfony/var-dumper": "^4.4|^5.0",
4242
"psr/cache": "~1.0",
43-
"twig/twig": "^1.34|^2.4"
43+
"twig/twig": "^2.4"
4444
},
4545
"provide": {
4646
"psr/log-implementation": "1.0"
@@ -51,7 +51,7 @@
5151
"symfony/dependency-injection": "<4.4",
5252
"symfony/translation": "<4.4",
5353
"symfony/var-dumper": "<4.4",
54-
"twig/twig": "<1.34|<2.4,>=2"
54+
"twig/twig": "<2.4"
5555
},
5656
"suggest": {
5757
"symfony/browser-kit": "",

src/Symfony/Component/VarDumper/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"ext-iconv": "*",
2424
"symfony/console": "^4.4|^5.0",
2525
"symfony/process": "^4.4|^5.0",
26-
"twig/twig": "~1.34|~2.4"
26+
"twig/twig": "^2.4"
2727
},
2828
"conflict": {
2929
"phpunit/phpunit": "<5.4.3",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy