Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 3.0: [PropertyAccess] ->getValue() should be read-only [VarDumper] Fix dumping type hints for non-existing parent classes [Config] Fix XmlUtilsTest namespace [Console] [TableHelper] make it work with SymfonyStyle. Remove dead code [FrameworkBundle] Better output for user in ContainerDebugCommand [Routing] add query param if value is different from default
- Loading branch information
Showing
13 changed files
with
103 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/command/command_8.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
use Symfony\Component\Console\Input\InputInterface; | ||
use Symfony\Component\Console\Output\OutputInterface; | ||
use Symfony\Component\Console\Tests\Style\SymfonyStyleWithForcedLineLength; | ||
use Symfony\Component\Console\Helper\TableCell; | ||
|
||
//Ensure formatting tables when using multiple headers with TableCell | ||
return function (InputInterface $input, OutputInterface $output) { | ||
$headers = array( | ||
array(new TableCell('Main table title', array('colspan' => 3))), | ||
array('ISBN', 'Title', 'Author'), | ||
); | ||
|
||
$rows = array( | ||
array( | ||
'978-0521567817', | ||
'De Monarchia', | ||
new TableCell("Dante Alighieri\nspans multiple rows", array('rowspan' => 2)), | ||
), | ||
array('978-0804169127', 'Divine Comedy'), | ||
); | ||
|
||
$output = new SymfonyStyleWithForcedLineLength($input, $output); | ||
$output->table($headers, $rows); | ||
}; |
9 changes: 9 additions & 0 deletions
9
src/Symfony/Component/Console/Tests/Fixtures/Style/SymfonyStyle/output/output_8.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
---------------- --------------- --------------------- | ||
Main table title | ||
---------------- --------------- --------------------- | ||
ISBN Title Author | ||
---------------- --------------- --------------------- | ||
978-0521567817 De Monarchia Dante Alighieri | ||
978-0804169127 Divine Comedy spans multiple rows | ||
---------------- --------------- --------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/Symfony/Component/VarDumper/Tests/Fixtures/NotLoadableClass.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace Symfony\Component\VarDumper\Tests\Fixtures; | ||
|
||
class NotLoadableClass extends NotLoadableClass | ||
{ | ||
} |