Jonny Eom
97ae3c8e97
Fix emphasis on compiler to bold styling
2021-11-04 18:52:41 +01: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
f5d3c704df
Fix reference in docs
2021-04-06 08:27:15 +02:00
Vincent Langlet
473f73ef2e
Fix length filter doc
2021-01-15 12:57:47 +01:00
Ryan Weaver
500a7da999
Adding link to the SymfonyCasts Twig tutorial
2021-01-13 13:07:49 -05:00
Fabien Potencier
2f0947e1af
Fix typo
2020-11-27 14:05:10 +01:00
Olaf van der Spek
43f382ba1b
Typo
2020-11-27 14:04:41 +01:00
Fabien Potencier
311e8ce4ac
minor #3432 Enhancement: Use no_explicit_use_of_code_block_php rule (OskarStark)
...
This PR was merged into the 1.x branch.
Discussion
----------
Enhancement: Use no_explicit_use_of_code_block_php rule
Commits
-------
87eb1396 Enhancement: Use no_explicit_use_of_code_block_php rule
2020-11-05 18:27:08 +01:00
Oskar Stark
87eb1396ba
Enhancement: Use no_explicit_use_of_code_block_php rule
2020-11-05 13:36:29 +01:00
Oskar Stark
0df7ddcf4f
Fix: Highlighting
2020-11-05 13:18:52 +01:00
Fabien Potencier
960e3e1fa3
minor #3430 Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions (OskarStark)
...
This PR was squashed before being merged into the 1.x branch.
Discussion
----------
Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
Commits
-------
c9328ad6 Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
2020-11-05 13:09:12 +01:00
Oskar Stark
c9328ad613
Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
2020-11-05 13:09:07 +01:00
Harry Bournis
53a3ccd2d2
Fix odd not working for negative numbers
2020-11-05 11:55:45 +01:00
Fabien Potencier
b1c9faa33e
Fix PHP 8 support
2020-10-21 14:08:16 +02:00
Fabien Potencier
d46aeb0724
Fix PHP 8 support
2020-10-21 13:43:26 +02:00
Fabien Potencier
83d8e43136
Drop support for PHP 7.1
2020-10-21 12:11:02 +02:00
nstCactus
ef6debec55
Emphase the fact that the include tag outputs data
2020-10-07 10:01:43 +02:00
Laurent VOULLEMIER
6b9bc9a049
Update block.rst
2020-09-03 16:49:52 +02:00
Fabien Potencier
244ef52df6
Tweak docs
2020-08-23 13:58:27 +02:00
Jérôme TAMARELLE
133edb3696
Support object init from variable
...
{a} is a shortcut for {a:a}
From ECMAScript 2015 syntax https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Object_initializer
2020-08-23 13:54:49 +02:00
Fabien Potencier
636215f87c
Add version in the docs to be more search engine friendly
2020-06-22 17:24:49 +02:00
y2keeper
feb9321022
Improve batch code example
...
The current example uses an array of 7 items, resulting in 3 arrays of 3 items each (with fill).
This can be misinterpreted at a glance as creating n arrays as opposed to arrays with n items.
We should therefore instead use an example array of 4 items resulting in 2 arrays of 3 items each (with fill).
I think this would make the functionality less ambiguous.
2020-05-25 07:15:25 +02:00
Fabien Potencier
9810bf558a
Drop support for PHP 7.0
2020-05-19 12:19:14 +02:00
Yohann Durand
abe625a1a1
Update api.rst
2020-04-24 08:25:17 +02:00
Christian Flothmann
06ff4bdf9a
fix node class namespace
2020-03-24 12:12:57 +01:00
Nicolas Sauveur
9ff9a4d3c0
Update default.rst
...
Add warning for potentially confusing behaviour and alternative solution.
2020-02-26 13:13:20 +01:00
Abdouni Abdelkarim
e030bf6e38
Update advanced.rst
...
Hello,
I just updated the class name 😉
2020-02-13 13:50:04 +01:00
JakeFr
fbfac78fbd
Syntax error in doc
...
This code sample in advanced.rst is not highlighted in php because the second semicolon is missing
2020-01-13 08:58:15 +01:00
fancyweb
6b25dccf33
Fix versionadded in doc
2020-01-11 12:21:32 +01:00
Laurent VOULLEMIER
92e1cd35c5
Update doc with new escaping behavior
...
When applied on ternary statements
2019-12-27 08:28:48 +01:00
feldenla
8b8cfb0f4e
language typo
2019-12-20 13:13:08 +01:00
Fabien Potencier
335dcad4b0
Add missing link in docs
2019-12-09 17:35:58 +01:00
Fabien Potencier
7f48a181cd
Remove mention of the obsolete twig-extensions repository
2019-11-18 18:27:43 +01:00
Fabien Potencier
240e967c61
Remove usage of the old Autoloader class in the docs
2019-11-15 16:44:44 +01:00
Fabien Potencier
69030c7fb5
Fixed doc markup
2019-11-15 13:37:35 +01:00
Eric MORAND
cfac11e98a
Fix issue #3159
2019-10-01 12:18:00 +02:00
Eric MORAND
4eb40f2fc8
Fix issue #3160
2019-10-01 12:13:28 +02:00
Jérémy Derussé
074e46ae33
Upgrade minimal version of php
2019-08-08 00:31:49 +02:00
Fabien Potencier
20d60b5f25
avoid confusion between .. and ..
2019-08-07 16:28:20 +02:00
Fabien Potencier
5c8c41853b
tweaked code
2019-07-12 09:11:27 +03:00
Fabien Potencier
22a1317249
moved tests under tests/
2019-06-30 14:48:27 +02:00
Fabien Potencier
6b8aacd7c3
tweaked an example in the docs
2019-06-27 07:31:21 +02:00
Claudio Zizza
ea7c66447d
Use dir constant for fixtures
2019-06-27 07:29:52 +02:00
Guilliam Xavier
d01e7e0fed
[doc] "map" filter: fix args order (value, key)
2019-06-24 12:54:09 +02:00
Javier Eguiluz
270d4a57a2
[Doc] Minor fixes and removed belittling words
2019-06-20 13:32:09 +02:00
Fabien Potencier
18e3728682
removed docs about overloading
2019-06-04 17:49:11 +02:00
Alex
bf518d2cca
Update the documentation for newly added features
2019-06-03 15:28:27 +02:00
Yonel Ceruto
940641364b
Fix typo in filter doc
2019-05-27 09:59:11 -04:00
Fabien Potencier
cca7007abd
tweaked docs
2019-05-22 15:59:27 +02:00
Jörn Wagner
a05da6dbbe
Add information for when filter filter was added in 2.x branch
...
The current "versionadded" info can be confusing to developers, if they assume 2.9 > 1.41 and don't know that 1.x and 2.x branches are still developed simultaneously.
2019-05-22 15:58:42 +02:00