From 0bc3f4cd58648d6454452f242374573722003d6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Fri, 17 Feb 2023 09:08:47 +0100 Subject: [PATCH] Add blank line after code block start Not having it makes the whole block invalid. --- docs/en/how-to/fixture-ordering.rst | 1 + docs/en/how-to/loading-fixtures.rst | 8 ++++++++ docs/en/how-to/sharing-objects-between-fixtures.rst | 2 ++ 3 files changed, 11 insertions(+) diff --git a/docs/en/how-to/fixture-ordering.rst b/docs/en/how-to/fixture-ordering.rst index 76454d4e..6430bcba 100644 --- a/docs/en/how-to/fixture-ordering.rst +++ b/docs/en/how-to/fixture-ordering.rst @@ -20,6 +20,7 @@ Option 1: Controlling the order manually ---------------------------------------- .. code-block:: php + loadFromFile('/path/to/MyDataFixtures/MyFixture1.php'); @@ -69,12 +72,14 @@ want to load a whole directory of fixtures instead of making one call per fixture. .. code-block:: php + loadFromDirectory('/path/to/MyDataFixtures'); You can get the added fixtures using the ``getFixtures()`` method: .. code-block:: php + getFixtures(); @@ -87,6 +92,7 @@ store you are using. For example, if you are using ORM, you should do the following: .. code-block:: php + execute($loader->getFixtures(), append: true); @@ -114,5 +121,6 @@ want to wrap the purge and the load of every fixture in its own transaction. To do so, you can use ``MultipleTransactionORMExecutor``. .. code-block:: php + ` is satisfied if you extend ``AbstractFixture``. .. code-block:: php +