Katharina Luthe
1e3b126cf2
Add output
2022-12-15 11:46:17 +01:00
Christophe Coevoet
883fb333b3
Add missing argument for the cycle function
2022-12-15 11:26:46 +01:00
Fabien Potencier
9170edfa35
Fix doc CS
2022-09-28 08:40:57 +02:00
Thomas Landauer
c034c1d248
Adding installation instructions for Symfony
...
Wording is taken from https://twig.symfony.com/doc/3.x/filters/format_datetime.html
2022-09-28 08:37:59 +02:00
Fabien Potencier
398487c101
Merge branch '1.x' into 2.x
...
* 1.x:
Replace secure.php.net with www.php.net
2021-05-19 09:14:37 +02:00
Maurício Meneghini Fauth
1783298bb8
Replace secure.php.net with www.php.net
...
See: https://news-web.php.net/php.internals/104533
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev >
2021-05-18 16:07:51 -03:00
Fabien Potencier
33729ab9a3
Tweak wording on docs
2021-04-10 09:41:46 +02:00
Fabien Potencier
4afea9870d
Merge branch '1.x' into 2.x
...
* 1.x:
Enhancement: Use no_explicit_use_of_code_block_php rule
2020-11-05 18:30:36 +01:00
Oskar Stark
5ceda707ed
Fix: DOCtor-RST build
2020-11-05 13:57:55 +01:00
Oskar Stark
87eb1396ba
Enhancement: Use no_explicit_use_of_code_block_php rule
2020-11-05 13:36:29 +01:00
Fabien Potencier
c2a264a91d
Merge branch '1.x' into 2.x
...
* 1.x:
Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
Enhancement: Use GithubActions instead of Travis for tests
Fix `odd` not working for negative numbers
Bump version to 1.44.2-DEV
Prepare the 1.44.1 release
2020-11-05 13:31:01 +01:00
Oskar Stark
c9328ad613
Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
2020-11-05 13:09:07 +01:00
Fabien Potencier
53650c55c1
Merge branch '1.x' into 2.x
...
* 1.x:
Fix PHP 8 support
2020-10-21 14:27:01 +02:00
Fabien Potencier
b1c9faa33e
Fix PHP 8 support
2020-10-21 14:08:16 +02:00
Fabien Potencier
2ffab581fe
Merge branch '1.x' into 2.x
...
* 1.x:
Fix PHP 8 support
2020-10-21 13:43:35 +02:00
Fabien Potencier
d46aeb0724
Fix PHP 8 support
2020-10-21 13:43:26 +02:00
Pierre Grimaud
0273057622
Fix typos
2020-04-24 08:22:30 +02:00
fancyweb
6b25dccf33
Fix versionadded in doc
2020-01-11 12:21:32 +01:00
Fabien Potencier
c046e69e67
Move country_timezone to a function
2019-09-07 08:58:31 +02:00
Fabien Potencier
499a6eeb13
tweaked doc
2019-08-11 11:46:30 +02:00
Fabien Potencier
5168c0e2fe
fixed markup in docs
2019-08-10 16:16:47 +02:00
Fabien Potencier
3d5d053238
fixed typos
2019-08-10 15:14:08 +02:00
Fabien Potencier
5cc40a06f1
fixed HTML extension
2019-08-10 11:07:38 +02:00
Fabien Potencier
59bb9d1033
moved the HTML extension to an external Composer package
2019-08-08 18:10:45 +02:00
Fabien Potencier
6ce9beb9fd
moved css_class function to html_classes filter
2019-08-07 16:09:15 +02:00
Grégoire Pineau
2200d837ef
Added support for css_class function
2019-08-07 15:57:33 +02:00
Fabien Potencier
97167aab98
Merge branch '1.x' into 2.x
...
* 1.x:
tweaked doc markup
tweaked escape docs
2019-04-25 14:27:37 +02:00
Fabien Potencier
fa836ddfea
tweaked doc markup
2019-04-25 12:14:46 +02:00
Fabien Potencier
cf98f334e8
Merge branch '1.x' into 2.x
...
* 1.x:
added the possibility to give a nice name to string templates
added the possibility to give a nice name to string templates
2019-04-11 09:58:10 +02:00
Fabien Potencier
d7e2e5418c
added the possibility to give a nice name to string templates
2019-04-11 09:55:43 +02:00
Fabien Potencier
2702126349
Merge branch '1.x' into 2.x
...
* 1.x:
tweaked docs
Add max value to random function
2019-03-05 20:11:37 +01:00
Fabien Potencier
f16405f797
tweaked docs
2019-03-05 20:08:13 +01:00
SpacePossum
50b270613d
Add max value to random function
2019-02-17 14:14:54 +01:00
Fabien Potencier
725f94233a
used ::class whenever possible
2019-02-16 19:20:58 +01:00
Fabien Potencier
ff77e221e0
Merge branch '1.x' into 2.x
...
* 1.x:
moved to namespaced classes by default
fixed some class names
bumped version to 1.38
2019-02-15 08:34:23 +01:00
Fabien Potencier
3632a46e82
moved to namespaced classes by default
2019-02-15 08:28:49 +01:00
Fabien Potencier
2ed21eea43
Merge branch '1.x' into 2.x
...
* 1.x:
fixed .php_cs CS
removed 5.3 from Travis matrix
removed array notation in comments
enabled short array notation in docs
fixed usage of short array notation in tests
fixed usage of short array notation in tests
fixed more short array notations
switched to use PHP short array notation for Twig's code
switched to use short arrays in generated code
dropped PHP 5.3 support
bumped version
2019-01-08 17:28:13 +01:00
Fabien Potencier
a2c4253406
enabled short array notation in docs
2019-01-08 11:56:48 +01:00
Fabien Potencier
094c22c5fd
Merge branch '1.x' into 2.x
...
* 1.x:
use HTTPS whenever possible
2018-04-20 08:09:12 +02:00
Fabien Potencier
4f57c6eab8
use HTTPS whenever possible
2018-04-20 08:05:14 +02:00
Fabien Potencier
6019605609
Merge branch '1.x' into 2.x
...
* 1.x:
Environment::resolveTemplate now accepts instances of TemplateWrapper
Change typo in documentation
fix grammar
2017-11-12 10:45:51 -08:00
Chris Wright
d430989818
fix grammar
2017-11-12 10:24:45 -08:00
Fabien Potencier
f03ddaef43
Merge branch '1.x' into 2.x
...
* 1.x:
added more final classes
add a comma to clarify the meaning
2016-12-23 09:06:20 +01:00
Christian Flothmann
7cd3c9d25f
add a comma to clarify the meaning
...
Without the comma you could understand that the "if" not only applied
to `-1`, but to `1` as well if you read too quickly.
2016-12-23 08:52:50 +01:00
Fabien Potencier
b7a5597f09
Merge branch '1.x' into 2.x
...
* 1.x:
tweaked a deprecation notice
added more docs about the range function
2016-12-23 07:53:11 +01:00
Fabien Potencier
40348480e7
added more docs about the range function
2016-12-23 07:21:48 +01:00
Fabien Potencier
183f062bbf
removed obsolete code
2016-11-15 17:01:14 -05:00
Fabien Potencier
5a7b20205d
Merge branch '1.x' into 2.x
...
* 1.x:
exposed a way to access template data and methods in a portable way
removed optimization as it's not compatible with Symfony cache system
2016-11-15 16:57:15 -05:00
Fabien Potencier
d7062f35b8
exposed a way to access template data and methods in a portable way
2016-11-12 19:45:39 -08:00
Fabien Potencier
4c39e930cd
remove obsolete docs
2016-11-12 18:12:38 -08:00