From 4d400bd837113e0407d46ce0e37487ffd26f964c Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sun, 25 Jan 2015 09:53:25 +0200 Subject: [PATCH 1/2] Fix typos | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- components/config/definition.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/config/definition.rst b/components/config/definition.rst index dc0e303bb7f..b4b0dcd5c19 100644 --- a/components/config/definition.rst +++ b/components/config/definition.rst @@ -506,7 +506,7 @@ By changing a string value into an associative array with ``name`` as the key:: ->arrayNode('connection') ->beforeNormalization() ->ifString() - ->then(function($v) { return array('name'=> $v); }) + ->then(function ($v) { return array('name' => $v); }) ->end() ->children() ->scalarNode('name')->isRequired() From 7065dd1d961c3f4baf214b4b359b8470fd33973f Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sun, 25 Jan 2015 10:21:55 +0200 Subject: [PATCH 2/2] Remove horizontal scrollbar | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- components/console/introduction.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/console/introduction.rst b/components/console/introduction.rst index 2b80d439c5a..a57068990fa 100644 --- a/components/console/introduction.rst +++ b/components/console/introduction.rst @@ -431,9 +431,11 @@ method:: $command = $application->find('demo:greet'); $commandTester = new CommandTester($command); - $commandTester->execute( - array('command' => $command->getName(), 'name' => 'Fabien', '--iterations' => 5) - ); + $commandTester->execute(array( + 'command' => $command->getName(), + 'name' => 'Fabien', + '--iterations' => 5, + )); $this->assertRegExp('/Fabien/', $commandTester->getDisplay()); }