Skip to content

Commit

Permalink
支持繁体中文翻译
Browse files Browse the repository at this point in the history
  • Loading branch information
justmd5 committed Aug 29, 2024
1 parent 7b956b2 commit a0cc808
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
30 changes: 11 additions & 19 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Application Test Suite">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
3 changes: 0 additions & 3 deletions tests/TranslateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

class TranslateTest extends TestCase
{
/**
* @var DeepLTranslator
*/
protected static DeepLTranslator $translator;

public static function setUpBeforeClass(): void
Expand Down

0 comments on commit a0cc808

Please sign in to comment.