Skip to content

Commit

Permalink
[TASK] Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
This change applies `php-cs-fixer` modifications which
slipped into the code-base because the corresponding
code-quality check missed the dry-run flag and doesn't
fail when changes has been detected.
  • Loading branch information
sbuerk committed Dec 12, 2024
1 parent 1b9b3c3 commit 008cdad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Tests/Functional/AbstractDeepLTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace WebVision\Deepltranslate\Core\Tests\Functional;

use RuntimeException;
use Closure;
use Exception;
use DeepL\Translator;
use DeepL\TranslatorOptions;
use Exception;
use phpmock\phpunit\PHPMock;
use Psr\Log\NullLogger;
use Ramsey\Uuid\Uuid;
use RuntimeException;
use Symfony\Component\DependencyInjection\Container;
use TYPO3\CMS\Core\Utility\StringUtility;
use TYPO3\TestingFramework\Core\Functional\FunctionalTestCase;
Expand Down
6 changes: 3 additions & 3 deletions Tests/Functional/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

namespace WebVision\Deepltranslate\Core\Tests\Functional;

use PHPUnit\Framework\Attributes\CoversClass;
use WebVision\Deepltranslate\Core\Client;
use PHPUnit\Framework\Attributes\Test;
use DateTime;
use DeepL\GlossaryEntries;
use DeepL\GlossaryInfo;
use DeepL\GlossaryLanguagePair;
use DeepL\Language;
use DeepL\TextResult;
use Helmich\JsonAssert\JsonAssertions;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Test;
use WebVision\Deepltranslate\Core\Client;
use WebVision\Deepltranslate\Core\ClientInterface;

#[CoversClass(Client::class)]
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Services/DeeplServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace WebVision\Deepltranslate\Core\Tests\Functional\Services;

use DeepL\Language;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\Test;
use DeepL\Language;
use WebVision\Deepltranslate\Core\Domain\Dto\TranslateContext;
use WebVision\Deepltranslate\Core\Service\DeeplService;
use WebVision\Deepltranslate\Core\Service\ProcessingInstruction;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Services/UsageServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

namespace WebVision\Deepltranslate\Core\Tests\Functional\Services;

use PHPUnit\Framework\Attributes\Test;
use DeepL\Usage;
use DeepL\UsageDetail;
use PHPUnit\Framework\Attributes\Test;
use WebVision\Deepltranslate\Core\Service\DeeplService;
use WebVision\Deepltranslate\Core\Service\ProcessingInstruction;
use WebVision\Deepltranslate\Core\Service\UsageService;
Expand Down

0 comments on commit 008cdad

Please sign in to comment.