Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  Update reproducer.rst: Minor rewording
  [DomCrawler] fixes typo `Form::getFields()` -> `Form::getFiles()`
  Fix redis adapter config to work with tags
  • Loading branch information
xabbuh committed Aug 6, 2024
2 parents 8a3b638 + 5a99476 commit 8ab4383
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,7 @@ to enable this feature. This could be added by using the following configuration
cache:
pools:
my_cache_pool:
adapter: cache.adapter.redis
tags: true
adapter: cache.adapter.redis_tag_aware
.. code-block:: xml
Expand Down
4 changes: 2 additions & 2 deletions contributing/code/reproducer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Creating a Bug Reproducer
=========================

The main Symfony code repository receives thousands of issues reports per year.
Some of those issues are easy to understand and the Symfony Core developers can
fix them without any other information. However, other issues are much harder to
Some of those issues are easy to understand and can
be fixed without any other information. However, other issues are much harder to
understand because developers can't reproduce them in their computers. That's
when we'll ask you to create a "bug reproducer", which is the minimum amount of
code needed to make the bug appear when executed.
Expand Down
2 changes: 1 addition & 1 deletion testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ The second optional argument is used to override the default form field values.

If you need access to the :class:`Symfony\\Component\\DomCrawler\\Form` object
that provides helpful methods specific to forms (such as ``getUri()``,
``getValues()`` and ``getFields()``) use the ``Crawler::selectButton()`` method instead::
``getValues()`` and ``getFiles()``) use the ``Crawler::selectButton()`` method instead::

$client = static::createClient();
$crawler = $client->request('GET', '/post/hello-world');
Expand Down

0 comments on commit 8ab4383

Please sign in to comment.