Skip to content

Commit 2e9c2b1

Browse files
[TwigBridge] Fix compat with Twig v3.9
1 parent 760a863 commit 2e9c2b1

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: Tests/Dumper/CliDumperTest.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,7 @@ public function testThrowingCaster()
370370
› twig source
371371
372372
}
373-
%s%eTemplate.php:%d { …}
374-
%s%eTemplate.php:%d { …}
375-
%s%eTemplate.php:%d { …}
373+
%A%eTemplate.php:%d { …}
376374
%s%eTests%eDumper%eCliDumperTest.php:%d { …}
377375
%A }
378376
}
@@ -572,7 +570,7 @@ public function testCollapse()
572570
],
573571
[
574572
'bar' => 123,
575-
]
573+
],
576574
]);
577575

578576
$dumper = new CliDumper();

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"symfony/http-kernel": "^4.4|^5.0|^6.0",
2727
"symfony/process": "^4.4|^5.0|^6.0",
2828
"symfony/uid": "^5.1|^6.0",
29-
"twig/twig": "^2.13|~3.8.0"
29+
"twig/twig": "^2.13|^3.0.4"
3030
},
3131
"conflict": {
3232
"symfony/console": "<4.4"

0 commit comments

Comments
 (0)