Passed
Pull Request — master (#1317)
by Gabriel
27:36
created
src/Infrastructure/FileStreamOpener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\Frontend\Infrastructure;
6 6
 
Please login to merge, or discard this patch.
src/Infrastructure/StreamOpeningError.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\Frontend\Infrastructure;
6 6
 
Please login to merge, or discard this patch.
src/Infrastructure/StreamOpener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\Frontend\Infrastructure;
6 6
 
Please login to merge, or discard this patch.
src/Infrastructure/ErrorLoggingStreamOpener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\Frontend\Infrastructure;
6 6
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 		try {
29 29
 			return $this->streamOpener->openStream( $url, $mode );
30 30
 		} catch ( StreamOpeningError $e ) {
31
-			$this->logger->error( $e->getMessage(), [ 'url' => $url, 'mode' => $mode ] );
31
+			$this->logger->error( $e->getMessage(), ['url' => $url, 'mode' => $mode] );
32 32
 			return fopen( 'php://temp', $mode );
33 33
 		}
34 34
 	}
Please login to merge, or discard this patch.