Skip to content

Commit a064e17

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: (32 commits) Fixed wrong code examples for Isbn constraint unused use instructions Fix typo in SwitchUserListener file name Changed folder name to lowercase (best practises) [#6365] Removing extra : Add a note about enabling DebugBundle to use VarDumper inside Symfony Update introduction.rst Added minor clarification Changed folder name to lowercase (best practises) Fixed typo in path [#6360] Minor changes [#6349][#6351][#6352] Editing the Doctrine section to improve readability. Minor corrections Fixed typo Fix escaping of backtick inside double back-quotes Removed server:stop code block for 2.3 Removed the PR table example (this is now included by GitHub template) Updated link to Translatable Extension [reference] [constraints] added missing colon character for Image constraint documentation in YAML format. ... Conflicts: book/controller.rst
2 parents 8666655 + cedeaa5 commit a064e17

File tree

17 files changed

+393
-413
lines changed

17 files changed

+393
-413
lines changed

book/controller.rst

Lines changed: 241 additions & 221 deletions
Large diffs are not rendered by default.

book/doctrine.rst

Lines changed: 113 additions & 112 deletions
Large diffs are not rendered by default.

book/installation.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,7 @@ your `Apache`_ or `Nginx`_ web server as explained in
197197
:doc:`/cookbook/configuration/web_server_configuration`.
198198

199199
When you are finished working on your Symfony application, you can stop the
200-
server with the ``server:stop`` command:
201-
202-
.. code-block:: bash
203-
204-
$ php app/console server:stop
200+
server by pressing `Ctrl+C` from terminal.
205201

206202
Checking Symfony Application Configuration and Setup
207203
----------------------------------------------------

book/templating.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Template Naming and Locations
382382
By default, templates can live in two different locations:
383383

384384
``app/Resources/views/``
385-
The applications ``views`` directory can contain application-wide base templates
385+
The application's ``views`` directory can contain application-wide base templates
386386
(i.e. your application's layouts and templates of the application bundle) as
387387
well as templates that override third party bundle templates
388388
(see :ref:`overriding-bundle-templates`).
@@ -620,7 +620,7 @@ articles::
620620
}
621621
}
622622

623-
The ``recentList`` template is perfectly straightforward:
623+
The ``recent_list`` template is perfectly straightforward:
624624

625625
.. configuration-block::
626626

@@ -984,7 +984,7 @@ route:
984984
985985
In this case, you need to specify both the route name (``article_show``) and
986986
a value for the ``{slug}`` parameter. Using this route, revisit the
987-
``recentList`` template from the previous section and link to the articles
987+
``recent_list`` template from the previous section and link to the articles
988988
correctly:
989989

990990
.. configuration-block::
@@ -1070,7 +1070,7 @@ being used and generating the correct paths accordingly.
10701070

10711071
Additionally, if you use the ``asset`` function, Symfony can automatically
10721072
append a query string to your asset, in order to guarantee that updated static
1073-
assets won't be cached when deployed. For example, ``/images/logo.png`` might
1073+
assets won't be loaded from cache after being deployed. For example, ``/images/logo.png`` might
10741074
look like ``/images/logo.png?v2``. For more information, see the :ref:`reference-framework-assets-version`
10751075
configuration option.
10761076

book/translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,5 +927,5 @@ steps:
927927
.. _`i18n`: https://en.wikipedia.org/wiki/Internationalization_and_localization
928928
.. _`ISO 3166-1 alpha-2`: https://en.wikipedia.org/wiki/ISO_3166-1#Current_codes
929929
.. _`ISO 639-1`: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
930-
.. _`Translatable Extension`: https://github.com/l3pp4rd/DoctrineExtensions
930+
.. _`Translatable Extension`: http://atlantic18.github.io/DoctrineExtensions/doc/translatable.html
931931
.. _`Translatable Behavior`: https://github.com/KnpLabs/DoctrineBehaviors

