[Console] Table vertical rendering

by @yoannrenard

Some issues have been detected in this pull request

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/41676/69b28e84a79c827796adc72cb34d6f5ebff439f8/cs.diff | patch -p0
diff -ru src/Symfony/Component/Console/Tests/Helper/TableTest.php src/Symfony/Component/Console/Tests/Helper/TableTest.php
--- src/Symfony/Component/Console/Tests/Helper/TableTest.php	2021-07-20 17:06:06.517015692 +0000
+++ src/Symfony/Component/Console/Tests/Helper/TableTest.php	2021-07-20 17:06:09.351934535 +0000
@@ -119,11 +119,11 @@
                 $books,
                 'compact',
 <<<'TABLE'
- ISBN          Title                    Author           
- 99921-58-10-7 Divine Comedy            Dante Alighieri  
- 9971-5-0210-0 A Tale of Two Cities     Charles Dickens  
- 960-425-059-0 The Lord of the Rings    J. R. R. Tolkien 
- 80-902734-1-6 And Then There Were None Agatha Christie  
+ ISBN          Title                    Author
+ 99921-58-10-7 Divine Comedy            Dante Alighieri
+ 9971-5-0210-0 A Tale of Two Cities     Charles Dickens
+ 960-425-059-0 The Lord of the Rings    J. R. R. Tolkien
+ 80-902734-1-6 And Then There Were None Agatha Christie
 
 TABLE
             ],
@@ -132,14 +132,14 @@
                 $books,
                 'borderless',
 <<<'TABLE'
- =============== ========================== ================== 
-  ISBN            Title                      Author            
- =============== ========================== ================== 
-  99921-58-10-7   Divine Comedy              Dante Alighieri   
-  9971-5-0210-0   A Tale of Two Cities       Charles Dickens   
-  960-425-059-0   The Lord of the Rings      J. R. R. Tolkien  
-  80-902734-1-6   And Then There Were None   Agatha Christie   
- =============== ========================== ================== 
+ =============== ========================== ==================
+  ISBN            Title                      Author
+ =============== ========================== ==================
+  99921-58-10-7   Divine Comedy              Dante Alighieri
+  9971-5-0210-0   A Tale of Two Cities       Charles Dickens
+  960-425-059-0   The Lord of the Rings      J. R. R. Tolkien
+  80-902734-1-6   And Then There Were None   Agatha Christie
+ =============== ========================== ==================
 
 TABLE
             ],
@@ -1745,17 +1745,17 @@
 
         yield 'Borderless style' => [
             <<<EOTXT
- ============================== 
-    ISBN: 99921-58-10-7         
-   Title: Divine Comedy         
-  Author: Dante Alighieri       
-   Price: 9.95                  
- ============================== 
-    ISBN: 9971-5-0210-0         
-   Title: A Tale of Two Cities  
-  Author: Charles Dickens       
-   Price: 139.25                
- ============================== 
+ ==============================
+    ISBN: 99921-58-10-7
+   Title: Divine Comedy
+  Author: Dante Alighieri
+   Price: 9.95
+ ==============================
+    ISBN: 9971-5-0210-0
+   Title: A Tale of Two Cities
+  Author: Charles Dickens
+   Price: 139.25
+ ==============================
 
 EOTXT
             ,
@@ -1766,15 +1766,15 @@
 
         yield 'Compact style' => [
             <<<EOTXT
-   ISBN: 99921-58-10-7        
-  Title: Divine Comedy        
- Author: Dante Alighieri      
-  Price: 9.95                 
-  
-   ISBN: 9971-5-0210-0        
-  Title: A Tale of Two Cities 
- Author: Charles Dickens      
-  Price: 139.25               
+   ISBN: 99921-58-10-7
+  Title: Divine Comedy
+ Author: Dante Alighieri
+  Price: 9.95
+
+   ISBN: 9971-5-0210-0
+  Title: A Tale of Two Cities
+ Author: Charles Dickens
+  Price: 139.25
 
 EOTXT
             ,
@@ -1785,17 +1785,17 @@
 
         yield 'symfony-style-guide style' => [
             <<<EOTXT
- ------------------------------ 
-    ISBN: 99921-58-10-7         
-   Title: Divine Comedy         
-  Author: Dante Alighieri       
-   Price: 9.95                  
- ------------------------------ 
-    ISBN: 9971-5-0210-0         
-   Title: A Tale of Two Cities  
-  Author: Charles Dickens       
-   Price: 139.25                
- ------------------------------ 
+ ------------------------------
+    ISBN: 99921-58-10-7
+   Title: Divine Comedy
+  Author: Dante Alighieri
+   Price: 9.95
+ ------------------------------
+    ISBN: 9971-5-0210-0
+   Title: A Tale of Two Cities
+  Author: Charles Dickens
+   Price: 139.25
+ ------------------------------
 
 EOTXT
             ,

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible