Fabien Potencier
b86575cfd6
Deprecate Environment::mergeGlobals()
2024-09-07 14:05:02 +02:00
Fabien Potencier
5fca700cbd
Deprecate the fact that the extends and use tags are always allowed in a sandboxed template
2024-08-28 13:40:53 +02:00
Fabien Potencier
5157402a77
Rename hash to mapping
2024-06-22 19:36:24 +02:00
Fabien Potencier
b63bde3063
Optimize sprintf() calls for PHP 8.4
2024-06-21 08:16:55 +02:00
Nicolas Grekas
e70777405d
Add #[YieldReady] to allow extensions to tell when they're ready for yielding
2024-02-15 10:27:26 +01:00
Fabien Potencier
f7f11ea410
Fix CS
2024-02-10 09:52:03 +01:00
Fabien Potencier
54d34b969b
Move functions for CoreExtension
2023-12-10 20:13:10 +01:00
Jérôme Tamarelle
991f518d32
Replace calls to twig_test_iterable to is_iterable
2023-10-20 17:47:18 +02:00
Fabien Potencier
d57e50d778
Merge branch '2.x' into 3.x
...
* 2.x:
Allow dev versions
Allow PHP 8 for extra packages
Fix Travis
Bump version to 2.13
Fix integration tests
Fix PHP 8 compat
Install the phpunit-bridge with PHP 7.4 when testing nightly
Add PHP 8 / nightly in Travis matrix
Drop support for PHP 7.0
2020-05-19 15:23:33 +02:00
Fabien Potencier
2d5e36b759
Merge branch '1.x' into 2.x
...
* 1.x:
Fix integration tests
Fix PHP 8 compat
Install the phpunit-bridge with PHP 7.4 when testing nightly
Add PHP 8 / nightly in Travis matrix
Drop support for PHP 7.0
2020-05-19 15:03:51 +02:00
Fabien Potencier
6a0ab744d2
Fix PHP 8 compat
2020-05-19 14:22:31 +02:00
Fabien Potencier
54cec4e3b8
added type hints
2019-04-26 12:01:21 +02:00
Christophe Coevoet
8e63f6ef3e
Refactor the with node to avoid leaking the parent scope to the template
2019-04-24 15:13:25 +02:00
Fabien Potencier
273b666a71
removed the obsolete lib/ directory, removed PSR-0 class aliases
2019-04-23 16:34:05 +02:00
Fabien Potencier
1c80fa7205
Merge branch '1.x' into 2.x
...
* 1.x:
added more tests
added missing hints in some runtime exceptions
2019-04-12 12:08:49 +02:00
Fabien Potencier
d4db91535d
added missing hints in some runtime exceptions
2019-04-12 10:29:05 +02:00
Fabien Potencier
c6ba9c77c4
Merge branch '1.x' into 2.x
...
* 1.x:
fixed the "with" behavior to always include the globals
2019-04-11 09:38:25 +02:00
Fabien Potencier
823299d212
bug #2933 Fix the "with" behavior to always include the globals (fabpot)
...
This PR was merged into the 1.x branch.
Discussion
----------
Fix the "with" behavior to always include the globals
closes #2377
Commits
-------
5db54551 fixed the "with" behavior to always include the globals
2019-04-11 09:37:48 +02:00
Fabien Potencier
7aced51445
Merge branch '1.x' into 2.x
...
* 1.x:
tweaked twig_to_array
2019-04-11 08:51:43 +02:00
Fabien Potencier
5db545514e
fixed the "with" behavior to always include the globals
2019-04-10 21:47:39 +02:00
Fabien Potencier
8dd8d0dcb5
tweaked twig_to_array
2019-04-10 21:19:08 +02:00
Fabien Potencier
71375f2820
Merge branch '1.x' into 2.x
...
* 1.x:
Allow Traversable objects to be used in the with tag
2019-03-20 07:23:53 +01:00
Chris Wilkinson
572a2a09fd
Allow Traversable objects to be used in the with tag
2019-03-19 14:21:09 +00:00
Fabien Potencier
1dead73882
added some type hints on constructors
2019-03-16 15:26:39 +01:00
Fabien Potencier
037ee67224
switched to namespace first, PSR-0 as a fallback
2019-03-05 08:14:45 +01:00
Fabien Potencier
baa70287f5
switched to namespace first, PSR-0 as a fallback
2019-03-04 21:33:40 +01:00
Maxime Steinhausser
2c174e4015
Use class_exists instead of require
2017-06-05 23:42:50 +02:00
Nicolas Grekas
5420a5e3f8
Add the aliases
2017-05-25 08:32:07 +02:00
Nicolas Grekas
71af32b306
Add namespaced aliases
2017-05-24 10:12:32 +02:00