From 251de0d921c42ef0a81494d8f37405421deefdf6 Mon Sep 17 00:00:00 2001 From: Mathieu Santostefano Date: Sun, 30 May 2021 00:28:28 +0200 Subject: [PATCH] Remove PoEditor Provider --- Exception/UnsupportedSchemeException.php | 4 ---- Tests/Exception/UnsupportedSchemeExceptionTest.php | 3 --- 2 files changed, 7 deletions(-) diff --git a/Exception/UnsupportedSchemeException.php b/Exception/UnsupportedSchemeException.php index b59ba81c..7fbaa8f0 100644 --- a/Exception/UnsupportedSchemeException.php +++ b/Exception/UnsupportedSchemeException.php @@ -29,10 +29,6 @@ class UnsupportedSchemeException extends LogicException 'class' => Bridge\Lokalise\LokaliseProviderFactory::class, 'package' => 'symfony/lokalise-translation-provider', ], - 'poeditor' => [ - 'class' => Bridge\PoEditor\PoEditorProviderFactory::class, - 'package' => 'symfony/po-editor-translation-provider', - ], ]; public function __construct(Dsn $dsn, string $name = null, array $supported = []) diff --git a/Tests/Exception/UnsupportedSchemeExceptionTest.php b/Tests/Exception/UnsupportedSchemeExceptionTest.php index 99c1c89b..5fa018d8 100644 --- a/Tests/Exception/UnsupportedSchemeExceptionTest.php +++ b/Tests/Exception/UnsupportedSchemeExceptionTest.php @@ -16,7 +16,6 @@ use Symfony\Component\Translation\Bridge\Crowdin\CrowdinProviderFactory; use Symfony\Component\Translation\Bridge\Loco\LocoProviderFactory; use Symfony\Component\Translation\Bridge\Lokalise\LokaliseProviderFactory; -use Symfony\Component\Translation\Bridge\PoEditor\PoEditorProviderFactory; use Symfony\Component\Translation\Exception\UnsupportedSchemeException; use Symfony\Component\Translation\Provider\Dsn; @@ -32,7 +31,6 @@ public static function setUpBeforeClass(): void CrowdinProviderFactory::class => false, LocoProviderFactory::class => false, LokaliseProviderFactory::class => false, - PoEditorProviderFactory::class => false, ]); } @@ -54,7 +52,6 @@ public function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \Generat yield ['crowdin', 'symfony/crowdin-translation-provider']; yield ['loco', 'symfony/loco-translation-provider']; yield ['lokalise', 'symfony/lokalise-translation-provider']; - yield ['poeditor', 'symfony/po-editor-translation-provider']; } /**