Completed
Branch develop (cf8e96)
by Stuart
09:06
created
src/V1/Exceptions/CannotJsonDecode.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@
 block discarded – undo
51 51
  * exception thrown when json_decode() has failed
52 52
  */
53 53
 class CannotJsonDecode
54
-  extends ParameterisedException
55
-  implements MessagingPipelineException, HttpRuntimeErrorException
54
+    extends ParameterisedException
55
+    implements MessagingPipelineException, HttpRuntimeErrorException
56 56
 {
57 57
     // we map onto HTTP 500
58 58
     use UnexpectedErrorStatusProvider;
Please login to merge, or discard this patch.
src/V1/Exceptions/CannotBase64Decode.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@
 block discarded – undo
51 51
  * exception thrown when base64_decode() has failed
52 52
  */
53 53
 class CannotBase64Decode
54
-  extends ParameterisedException
55
-  implements MessagingPipelineException, HttpRuntimeErrorException
54
+    extends ParameterisedException
55
+    implements MessagingPipelineException, HttpRuntimeErrorException
56 56
 {
57 57
     // we map onto HTTP 500
58 58
     use UnexpectedErrorStatusProvider;
Please login to merge, or discard this patch.
src/V1/Exceptions/UnsupportedEncryptionCipher.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
  * isn't an encryption cipher that it supports
53 53
  */
54 54
 class UnsupportedEncryptionCipher
55
-  extends ParameterisedException
56
-  implements MessagingPipelineException, HttpRuntimeErrorException
55
+    extends ParameterisedException
56
+    implements MessagingPipelineException, HttpRuntimeErrorException
57 57
 {
58 58
     // we map onto HTTP 500
59 59
     use UnexpectedErrorStatusProvider;
Please login to merge, or discard this patch.
src/V1/Exceptions/UnsupportedHmacAlgorithm.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
  * with our MessagingPipeline
53 53
  */
54 54
 class UnsupportedHmacAlgorithm
55
-  extends ParameterisedException
56
-  implements MessagingPipelineException, HttpRuntimeErrorException
55
+    extends ParameterisedException
56
+    implements MessagingPipelineException, HttpRuntimeErrorException
57 57
 {
58 58
     // we map onto HTTP 500
59 59
     use UnexpectedErrorStatusProvider;
Please login to merge, or discard this patch.
src/V1/Requirements/RequireValidEncryptionIV.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
 /**
6 6
  * Copyright (c) 2017-present Ganbaro Digital Ltd
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *         if $item isn't a valid initialisation vector for the given
114 114
      *         encryption type
115 115
      */
116
-    public function to($item, $fieldOrVarName='$item')
116
+    public function to($item, $fieldOrVarName = '$item')
117 117
     {
118 118
         // are we happy?
119 119
         if (IsValidEncryptionIV::check($this->encryptionCipher, $item)) {
Please login to merge, or discard this patch.
src/V1/Requirements/RequireValidHmacAlgorithm.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
 /**
6 6
  * Copyright (c) 2017-present Ganbaro Digital Ltd
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @throws UnsupportedHmacAlgorithm
86 86
      *         if we have something that isn't a supported HMAC algorithm
87 87
      */
88
-    public function to($item, $fieldOrVarName='$item')
88
+    public function to($item, $fieldOrVarName = '$item')
89 89
     {
90 90
         // are we happy?
91 91
         if (IsValidHmacAlgorithm::check($item)) {
Please login to merge, or discard this patch.
src/V1/Requirements/RequireValidEncryptionCipher.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
 /**
6 6
  * Copyright (c) 2017-present Ganbaro Digital Ltd
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @throws UnsupportedEncryptionCipher
86 86
      *         if we have something that isn't a MessagingPipelineInstruction
87 87
      */
88
-    public function to($item, $fieldOrVarName='$item')
88
+    public function to($item, $fieldOrVarName = '$item')
89 89
     {
90 90
         // are we happy?
91 91
         if (IsValidEncryptionCipher::check($item)) {
Please login to merge, or discard this patch.
src/V1/Requirements/RequireConfigHasKey.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
 /**
6 6
  * Copyright (c) 2017-present Ganbaro Digital Ltd
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      * @throws ConfigKeyNotFound
108 108
      *         if $item[$this->expectedKey] does not exist
109 109
      */
110
-    public function to($item, $fieldOrVarName='$item')
110
+    public function to($item, $fieldOrVarName = '$item')
111 111
     {
112 112
         // are we happy?
113 113
         if (DoesArrayHaveKey::check($item, $this->expectedKey)) {
Please login to merge, or discard this patch.
src/V1/NextInstruction.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
 /**
6 6
  * Copyright (c) 2017-present Ganbaro Digital Ltd
Please login to merge, or discard this patch.