components/http_foundation/introduction.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ if it should::
503503

504504
BinaryFileResponse::trustXSendfileTypeHeader();
505505

506-
You can still set the ``Content-Type`` of the sent file, or change its ``Content-Disposition``::
506+
With the ``BinaryFileResponse``, you can still set the ``Content-Type`` of the sent file,
507+
or change its ``Content-Disposition``::
507508

508509
$response->headers->set('Content-Type', 'text/plain');
509510
$response->setContentDisposition(

components/var_dumper/introduction.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ You can install the component in 2 different ways:
1717
* :doc:`Install it via Composer </components/using_components>` (``symfony/var-dumper`` on `Packagist`_);
1818
* Use the official Git repository (https://github.com/symfony/var-dumper).
1919

20+
.. note::
21+
22+
If using it inside a Symfony application, make sure that the
23+
DebugBundle is enabled in your ``app/AppKernel.php`` file.
24+
2025
.. _components-var-dumper-dump:
2126

2227
The dump() Function

components/yaml/yaml_format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ can use double quotes, for these characters it is more convenient to use single
5050
quotes, which avoids having to escape any backslash ``\``:
5151

5252
* ``:``, ``{``, ``}``, ``[``, ``]``, ``,``, ``&``, ``*``, ``#``, ``?``, ``|``,
53-
``-``, ``<``, ``>``, ``=``, ``!``, ``%``, ``@``, ``\```
53+
``-``, ``<``, ``>``, ``=``, ``!``, ``%``, ``@``, `````
5454

5555
The double-quoted style provides a way to express arbitrary strings, by
5656
using ``\`` to escape characters and sequences. For instance, it is very useful

contributing/code/bc.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,6 @@ Change return type No
236236
Add private method Yes
237237
Remove private method Yes
238238
Change name Yes
239-
Reduce visibility Yes
240239
Add argument without a default value Yes
241240
Add argument with a default value Yes
242241
Remove argument Yes

contributing/code/patches.rst

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -272,49 +272,10 @@ pull request message, like in:
272272
[Yaml] fixed something
273273
[Form] [Validator] [FrameworkBundle] added something
274274
275-
The pull request description must include the following checklist at the top
276-
to ensure that contributions may be reviewed without needless feedback
277-
loops and that your contributions can be included into Symfony as quickly as
278-
possible:
279-
280-
.. code-block:: text
281-
282-
| Q | A
283-
| ------------- | ---
284-
| Bug fix? | [yes|no]
285-
| New feature? | [yes|no]
286-
| BC breaks? | [yes|no]
287-
| Deprecations? | [yes|no]
288-
| Tests pass? | [yes|no]
289-
| Fixed tickets | [comma separated list of tickets fixed by the PR]
290-
| License | MIT
291-
| Doc PR | [The reference to the documentation PR if any]
292-
293-
An example submission could now look as follows:
294-
295-
.. code-block:: text
296-
297-
| Q | A
298-
| ------------- | ---
299-
| Bug fix? | no
300-
| New feature? | no
301-
| BC breaks? | no
302-
| Deprecations? | no
303-
| Tests pass? | yes
304-
| Fixed tickets | #12, #43
305-
| License | MIT
306-
| Doc PR | symfony/symfony-docs#123
307-
308-
The whole table must be included (do **not** remove lines that you think are
309-
not relevant). For simple typos, minor changes in the PHPDocs, or changes in
310-
translation files, use the shorter version of the check-list:
311-
312-
.. code-block:: text
313-
314-
| Q | A
315-
| ------------- | ---
316-
| Fixed tickets | [comma separated list of tickets fixed by the PR]
317-
| License | MIT
275+
The default pull request description contains a table which you must fill in
276+
with the appropriate answers. This ensures that contributions may be reviewed
277+
without needless feedback loops and that your contributions can be included into
278+
Symfony as quickly as possible.
318279

319280
Some answers to the questions trigger some more requirements:
320281

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