Skip to content

Commit 11754db

Browse files
Fix typos
1 parent d3a0df0 commit 11754db

File tree

29 files changed

+41
-41
lines changed

29 files changed

+41
-41
lines changed

src/Symfony/Bridge/Doctrine/Tests/ManagerRegistryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static function provideResetServiceWithNativeLazyObjectsCases(): iterable
107107
}
108108

109109
/**
110-
* When performing an entity manager lazy service reset, the reset operations may re-use the container
110+
* When performing an entity manager lazy service reset, the reset operations may reuse the container
111111
* to create a "fresh" service: when doing so, it can happen that the "fresh" service is itself a proxy.
112112
*
113113
* Because of that, the proxy will be populated with a wrapped value that is itself a proxy: repeating

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/ContainerDebugCommandTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ public function testGetDeprecation()
214214
file_put_contents($path, serialize([[
215215
'type' => 16384,
216216
'message' => 'The "Symfony\Bundle\FrameworkBundle\Controller\Controller" class is deprecated since Symfony 4.2, use Symfony\Bundle\FrameworkBundle\Controller\AbstractController instead.',
217-
'file' => '/home/hamza/projet/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php',
217+
'file' => '/home/hamza/project/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php',
218218
'line' => 17,
219219
'trace' => [[
220-
'file' => '/home/hamza/projet/contrib/sf/src/Controller/DefaultController.php',
220+
'file' => '/home/hamza/project/contrib/sf/src/Controller/DefaultController.php',
221221
'line' => 9,
222222
'function' => 'spl_autoload_call',
223223
]],
@@ -233,7 +233,7 @@ public function testGetDeprecation()
233233

234234
$tester->assertCommandIsSuccessful();
235235
$this->assertStringContainsString('Symfony\Bundle\FrameworkBundle\Controller\Controller', $tester->getDisplay());
236-
$this->assertStringContainsString('/home/hamza/projet/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php', $tester->getDisplay());
236+
$this->assertStringContainsString('/home/hamza/project/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php', $tester->getDisplay());
237237
}
238238

239239
public function testGetDeprecationNone()

src/Symfony/Component/AssetMapper/Compiler/CssAssetUrlCompiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function compile(string $content, MappedAsset $asset, AssetMapperInterfac
5151
return preg_replace_callback(self::ASSET_URL_PATTERN, function ($matches) use ($asset, $assetMapper, $commentBlocks) {
5252
$matchPos = $matches[0][1];
5353

54-
// Ignore matchs inside comments
54+
// Ignore matches inside comments
5555
foreach ($commentBlocks as $block) {
5656
if ($matchPos > $block[0]) {
5757
if ($matchPos < $block[1]) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ public function testSetCatchErrors(bool $catchExceptions)
889889

890890
try {
891891
$tester->run(['command' => 'boom']);
892-
$this->fail('The exception is not catched.');
892+
$this->fail('The exception is not caught.');
893893
} catch (\Throwable $e) {
894894
$this->assertInstanceOf(\Error::class, $e);
895895
$this->assertSame('This is an error.', $e->getMessage());

src/Symfony/Component/ErrorHandler/Tests/Exception/FlattenExceptionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public function testToString()
286286
public function testToStringParent()
287287
{
288288
$exception = new \LogicException('This is message 1');
289-
$exception = new \RuntimeException('This is messsage 2', 500, $exception);
289+
$exception = new \RuntimeException('This is message 2', 500, $exception);
290290

291291
$flattened = FlattenException::createFromThrowable($exception);
292292

src/Symfony/Component/ExpressionLanguage/Tests/ParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function testLint($expression, $names, int $checks = 0, ?string $exceptio
326326
$parser = new Parser([]);
327327
$parser->lint($lexer->tokenize($expression), $names, $checks);
328328

329-
// Parser does't return anything when the correct expression is passed
329+
// Parser doesn't return anything when the correct expression is passed
330330
$this->expectNotToPerformAssertions();
331331
}
332332

src/Symfony/Component/Filesystem/Tests/FilesystemTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function getFileOwner($filepath)
103103
{
104104
$this->markAsSkippedIfPosixIsMissing();
105105

106-
return ($datas = posix_getpwuid($this->getFileOwnerId($filepath))) ? $datas['name'] : null;
106+
return ($data = posix_getpwuid($this->getFileOwnerId($filepath))) ? $data['name'] : null;
107107
}
108108

109109
protected function getFileGroupId($filepath)
@@ -119,8 +119,8 @@ protected function getFileGroup($filepath)
119119
{
120120
$this->markAsSkippedIfPosixIsMissing();
121121

122-
if ($datas = posix_getgrgid($this->getFileGroupId($filepath))) {
123-
return $datas['name'];
122+
if ($data = posix_getgrgid($this->getFileGroupId($filepath))) {
123+
return $data['name'];
124124
}
125125

126126
$this->markTestSkipped('Unable to retrieve file group name');

src/Symfony/Component/HttpKernel/Tests/DataCollector/LoggerDataCollectorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public function testCollectFromDeprecationsLog()
5454
file_put_contents($path, serialize([[
5555
'type' => 16384,
5656
'message' => 'The "Symfony\Bundle\FrameworkBundle\Controller\Controller" class is deprecated since Symfony 4.2, use Symfony\Bundle\FrameworkBundle\Controller\AbstractController instead.',
57-
'file' => '/home/hamza/projet/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php',
57+
'file' => '/home/hamza/project/contrib/sf/vendor/symfony/framework-bundle/Controller/Controller.php',
5858
'line' => 17,
5959
'trace' => [[
60-
'file' => '/home/hamza/projet/contrib/sf/src/Controller/DefaultController.php',
60+
'file' => '/home/hamza/project/contrib/sf/src/Controller/DefaultController.php',
6161
'line' => 9,
6262
'function' => 'spl_autoload_call',
6363
]],

src/Symfony/Component/Ldap/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ CHANGELOG
9090
3.3.0
9191
-----
9292

93-
* The `RenameEntryInterface` inferface is deprecated, and will be merged with `EntryManagerInterface` in 4.0.
93+
* The `RenameEntryInterface` interface is deprecated, and will be merged with `EntryManagerInterface` in 4.0.
9494

9595
3.1.0
9696
-----

src/Symfony/Component/Lock/Store/MongoDbStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function __construct(
144144
/**
145145
* Extract default database and collection from given connection URI and remove collection querystring.
146146
*
147-
* Non-standard parameters are removed from the URI to improve libmongoc's re-use of connections.
147+
* Non-standard parameters are removed from the URI to improve libmongoc's reuse of connections.
148148
*
149149
* @see https://php.net/mongodb.connection-handling
150150
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy