Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #88

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,555 changes: 1,141 additions & 414 deletions composer.lock

Large diffs are not rendered by default.

16 changes: 11 additions & 5 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
<?xml version="1.0"?>
<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">
<coverage includeUncoveredFiles="false"/>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.4/phpunit.xsd"
backupGlobals="true"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
>
<coverage/>
<testsuites>
<testsuite name="Unittests">
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./</directory>
<directory>src</directory>
</include>
<exclude>
<directory suffix=".php">vendor/</directory>
<directory suffix=".php">tests/</directory>
<directory>vendor/</directory>
<directory>tests/</directory>
</exclude>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion src/Handler/DeeplBatchTranslationRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplFileRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getMethod(): string

public function getPath(): string
{
return sprintf(static::API_ENDPOINT, $this->fileSubmission->getDocumentId());
return sprintf(self::API_ENDPOINT, $this->fileSubmission->getDocumentId());
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplFileSubmissionRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplFileTranslationStatusRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getMethod(): string

public function getPath(): string
{
return sprintf(static::API_ENDPOINT, $this->fileSubmission->getDocumentId());
return sprintf(self::API_ENDPOINT, $this->fileSubmission->getDocumentId());
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplGlossariesListRetrievalRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplGlossaryCreateRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplGlossaryDeleteRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getMethod(): string

public function getPath(): string
{
return sprintf(static::API_ENDPOINT, $this->submission->getId());
return sprintf(self::API_ENDPOINT, $this->submission->getId());
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplGlossaryEntriesRetrieveRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getMethod(): string

public function getPath(): string
{
return sprintf(static::API_ENDPOINT, $this->submission->getId());
return sprintf(self::API_ENDPOINT, $this->submission->getId());
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplGlossaryRetrieveRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getMethod(): string

public function getPath(): string
{
return sprintf(static::API_ENDPOINT, $this->submission->getId());
return sprintf(self::API_ENDPOINT, $this->submission->getId());
}

public function getBody(): StreamInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplTranslationRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Handler/DeeplUsageRequestHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getMethod(): string

public function getPath(): string
{
return static::API_ENDPOINT;
return self::API_ENDPOINT;
}

public function getBody(): StreamInterface
Expand Down
Loading