@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | public function __construct( |
13 | 13 | private StorageSnapshot $storageSnapshot, |
14 | - ) { |
|
14 | + ){ |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | public function report(\Throwable $exception): void |
@@ -8,7 +8,7 @@ |
||
8 | 8 | { |
9 | 9 | public function __construct( |
10 | 10 | private readonly StorageSnapshot $storageSnapshot |
11 | - ) { |
|
11 | + ){ |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | public function register(\Throwable $e): SnapshotInterface |
@@ -33,7 +33,7 @@ |
||
33 | 33 | { |
34 | 34 | $bucket = $env->get('SNAPSHOTS_BUCKET'); |
35 | 35 | |
36 | - if ($bucket === null) { |
|
36 | + if ($bucket === null){ |
|
37 | 37 | throw new \RuntimeException( |
38 | 38 | 'Please, configure a bucket for storing snapshots using the environment variable `SNAPSHOTS_BUCKET`.' |
39 | 39 | ); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | protected readonly Verbosity $verbosity, |
17 | 17 | protected readonly ExceptionRendererInterface $renderer, |
18 | 18 | protected readonly ?string $directory = null |
19 | - ) { |
|
19 | + ){ |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | public function create(\Throwable $e): SnapshotInterface |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | $this->storage |
36 | 36 | ->bucket($this->bucket) |
37 | - ->create($this->directory !== null ? $this->directory . DIRECTORY_SEPARATOR . $filename : $filename) |
|
37 | + ->create($this->directory !== null ? $this->directory.DIRECTORY_SEPARATOR.$filename : $filename) |
|
38 | 38 | ->write($this->renderer->render($snapshot->getException(), $this->verbosity)); |
39 | 39 | } |
40 | 40 |