Skip to content

Commit

Permalink
Merge branch '4.4' into 5.4
Browse files Browse the repository at this point in the history
* 4.4:
  [Cache] Fix phpdoc
  [Messenger] Retain correlation id from \AmqpEnvelope when retrying a message
  • Loading branch information
nicolas-grekas committed Feb 9, 2022
2 parents a9dd740 + 4ce00d6 commit 7e4d52d
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 ?? $this->client = new MockHttpClient();
}

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

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

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

0 comments on commit 7e4d52d

Please sign in to comment.