-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2655 from RaiderIO/development
Release v11.8.1 - Bugfixes
- Loading branch information
Showing
235 changed files
with
4,079 additions
and
821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
app/Jobs/Logging/ProcessRouteFloorThumbnailCustomLogging.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php | ||
|
||
namespace App\Jobs\Logging; | ||
|
||
use App\Logging\StructuredLogging; | ||
|
||
class ProcessRouteFloorThumbnailCustomLogging extends StructuredLogging implements ProcessRouteFloorThumbnailCustomLoggingInterface | ||
{ | ||
public function handleStart(string $publicKey, int $floorIndex, int $id, int $attempts, ?int $viewportWidth, ?int $viewportHeight, ?int $imageWidth, ?int $imageHeight, ?float $zoomLevel, ?int $quality): void | ||
{ | ||
$this->start(__METHOD__, get_defined_vars()); | ||
} | ||
|
||
public function handleCreateCustomThumbnailError(): void | ||
{ | ||
$this->error(__METHOD__); | ||
} | ||
|
||
public function handleFinishedProcessing(): void | ||
{ | ||
$this->debug(__METHOD__); | ||
} | ||
|
||
public function handleMaxAttemptsReached(): void | ||
{ | ||
$this->warning(__METHOD__); | ||
} | ||
|
||
public function handleEnd(): void | ||
{ | ||
$this->end(__METHOD__); | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
app/Jobs/Logging/ProcessRouteFloorThumbnailCustomLoggingInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace App\Jobs\Logging; | ||
|
||
interface ProcessRouteFloorThumbnailCustomLoggingInterface | ||
{ | ||
|
||
public function handleStart( | ||
string $publicKey, | ||
int $floorIndex, | ||
int $id, | ||
int $attempts, | ||
?int $viewportWidth, | ||
?int $viewportHeight, | ||
?int $imageWidth, | ||
?int $imageHeight, | ||
?float $zoomLevel, | ||
?int $quality | ||
): void; | ||
|
||
public function handleCreateCustomThumbnailError(): void; | ||
|
||
public function handleFinishedProcessing(): void; | ||
|
||
public function handleMaxAttemptsReached(): void; | ||
|
||
public function handleEnd(): void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
namespace App\Jobs\Logging; | ||
|
||
use App\Jobs\Logging\ProcessRouteFloorThumbnailLoggingInterface; | ||
use App\Logging\StructuredLogging; | ||
|
||
class ProcessRouteFloorThumbnailLogging extends StructuredLogging implements ProcessRouteFloorThumbnailLoggingInterface | ||
{ | ||
|
||
public function handleStart(string $publicKey, int $dungeonRouteId, int $mappingVersionId, int $floorIndex, int $attempts): void | ||
{ | ||
$this->start(__METHOD__, get_defined_vars()); | ||
} | ||
|
||
public function handleCreateThumbnailError(): void | ||
{ | ||
$this->warning(__METHOD__); | ||
} | ||
|
||
public function handleThumbnailAlreadyUpToDate(): void | ||
{ | ||
$this->info(__METHOD__); | ||
} | ||
|
||
public function handleMaxAttemptsReached(): void | ||
{ | ||
$this->warning(__METHOD__); | ||
} | ||
|
||
public function handleEnd(bool $result): void | ||
{ | ||
$this->end(__METHOD__, get_defined_vars()); | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
app/Jobs/Logging/ProcessRouteFloorThumbnailLoggingInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Jobs\Logging; | ||
|
||
interface ProcessRouteFloorThumbnailLoggingInterface | ||
{ | ||
|
||
public function handleStart(string $publicKey, int $dungeonRouteId, int $mappingVersionId, int $floorIndex, int $attempts): void; | ||
|
||
public function handleCreateThumbnailError(): void; | ||
|
||
public function handleThumbnailAlreadyUpToDate(): void; | ||
|
||
public function handleMaxAttemptsReached(): void; | ||
|
||
public function handleEnd(bool $result): void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.