Completed
Push — develop ( 41bbe1...c992d1 )
by Stuart
01:59
created
src/V1/Exceptions/InvalidEncryptionIV.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 InvalidEncryptionIV
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/HmacNotFound.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 HmacNotFound
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/CannotJsonEncode.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_encode() has failed
52 52
  */
53 53
 class CannotJsonEncode
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/ConfigKeyNotFound.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 we've been given an incomplete config array
52 52
  */
53 53
 class ConfigKeyNotFound
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/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.