Fabien Potencier
|
f67078b5c4
|
Move Operators to ExpressionParsers, deprecate ExpressionParser
|
2025-02-14 08:38:53 +01:00 |
|
Fabien Potencier
|
42c82e1e9b
|
Extract operators logic from ExpressionParser to their own classes
|
2025-02-14 08:38:53 +01:00 |
|
Ruud Kamphuis
|
a84e602b4f
|
Use correct lineno for ForElseNode
It should take the line number of the `{% else %}` block.
|
2025-02-07 14:48:08 +01:00 |
|
Fabien Potencier
|
609767522a
|
Add ForElseNode
|
2025-01-24 15:25:30 +01:00 |
|
Fabien Potencier
|
fc15e7ccbc
|
Rename Node classes related to variables
|
2024-10-23 12:36:57 +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 |
|
Simon André
|
c662e0ce27
|
Remove remaining const optimizations
After #4198 some `Token::` const optimization remains.
This PR remove them.. **in case** it was not intended
|
2024-08-15 19:11:55 +02:00 |
|
Fabien Potencier
|
cd0ac3cc0a
|
Remove const optimization
|
2024-08-12 09:40:52 +02:00 |
|
Fabien Potencier
|
2b2ac80d34
|
Fxi some errors reported by phpstan
|
2024-02-05 17:48:36 +01:00 |
|
Den
|
17c6371fb5
|
Some code style fixes
|
2021-05-14 10:26:05 +02:00 |
|
Fabien Potencier
|
b95735da2e
|
Mark built-in token parsers as @internal
|
2020-11-30 12:04:32 +01:00 |
|
Fabien Potencier
|
dca3f74e49
|
removed the "if" condition support on the "for" tag
|
2019-05-14 09:17:47 +02:00 |
|
Fabien Potencier
|
f31fe6add4
|
Merge branch '2.x' into 3.x
* 2.x:
deprecated "if" conditions on "for" tags
updated CHANGELOG
added a test
|
2019-05-09 17:36:40 +02:00 |
|
Fabien Potencier
|
5d1d90ba53
|
deprecated "if" conditions on "for" tags
|
2019-05-09 15:20:13 +02:00 |
|
Fabien Potencier
|
54cec4e3b8
|
added type hints
|
2019-04-26 12:01:21 +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
|
037ee67224
|
switched to namespace first, PSR-0 as a fallback
|
2019-03-05 08:14:45 +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 |
|