Commit Graph

106 Commits

Author SHA1 Message Date
Fabien Potencier 77cd2fd9f7 Fix grammar and spelling mistakes in documentation 2026-01-17 22:34:06 +01:00
Vincent Langlet cc12df995c Introduce registerUndefinedTestCallback 2025-09-16 07:40:27 +02:00
Pepperoni1337 03792f643f Use .html.twig file extension in documentation instead of .html 2024-12-18 11:01:27 +01:00
Fabien Potencier d1b05519af Clarify docs on registerUndefinedTokenParserCallback() 2024-09-10 08:34:26 +02:00
Fabien Potencier 230e31d384 Add a recipe about how to mark a node as safe 2024-08-07 21:01:18 +02:00
Simon André b0cd5dc5a8 [Doc] Fix javascript code-block
Fix code-block syntax (double space)
2024-07-21 21:05:07 +02:00
Fabien Potencier 9fb8b8dc68 Merge branch '2.x' into 3.x
* 2.x:
  Enable bytecode invalidation with auto_reload
2022-04-05 18:27:22 +02:00
Jérôme Tamarelle ef8ae9cb61 Enable bytecode invalidation with auto_reload 2022-04-05 18:17:00 +02:00
Fabien Potencier 4659a99cdf Merge branch '2.x' into 3.x
* 2.x:
  Fix URLs
  Replace secure.php.net with www.php.net
2021-05-19 09:38:07 +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 81751d6671 Add "registerUndefinedTokenParserCallback" 2020-12-31 09:12:48 +01:00
Fabien Potencier 22537dd1c4 Merge branch '2.x' into 3.x
* 2.x:
  Fix small typo
  Fix: Typo
  Enhancement: Use GithubActions instead of Travis for tests
  Fix: DOCtor-RST build
  Enhancement: Use no_explicit_use_of_code_block_php rule
  Fix: Highlighting
  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 2.14.2-DEV
  Prepare the 2.14.1 release
  Update CHANGELOG
  Bump version to 1.44.2-DEV
  Prepare the 1.44.1 release
2020-11-05 18:38:00 +01: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
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
Fabien Potencier 7a6f3eb534 Merge branch '1.x' into 2.x
* 1.x:
  Fix: Highlighting
2020-11-05 13:36:28 +01:00
Oskar Stark 0df7ddcf4f Fix: Highlighting 2020-11-05 13:18:52 +01:00
Oskar Stark c9328ad613 Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions 2020-11-05 13:09:07 +01:00
René Backhaus 5521e03471 Added return and argument type for LoaderInterface 2020-08-01 09:02:27 +02:00
Fabien Potencier 5c8c41853b tweaked code 2019-07-12 09:11:27 +03:00
Fabien Potencier fb5a1f43e6 Merge branch '1.x' into 2.x
* 1.x:
  [Doc] Minor fixes and removed belittling words
  bumped version to 1.42.3-DEV
  prepared the 1.42.2 release
2019-06-20 13:56:08 +02:00
Javier Eguiluz 270d4a57a2 [Doc] Minor fixes and removed belittling words 2019-06-20 13:32:09 +02:00
Fabien Potencier 27a9a4d91d Merge branch '1.x' into 2.x
* 1.x:
  tweaked the doc
2019-04-27 16:57:11 +01:00
Fabien Potencier 5ac239ca4f tweaked the doc 2019-04-27 15:54:47 +01: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 5eb5ad9769 Merge branch '1.x' into 2.x
* 1.x:
  added getLoaders() on the chain loader
  Encourage using prepared statements
2019-03-03 20:50:09 +01:00
Nat Zimmermann 97d9dc0404 Encourage using prepared statements 2019-03-02 08:49:36 +01:00
Fabien Potencier 69f37c164b moved some more classes to namespaced ones 2019-02-16 19:13:57 +01:00
Fabien Potencier d1596b6ccf moved to namespaced classes by default 2019-02-15 08:44:47 +01:00
Fabien Potencier 3632a46e82 moved to namespaced classes by default 2019-02-15 08:28:49 +01:00
Fabien Potencier db751d62d3 fixed some class names 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 ea2ca30d00 Merge branch '1.x' into 2.x
* 1.x:
  Updated the vim-twig link
  PHPUnit 6 compatability
  Fix codeblock
  Update Compiler.php
2017-03-12 08:30:20 -07:00
aaa2000 adba4c2a2b Fix codeblock 2017-03-10 08:51:30 -08:00
Fabien Potencier 236c429ee0 Merge branch '1.x' into 2.x
* 1.x:
  added some missing tests
2017-02-21 18:52:53 -08:00
Fabien Potencier 236c1bdc32 added some missing tests 2017-02-21 18:49:28 -08:00
Fabien Potencier 5c8a624963 fixed class names 2017-01-05 11:38:57 -08:00
Fabien Potencier 2675139c93 Merge branch '1.x' into 2.x
* 1.x:
  fixed message
  improved a deprecation notice
  bumped version to 1.28.2-DEV
  prepared the 1.28.1 release
  added tests for block() when using a template argument
  fixed block() is defined call when using a template argument
  Bugfix: When rendering blocks of other templates, don't pass the local blocks array.
  fixed doc issues
  fixed typo in the docs
  fix wrong __CLASS__ constant
  bumped version to 1.28.1-DEV
  prepared the 1.28.0 release
  fixed render block with template wrapper
2016-11-19 11:45:49 -08:00
Fabien Potencier 629810c91e fixed doc issues 2016-11-18 10:07:48 -05:00
Fabien Potencier 07957af326 removed obsolete doc 2016-10-21 17:38:22 -07:00
Fabien Potencier 0fdae163ea Merge branch '1.x'
* 1.x:
  added missing phpdoc
  made using Twig_SourceContextLoaderInterface required
  made name required for Twig_Source
2016-10-21 17:29:34 -07:00
Fabien Potencier 21ecba8c44 made using Twig_SourceContextLoaderInterface required 2016-10-21 17:07:14 -07:00
Fabien Potencier 6490ae6126 removed obsolete code 2016-10-17 13:59:54 -07:00
Fabien Potencier 9aadaae00c Merge branch '1.x'
* 1.x:
  added Twig_Source to hold information about the original template
2016-10-17 13:51:13 -07:00
Fabien Potencier 6c76583e23 added Twig_Source to hold information about the original template 2016-10-17 13:33:17 -07:00