Merge branch '2.x' into 3.x

* 2.x:
  fixed markup in docs
  fixed markup in docs
  fixed typo
  fixed CS
  fixed typo
This commit is contained in:
Fabien Potencier
2019-08-10 16:16:55 +02:00
21 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -21,7 +21,7 @@ with a given timezone:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -31,7 +31,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -31,7 +31,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -31,7 +31,7 @@ The ``data_uri`` filter generates a URL using the data scheme as defined in RFC
$ composer req twig/html-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Html\HtmlExtension;
+1 -1
View File
@@ -1,5 +1,5 @@
``filter``
=========
==========
The ``filter`` filter filters elements of a sequence or a mapping using an arrow
function. The arrow function receives the value of the sequence or mapping:
+1 -1
View File
@@ -59,7 +59,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -16,7 +16,7 @@ the ``format_datetime`` filter, but without the time.
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -51,7 +51,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -102,7 +102,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -16,7 +16,7 @@ the ``format_timetime`` filter, but without the date.
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -43,7 +43,7 @@ You can also use the filter on an included file:
$ composer req twig/markdown-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Markdown\MarkdownMarkdownExtension;
+1 -1
View File
@@ -31,7 +31,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -31,7 +31,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -42,7 +42,7 @@ You can also use the filter on an included file:
$ composer req twig/markdown-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Markdown\MarkdownMarkdownExtension;
+1 -1
View File
@@ -1,5 +1,5 @@
``reduce``
=========
==========
The ``reduce`` filter iteratively reduces a sequence or a mapping to a single
value using an arrow function, so as to reduce it to a single value. The arrow
+1 -1
View File
@@ -31,7 +31,7 @@ By default, the filter uses the current locale. You can pass it explicitly:
$ composer req twig/intl-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Intl\IntlExtension;
+1 -1
View File
@@ -24,7 +24,7 @@ names together:
$ composer req twig/html-extra
Then, add it on the Twig environment::
Then, add it on the Twig environment::
use Twig\Extra\Html\HtmlExtension;
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "twig/extra-bundle",
"type": "symfony-bundle",
"description": "A Symfony bundle for extra Twig extension",
"description": "A Symfony bundle for extra Twig extensions",
"keywords": ["twig", "extra", "bundle"],
"homepage": "https://twig.symfony.com",
"license": "MIT",
@@ -7,7 +7,7 @@
<services>
<defaults public="false" />
<service id="twig.extension.intl" class="Twig\Extra\Html\IntlExtension">
<service id="twig.extension.intl" class="Twig\Extra\Intl\IntlExtension">
<tag name="twig.extension" />
</service>
</services>
+1 -1
View File
@@ -1542,7 +1542,7 @@ function twig_get_attribute(Environment $env, Source $source, $object, $item, ar
*
* @param array|Traversable $array An array
* @param mixed $name The column name
* @param mixed $index The column to use as the index/keys for the returned array
* @param mixed $index The column to use as the index/keys for the returned array
*
* @return array The array of values
*/