Skip to content

Commit a90d66f

Browse files
committed
Update dependencies
1 parent fcac004 commit a90d66f

15 files changed

+1165
-432
lines changed

composer.lock

Lines changed: 1141 additions & 414 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpunit.xml.dist

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.4/phpunit.xsd" backupGlobals="true" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false" requireCoverageMetadata="false">
3-
<coverage includeUncoveredFiles="false"/>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.4/phpunit.xsd"
4+
backupGlobals="true"
5+
bootstrap="vendor/autoload.php"
6+
colors="true"
7+
cacheDirectory=".phpunit.cache"
8+
>
9+
<coverage/>
410
<testsuites>
511
<testsuite name="Unittests">
612
<directory>tests</directory>
713
</testsuite>
814
</testsuites>
915
<source>
1016
<include>
11-
<directory suffix=".php">./</directory>
17+
<directory>src</directory>
1218
</include>
1319
<exclude>
14-
<directory suffix=".php">vendor/</directory>
15-
<directory suffix=".php">tests/</directory>
20+
<directory>vendor/</directory>
21+
<directory>tests/</directory>
1622
</exclude>
1723
</source>
1824
</phpunit>

src/Handler/DeeplBatchTranslationRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function getMethod(): string
3939

4040
public function getPath(): string
4141
{
42-
return static::API_ENDPOINT;
42+
return self::API_ENDPOINT;
4343
}
4444

4545
public function getBody(): StreamInterface

src/Handler/DeeplFileRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getMethod(): string
3535

3636
public function getPath(): string
3737
{
38-
return sprintf(static::API_ENDPOINT, $this->fileSubmission->getDocumentId());
38+
return sprintf(self::API_ENDPOINT, $this->fileSubmission->getDocumentId());
3939
}
4040

4141
public function getBody(): StreamInterface

src/Handler/DeeplFileSubmissionRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getMethod(): string
3535

3636
public function getPath(): string
3737
{
38-
return static::API_ENDPOINT;
38+
return self::API_ENDPOINT;
3939
}
4040

4141
public function getBody(): StreamInterface

src/Handler/DeeplFileTranslationStatusRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getMethod(): string
3535

3636
public function getPath(): string
3737
{
38-
return sprintf(static::API_ENDPOINT, $this->fileSubmission->getDocumentId());
38+
return sprintf(self::API_ENDPOINT, $this->fileSubmission->getDocumentId());
3939
}
4040

4141
public function getBody(): StreamInterface

src/Handler/DeeplGlossariesListRetrievalRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getMethod(): string
3030

3131
public function getPath(): string
3232
{
33-
return static::API_ENDPOINT;
33+
return self::API_ENDPOINT;
3434
}
3535

3636
public function getBody(): StreamInterface

src/Handler/DeeplGlossariesSupportedLanguagesPairsRetrievalRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getMethod(): string
3030

3131
public function getPath(): string
3232
{
33-
return static::API_ENDPOINT;
33+
return self::API_ENDPOINT;
3434
}
3535

3636
public function getBody(): StreamInterface

src/Handler/DeeplGlossaryCreateRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getMethod(): string
3535

3636
public function getPath(): string
3737
{
38-
return static::API_ENDPOINT;
38+
return self::API_ENDPOINT;
3939
}
4040

4141
public function getBody(): StreamInterface

src/Handler/DeeplGlossaryDeleteRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getMethod(): string
3535

3636
public function getPath(): string
3737
{
38-
return sprintf(static::API_ENDPOINT, $this->submission->getId());
38+
return sprintf(self::API_ENDPOINT, $this->submission->getId());
3939
}
4040

4141
public function getBody(): StreamInterface

src/Handler/DeeplGlossaryEntriesRetrieveRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getMethod(): string
3535

3636
public function getPath(): string
3737
{
38-
return sprintf(static::API_ENDPOINT, $this->submission->getId());
38+
return sprintf(self::API_ENDPOINT, $this->submission->getId());
3939
}
4040

4141
public function getBody(): StreamInterface

src/Handler/DeeplGlossaryRetrieveRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getMethod(): string
3535

3636
public function getPath(): string
3737
{
38-
return sprintf(static::API_ENDPOINT, $this->submission->getId());
38+
return sprintf(self::API_ENDPOINT, $this->submission->getId());
3939
}
4040

4141
public function getBody(): StreamInterface

src/Handler/DeeplSupportedLanguageRetrievalRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getMethod(): string
3030

3131
public function getPath(): string
3232
{
33-
return static::API_ENDPOINT;
33+
return self::API_ENDPOINT;
3434
}
3535

3636
public function getBody(): StreamInterface

src/Handler/DeeplTranslationRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function getMethod(): string
3636

3737
public function getPath(): string
3838
{
39-
return static::API_ENDPOINT;
39+
return self::API_ENDPOINT;
4040
}
4141

4242
public function getBody(): StreamInterface

src/Handler/DeeplUsageRequestHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function getMethod(): string
3030

3131
public function getPath(): string
3232
{
33-
return static::API_ENDPOINT;
33+
return self::API_ENDPOINT;
3434
}
3535

3636
public function getBody(): StreamInterface

0 commit comments

Comments
 (0)