Fabien Potencier
9d2d35faa7
Make extra integration tests compatible with Twig 4
2026-09-06 22:35:36 +02:00
Fabien Potencier
87b930ae67
Throw when list formatting fails
2026-08-27 13:32:19 +02:00
Fabien Potencier
1de0bfceb4
Honor date formatter prototype calendars
2026-08-27 08:44:26 +02:00
Fabien Potencier
083b6dcabe
Fix IntlExtension ignoring explicit formats when a date formatter prototype is set
2026-07-13 12:17:54 +02:00
Fabien Potencier
9c6d76b61c
Add void return type hint even in tests
2026-07-12 13:43:08 +02:00
Marvin Feldmann
163f1b6341
[Intl] Add format_list filter using PHP 8.5's IntlListFormatter
2026-07-08 22:22:44 +02:00
Alexandre Daubois
6add9066fc
Fix unbounded memoisation of IntlDateFormatter / NumberFormatter
2026-05-19 22:44:48 +02:00
Felds Liscia
263c04fd1f
Add null-safe operator
2026-01-17 14:57:47 +01:00
hubert.lenoir
683adc550f
Fix intl-extra tests
2026-01-08 18:09:48 +01:00
jmsche
ff327e4163
Add .gitignore & .gitattributes to all .gitattributes
2025-12-02 15:45:16 +01:00
Javier Eguiluz
9a8a1dc1dd
Allow Symfony 8 packages in Twig extra packages
2025-11-02 12:00:49 +01:00
Fabien Potencier
41bfb6bd8b
Fix intl test
2025-09-15 08:05:04 +02:00
Fabien Potencier
dc6356268b
Bump min PHP version to 8.1
2025-01-31 21:45:36 +01:00
Christian Flothmann
18007078ba
fix intl-extra tests
2025-01-24 21:20:33 +01:00
Christophe Coevoet
d69c66643f
Fix the intl-extra tests
...
symfony/intl has updated its data from ICU 75.1 to ICU 76.1, which
includes new currency and scripts.
2024-11-20 14:19:52 +01:00
Christian Flothmann
c5486b07b9
fix intl-extra tests
2024-09-16 12:21:35 +02:00
Alexander M. Turek
18f4203827
Prepare IntegrationTestCase for static data providers
2024-09-03 15:08:40 +02:00
Fabien Potencier
976cea0403
Fix tests
2024-09-01 22:54:59 +02:00
Fabien Potencier
031c7bda4d
Allow extra extensions to use Twig 4
2024-09-01 22:39:12 +02:00
Fabien Potencier
c070cd719c
Drop support for 8.0
2024-08-10 12:32:24 +02:00
Fabien Potencier
da4592793b
minor #4109 Update PHPUnit config (fabpot)
...
This PR was merged into the 3.x branch.
Discussion
----------
Update PHPUnit config
Commits
-------
b78dee86 Update PHPUnit config
2024-06-21 08:25:01 +02:00
Fabien Potencier
b78dee8682
Update PHPUnit config
2024-06-21 08:22:31 +02:00
Fabien Potencier
b63bde3063
Optimize sprintf() calls for PHP 8.4
2024-06-21 08:16:55 +02:00
Fabien Potencier
761aa56a6f
Revert "minor #4042 Auto-close PRs on subtree-splits (kbond)"
...
This reverts commit 12625c0c05 , reversing
changes made to ad934312cd .
2024-05-11 09:35:57 +02:00
Fabien Potencier
283475b102
Move some static extension methods to non-static
2024-05-01 13:48:35 +02:00
Fabien Potencier
a19ec5b200
Fix method call
2024-05-01 11:02:32 +02:00
Kevin Bond
b212f1bb2f
Auto-close PRs on subtree-splits
2024-04-19 08:34:22 +02:00
benedikt brunner
5d903b6325
Require correct twig core version
2024-04-17 12:41:53 +00:00
Sébastien Alfaiate
7e8f5eb1a5
Fix exception when timezone is false
2024-04-03 17:08:24 +02:00
Fabien Potencier
f7f11ea410
Fix CS
2024-02-10 09:52:03 +01:00
Fabien Potencier
b1a8feaa55
Remove support for Twig 2.x and unmaintained Symfony versions
2024-01-25 08:19:28 +01:00
Fabien Potencier
44b3bac552
Fix intl tests
2023-12-24 09:42:15 +01:00
Fabien Potencier
54d34b969b
Move functions for CoreExtension
2023-12-10 20:13:10 +01:00
Fabien Potencier
78e1cdd84c
bug #3903 Fix timezone fallback to CoreExtension in IntlExtension (keulinho)
...
This PR was merged into the 3.x branch.
Discussion
----------
Fix timezone fallback to CoreExtension in IntlExtension
This is probably a regression from #3844
Refer to my comment on the original MR: https://github.com/twigphp/Twig/pull/3844#issuecomment-1792464040
Commits
-------
144c4dac Fix timezone fallback to CoreExtension in IntlExtension
2023-11-21 18:27:48 +01:00
Fabien Potencier
fdb9d9eddf
Bump dependencies
2023-11-21 15:02:01 +01:00
Jonas Elfering
144c4dac7f
Fix timezone fallback to CoreExtension in IntlExtension
...
This is probably a regression from #3844
2023-11-03 15:14:20 +01:00
Fabien Potencier
065634f498
bug #3844 Fix IntlExtension::formatDateTime use of date formatter prototype (drjayvee)
...
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
Fix IntlExtension::formatDateTime use of date formatter prototype
See https://github.com/twigphp/intl-extra/pull/6 for more details
Commits
-------
c75762c3 Fix IntlExtension::formatDateTime use of date formatter prototype
2023-10-26 17:47:32 -07:00
Jeroen Versteeg
c75762c354
Fix IntlExtension::formatDateTime use of date formatter prototype
2023-10-26 17:47:31 -07:00
Michael Bolli
223ba6ecde
fix NumberFormatter::TYPE_CURRENCY being deprecated in PHP 8.3
2023-10-20 16:28:22 +02:00
Christian Flothmann
b8b0c39663
allow Symfony 7 packages to be installed
2023-09-11 13:25:50 +02:00
Fabien Potencier
fa5f1d4c2e
Merge branch '2.x' into 3.x
...
* 2.x:
Bump min deps
2023-07-29 17:34:56 +02:00
Fabien Potencier
c12990f9e7
Bump min deps
2023-07-29 13:31:08 +02:00
Fabien Potencier
08d2037f26
Bump version to 3.6
2023-02-09 07:45:16 +01:00
Fabien Potencier
77f0eb37ea
feature #3808 Add the new PHP 8.0 IntlDateFormatter::RELATIVE_* constants for date formatting. (sukei)
...
This PR was merged into the 3.x branch.
Discussion
----------
Add the new PHP 8.0 IntlDateFormatter::RELATIVE_* constants for date formatting.
Since PHP 8.0, IntlDateFormatter get new constants to format relative dates. This PR add those constants.
Commits
-------
5776f760 Add the new PHP 8.0 IntlDateFormatter::RELATIVE_* constants for date formatting.
2023-02-09 07:42:43 +01:00
Quentin Schuler
5776f76068
Add the new PHP 8.0 IntlDateFormatter::RELATIVE_* constants for date formatting.
2023-02-08 10:10:14 +01:00
Fabien Potencier
4650d37fb2
Merge branch '2.x' into 3.x
...
* 2.x:
Fix LICENSE year
2023-02-08 08:44:55 +01:00
Fabien Potencier
872646a70f
Fix LICENSE year
2023-02-08 08:44:48 +01:00
Fabien Potencier
0cfb6f55e9
Merge branch '2.x' into 3.x
...
* 2.x:
Bump LICENSE year
Bump version
Prepare the 2.15.4 release
2023-01-01 09:43:26 +01:00
Fabien Potencier
eb8bde3c41
Bump LICENSE year
2023-01-01 09:42:51 +01:00
Fabien Potencier
0c8f5b2ea4
Bump version to 3.5
2022-12-27 13:23:36 +01:00