Skip to content

Commit 26493f3

Browse files
committed
Merge branch '2.8' into 3.4
* 2.8: Image to console Show console table examples in a console terminal Showed the output of the command in the same CLI window Replace entry/section by "article"
2 parents d264d83 + e88ffea commit 26493f3

27 files changed

+121
-64
lines changed

_images/components/console/table.png

-65.9 KB
Binary file not shown.
-46.6 KB
Binary file not shown.

_images/translation/debug_1.png

-22.2 KB
Binary file not shown.

_images/translation/debug_2.png

-22 KB
Binary file not shown.

_images/translation/debug_3.png

-21.9 KB
Binary file not shown.

_images/translation/debug_4.png

-21.7 KB
Binary file not shown.

components/console/helpers/table.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Table
66

77
When building a console application it may be useful to display tabular data:
88

9-
.. code-block:: text
9+
.. code-block:: terminal
1010
1111
+---------------+--------------------------+------------------+
1212
| ISBN | Title | Author |
@@ -54,7 +54,7 @@ You can add a table separator anywhere in the output by passing an instance of
5454
array('80-902734-1-6', 'And Then There Were None', 'Agatha Christie'),
5555
));
5656

57-
.. code-block:: text
57+
.. code-block:: terminal
5858
5959
+---------------+--------------------------+------------------+
6060
| ISBN | Title | Author |
@@ -78,7 +78,7 @@ In this example, the first column width will be ``10``, the last column width
7878
will be ``30`` and the second column width will be calculated automatically
7979
because of the ``0`` value. The output of this command will be:
8080

81-
.. code-block:: text
81+
.. code-block:: terminal
8282
8383
+---------------+--------------------------+--------------------------------+
8484
| ISBN | Title | Author |
@@ -117,7 +117,7 @@ The table style can be changed to any built-in styles via
117117

118118
This code results in:
119119

120-
.. code-block:: text
120+
.. code-block:: terminal
121121
122122
ISBN Title Author
123123
99921-58-10-7 Divine Comedy Dante Alighieri
@@ -132,7 +132,7 @@ You can also set the style to ``borderless``::
132132

133133
which outputs:
134134

135-
.. code-block:: text
135+
.. code-block:: terminal
136136
137137
=============== ========================== ==================
138138
ISBN Title Author
@@ -205,7 +205,7 @@ To make a table cell that spans multiple columns you can use a :class:`Symfony\\
205205

206206
This results in:
207207

208-
.. code-block:: text
208+
.. code-block:: terminal
209209
210210
+---------------+---------------+-----------------+
211211
| ISBN | Title | Author |
@@ -228,7 +228,7 @@ This results in:
228228

229229
This generates:
230230

231-
.. code-block:: text
231+
.. code-block:: terminal
232232
233233
+-------+-------+--------+
234234
| Main table title |
@@ -259,7 +259,7 @@ In a similar way you can span multiple rows::
259259

260260
This outputs:
261261

262-
.. code-block:: text
262+
.. code-block:: terminal
263263
264264
+----------------+---------------+---------------------+
265265
| ISBN | Title | Author |

components/http_foundation/session_configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Configuring Sessions and Save Handlers
66
======================================
77

8-
This section deals with how to configure session management and fine tune it
8+
This article deals with how to configure session management and fine tune it
99
to your specific needs. This documentation covers save handlers, which
1010
store and retrieve session data, and configuring session behavior.
1111

components/phpunit_bridge.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,23 @@ to provide more features:
7979
8080
After running your PHPUnit tests, you will get a report similar to this one:
8181

82-
.. image:: /_images/components/phpunit_bridge/report.png
82+
.. code-block:: terminal
83+
84+
$ phpunit -c app
85+
PHPUnit by Sebastian Bergmann.
86+
87+
Configuration read from <your-project>/app/phpunit.xml.dist
88+
.................
89+
90+
Time: 1.77 seconds, Memory: 5.75Mb
91+
92+
OK (17 tests, 21 assertions)
93+
94+
Remaining deprecation notices (2)
95+
96+
getEntityManager is deprecated since Symfony 2.1. Use getManager instead: 2x
97+
1x in DefaultControllerTest::testPublicUrls from AppBundle\Tests\Controller
98+
1x in BlogControllerTest::testIndex from AppBundle\Tests\Controller
8399
84100
The summary includes:
85101

components/security/firewall.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ certain action or resource of the application::
3636

3737
.. note::
3838

39-
Read the dedicated sections to learn more about :doc:`/components/security/authentication`
39+
Read the dedicated articles to learn more about :doc:`/components/security/authentication`
4040
and :doc:`/components/security/authorization`.
4141

4242
.. _firewall:
@@ -163,5 +163,5 @@ context works:
163163
#. Once a user is authenticated, you'll use :doc:`/components/security/authorization`
164164
to deny access to certain resources.
165165

166-
Read the next sections to find out more about :doc:`/components/security/authentication`
166+
Read the next articles to find out more about :doc:`/components/security/authentication`
167167
and :doc:`/components/security/authorization`.

0 commit comments

Comments
 (0)