10000 minor #12638 [Hackday][2.3] Fixed typos (pborreli) · symfony/symfony@2c4d0ca · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c4d0ca

Browse files
committed
minor #12638 [Hackday][2.3] Fixed typos (pborreli)
This PR was merged into the 2.3 branch. Discussion ---------- [Hackday][2.3] Fixed typos Commits ------- 7a67e8c Fixed typos
2 parents facdd90 + 7a67e8c commit 2c4d0ca

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class WithComments
227227
{
228228
public static \$loaded = true;
229229
}
230-
\$string ='string shoult not be modified {\$string}';
230+
\$string ='string should not be modified {\$string}';
231231
\$heredoc = (<<<HD
232232
233233

src/Symfony/Component/ClassLoader/Tests/Fixtures/Namespaced/WithComments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class WithComments
1717
public static $loaded = true;
1818
}
1919

20-
$string = 'string shoult not be modified {$string}';
20+
$string = 'string should not be modified {$string}';
2121

2222
$heredoc = (<<<HD
2323

src/Symfony/Component/Config/Tests/Definition/Builder/ExprBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ protected function getTestBuilder()
163163
->children()
164164
->variableNode('key')
165165
->validate()
166-
;
166+
;
167167
}
168168

169169
/**

src/Symfony/Component/Console/Tests/ApplicationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,10 @@ public function testRenderExceptionWithDoubleWidthCharacters()
482482
$tester = new ApplicationTester($application);
483483

484484
$tester->run(array('command' => 'foo'), array('decorated' => false));
485-
$this->assertStringEqualsFile(self::$fixturesPath.'/application_renderexception_doublewidth1.txt', $tester->getDisplay(true), '->renderException() renderes a pretty exceptions with previous exceptions');
485+
$this->assertStringEqualsFile(self::$fixturesPath.'/application_renderexception_doublewidth1.txt', $tester->getDisplay(true), '->renderException() renders a pretty exceptions with previous exceptions');
486486

487487
$tester->run(array('command' => 'foo'), array('decorated' => true));
488-
$this->assertStringEqualsFile(self::$fixturesPath.'/application_renderexception_doublewidth1decorated.txt', $tester->getDisplay(true), '->renderException() renderes a pretty exceptions with previous exceptions');
488+
$this->assertStringEqualsFile(self::$fixturesPath.'/application_renderexception_doublewidth1decorated.txt', $tester->getDisplay(true), '->renderException() renders a pretty exceptions with previous exceptions');
489489

490490
$application = $this->getMock('Symfony\Component\Console\Application', array('getTerminalWidth'));
491491
$application->setAutoExit(false);

src/Symfony/Component/Console/Tests/Command/CommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function testMergeApplicationDefinitionWithoutArgsThenWithArgsAddsArgs()
211211
$m = $r->getMethod('mergeApplicationDefinition');
212212
$m->setAccessible(true);
213213
$m->invoke($command, false);
214-
$this->assertTrue($command->getDefinition()->hasOption('bar'), '->mergeApplicationDefinition(false) merges the application and the commmand options');
214+
$this->assertTrue($command->getDefinition()->hasOption('bar'), '->mergeApplicationDefinition(false) merges the application and the command options');
215215
$this->assertFalse($command->getDefinition()->hasArgument('foo'), '->mergeApplicationDefinition(false) does not merge the application arguments');
216216

217217
$m->invoke($command, true);
@@ -243,7 +243,7 @@ public function testRunNonInteractive()
243243
* @expectedException \LogicException
244244
* @expectedExceptionMessage You must override the execute() method in the concrete command class.
245245
*/
246-
public function testExecuteMethodNeedsToBeOverriden()
246+
public function testExecuteMethodNeedsToBeOverridden()
247247
{
248248
$command = new Command('foo');
249249
$command->run(new StringInput(''), new NullOutput());

src/Symfony/Component/Console/Tests/Helper/HelperSetTest.php

Lines changed: 1 addition & 1 deletion
Or 57AE iginal file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function testGetCommand()
111111
$this->assertEquals($cmd, $helperset->getCommand(), '->getCommand() retrieves stored command');
112112
}
113113

114-
/**
114+
/**
115115
* Create a generic mock for the helper interface. Optionally check for a call to setHelperSet with a specific
116116
* helperset instance.
117117
*

0 commit comments

Comments
 (0)
0