Skip to content

Commit df80641

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [Workflow] Some minor text optimizations Moving the new `env()` syntax upwards, to be shown as the preferred way Fix typo in FQCN of deprecated security class
2 parents db0557c + 67c46f8 commit df80641

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,9 @@ This example shows how you could configure the database connection using an env
619619
$container->extension('doctrine', [
620620
'dbal' => [
621621
// by convention the env var names are always uppercase
622-
'url' => '%env(resolve:DATABASE_URL)%',
623-
// or
624622
'url' => env('DATABASE_URL')->resolve(),
623+
// or
624+
'url' => '%env(resolve:DATABASE_URL)%',
625625
],
626626
]);
627627
};

security.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,7 @@ Login Programmatically
16241624

16251625
The :class:`Symfony\Bundle\SecurityBundle\Security <Symfony\\Bundle\\SecurityBundle\\Security>`
16261626
class was introduced in Symfony 6.2. Prior to 6.2, it was called
1627-
``Symfony\Bundle\SecurityBundle\Security``.
1627+
``Symfony\Component\Security\Core\Security``.
16281628

16291629
.. versionadded:: 6.2
16301630

@@ -1794,7 +1794,7 @@ Logout programmatically
17941794

17951795
The :class:`Symfony\Bundle\SecurityBundle\Security <Symfony\\Bundle\\SecurityBundle\\Security>`
17961796
class was introduced in Symfony 6.2. Prior to 6.2, it was called
1797-
``Symfony\Bundle\SecurityBundle\Security``.
1797+
``Symfony\Component\Security\Core\Security``.
17981798

17991799
.. versionadded:: 6.2
18001800

workflow.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Workflow
22
========
33

4-
Using the Workflow component inside a Symfony application requires to know first
4+
Using the Workflow component inside a Symfony application requires knowing first
55
some basic theory and concepts about workflows and state machines.
66
:doc:`Read this article </workflow/workflow-and-state-machine>` for a quick overview.
77

@@ -29,8 +29,8 @@ Creating a Workflow
2929
-------------------
3030

3131
A workflow is a process or a lifecycle that your objects go through. Each
32-
step or stage in the process is called a *place*. You do also define *transitions*
33-
to that describes the action to get from one place to another.
32+
step or stage in the process is called a *place*. You also define *transitions*,
33+
which describe the action needed to get from one place to another.
3434

3535
.. image:: /_images/components/workflow/states_transitions.png
3636

@@ -39,8 +39,8 @@ a ``Definition`` and a way to write the states to the objects (i.e. an
3939
instance of a :class:`Symfony\\Component\\Workflow\\MarkingStore\\MarkingStoreInterface`.)
4040

4141
Consider the following example for a blog post. A post can have these places:
42-
``draft``, ``reviewed``, ``rejected``, ``published``. You can define the workflow
43-
like this:
42+
``draft``, ``reviewed``, ``rejected``, ``published``. You could define the workflow as
43+
follows:
4444

4545
.. configuration-block::
4646

0 commit comments

Comments
 (0)