Skip to content

Commit bd21549

Browse files
committed
Merge branch '4.1' into 4.2
* 4.1: Fixed the TOC of the main Forms article Framework configuration > Cache pools > Fix FQCN Duplicate composer require in Your First Functional Test chapter [#10401] fix markup Rename UserFixture to UserFixtures Reworded the caution message
2 parents 54aa0da + 4e24dbc commit bd21549

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

forms.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -711,11 +711,10 @@ Learn more
711711
:maxdepth: 1
712712
:glob:
713713

714-
form/*
715-
716-
* :doc:`/controller/upload_file`
717-
* :doc:`/reference/forms/types`
718-
* :doc:`/http_cache/form_csrf_caching`
714+
/form/*
715+
/controller/upload_file
716+
/reference/forms/types
717+
/http_cache/form_csrf_caching
719718

720719
.. _`Symfony Form component`: https://github.com/symfony/form
721720
.. _`DateTime`: https://php.net/manual/en/class.datetime.php

reference/configuration/framework.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,7 @@ settings from the base pool as defaults.
20902090

20912091
.. note::
20922092

2093-
Your service MUST implement the ``Psr\\Cache\\CacheItemPoolInterface`` interface.
2093+
Your service MUST implement the ``Psr\Cache\CacheItemPoolInterface`` interface.
20942094

20952095
public
20962096
""""""

security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,18 +177,18 @@ create dummy database users:
177177
$ php bin/console make:fixtures
178178
179179
The class name of the fixtures to create (e.g. AppFixtures):
180-
> UserFixture
180+
> UserFixtures
181181
182182
Use this service to encode the passwords:
183183

184184
.. code-block:: diff
185185
186-
// src/DataFixtures/UserFixture.php
186+
// src/DataFixtures/UserFixtures.php
187187
188188
+ use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
189189
// ...
190190
191-
class UserFixture extends Fixture
191+
class UserFixtures extends Fixture
192192
{
193193
+ private $passwordEncoder;
194194

testing.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,6 @@ utilities used in the functional tests:
143143
144144
Your First Functional Test
145145
~~~~~~~~~~~~~~~~~~~~~~~~~~
146-
147-
First, install the BrowserKit component in your project:
148-
149-
.. code-block:: terminal
150-
151-
$ composer require --dev symfony/browser-kit
152-
153146
Functional tests are PHP files that typically live in the ``tests/Controller``
154147
directory for your bundle. If you want to test the pages handled by your
155148
``PostController`` class, start by creating a new ``PostControllerTest.php``

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy