Skip to content

Commit 54d87af

Browse files
committed
Merge branch '2.8' into 3.3
* 2.8: Add "Next" links to Best Practices
2 parents a0eb371 + adf7f8f commit 54d87af

File tree

10 files changed

+40
-0
lines changed

10 files changed

+40
-0
lines changed

best_practices/business-logic.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,10 @@ were defined by the PHP community. You can learn more about
359359
use the `PHP-CS-Fixer`_, which is a command-line utility that can fix the
360360
coding standards of an entire codebase in a matter of seconds.
361361

362+
----
363+
364+
Next: :doc:`/best_practices/controllers`
365+
362366
.. _`full definition`: https://en.wikipedia.org/wiki/Business_logic
363367
.. _`Doctrine project`: http://www.doctrine-project.org/
364368
.. _`fixture class`: https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html#writing-simple-fixtures

best_practices/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,9 @@ through environment variables:
215215
was added in Symfony 3.2. Prior to version 3.2, you needed to use the
216216
:doc:`special SYMFONY__ variables </configuration/external_parameters>`.
217217

218+
----
219+
220+
Next: :doc:`/best_practices/business-logic`
221+
218222
.. _`feature toggles`: https://en.wikipedia.org/wiki/Feature_toggle
219223
.. _`constant() function`: http://twig.sensiolabs.org/doc/functions/constant.html

best_practices/controllers.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,4 +227,8 @@ If you need to execute some code before or after the execution of your controlle
227227
you can use the EventDispatcher component to
228228
:doc:`set up before and after filters </event_dispatcher/before_after_filters>`.
229229

230+
----
231+
232+
Next: :doc:`/best_practices/templates`
233+
230234
.. _`ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html

best_practices/creating-the-project.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ structure of Symfony, you can
168168
:doc:`override the location of the main directories </configuration/override_dir_structure>`:
169169
``cache/``, ``logs/`` and ``web/``.
170170

171+
----
172+
173+
Next: :doc:`/best_practices/configuration`
174+
171175
.. _`Composer`: https://getcomposer.org/
172176
.. _`Phar extension`: http://php.net/manual/en/intro.phar.php
173177
.. _`public checksums repository`: https://github.com/sensiolabs/checksums

best_practices/forms.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,7 @@ handle everything.
207207
Second, is it required to call ``$form->isSubmitted()`` in the ``if`` statement
208208
before calling ``isValid()``. Calling ``isValid()`` with an unsubmitted form
209209
is deprecated since version 3.2 and will throw an exception in 4.0.
210+
211+
----
212+
213+
Next: :doc:`/best_practices/i18n`

best_practices/i18n.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,8 @@ English in the application would be:
9393
</file>
9494
</xliff>
9595
96+
----
97+
98+
Next: :doc:`/best_practices/security`
99+
96100
.. _`JMSTranslationBundle`: https://github.com/schmittjoh/JMSTranslationBundle

best_practices/introduction.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,9 @@ practices**. The reasons for not doing it are various:
9898
* The amount of work spent on this could be better dedicated to improving
9999
your tests or adding features that provide real value to the end users.
100100

101+
----
102+
103+
Next: :doc:`/best_practices/creating-the-project`
104+
101105
.. _`Fabien Potencier`: https://connect.sensiolabs.com/profile/fabpot
102106
.. _`download and install`: https://symfony.com/download

best_practices/security.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ If your company uses a user login method not supported by Symfony, you can
389389
develop :doc:`your own user provider </security/custom_provider>` and
390390
:doc:`your own authentication provider </security/custom_authentication_provider>`.
391391

392+
----
393+
394+
Next: :doc:`/best_practices/web-assets`
395+
392396
.. _`ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
393397
.. _`@Security annotation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
394398
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle

best_practices/templates.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,9 @@ If you're using the :ref:`default services.yml configuration <service-container-
150150
you're done! Symfony will automatically know about your new service and tag it to
151151
be used as a Twig extension.
152152

153+
----
154+
155+
Next: :doc:`/best_practices/forms`
156+
153157
.. _`Twig`: http://twig.sensiolabs.org/
154158
.. _`Parsedown`: http://parsedown.org/

best_practices/web-assets.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,8 @@ with Assetic to reduce their size before serving them to the user. Check out
9595
the `official Assetic documentation`_ to learn more about all the available
9696
features.
9797

98+
----
99+
100+
Next: :doc:`/best_practices/tests`
101+
98102
.. _`official Assetic documentation`: https://github.com/kriswallsmith/assetic

0 commit comments

Comments
 (0)