Skip to content

Commit

Permalink
Merge branch '5.4' into 6.0
Browse files Browse the repository at this point in the history
* 5.4:
  [Console] fix tests
  [Cache] Fix phpdoc
  [Console] Fix typo in completion command help text
  [Messenger] Retain correlation id from \AmqpEnvelope when retrying a message
  • Loading branch information
nicolas-grekas committed Feb 9, 2022
2 parents 71bb153 + 7e4d52d commit e69501c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Test/ProviderTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Symfony\Component\Translation\Test;

use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
use Symfony\Component\HttpClient\MockHttpClient;
Expand Down Expand Up @@ -55,17 +54,11 @@ protected function getClient(): MockHttpClient
return $this->client ??= new MockHttpClient();
}

/**
* @return LoaderInterface&MockObject
*/
protected function getLoader(): LoaderInterface
{
return $this->loader ??= $this->createMock(LoaderInterface::class);
}

/**
* @return LoaderInterface&MockObject
*/
protected function getLogger(): LoggerInterface
{
return $this->logger ??= $this->createMock(LoggerInterface::class);
Expand All @@ -76,9 +69,6 @@ protected function getDefaultLocale(): string
return $this->defaultLocale ??= 'en';
}

/**
* @return LoaderInterface&MockObject
*/
protected function getXliffFileDumper(): XliffFileDumper
{
return $this->xliffFileDumper ??= $this->createMock(XliffFileDumper::class);
Expand Down

0 comments on commit e69501c

Please sign in to comment.