Test Failed
Push — main ( e0d6a9...e106fe )
by Reüel
07:26 queued 21s
created
src/Gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 	 * Is payment method required to start transaction?
93 93
 	 *
94 94
 	 * @see Core_Gateway::payment_method_is_required()
95
-	 * @return true
95
+	 * @return boolean
96 96
 	 */
97 97
 	public function payment_method_is_required() {
98 98
 		return true;
Please login to merge, or discard this patch.
src/TrackingCode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 	/**
47 47
 	 * From ID.
48 48
 	 *
49
-	 * @param string|int $id ID.
49
+	 * @param integer $id ID.
50 50
 	 * @return self
51 51
 	 */
52 52
 	public static function from_id( $id ) {
Please login to merge, or discard this patch.
src/ResponseHeader.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 			\JsonSchema\Constraints\Constraint::CHECK_MODE_EXCEPTIONS
54 54
 		);
55 55
 
56
-        /* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */
56
+		/* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */
57 57
 		return new self( $object->requestTimestamp );
58 58
 	}
59 59
 
Please login to merge, or discard this patch.
src/Error.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 			\JsonSchema\Constraints\Constraint::CHECK_MODE_EXCEPTIONS
61 61
 		);
62 62
 
63
-        /* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */
63
+		/* phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase */
64 64
 		return new self( $object->code, $object->message, $object->detailedMessage );
65 65
 	}
66 66
 
Please login to merge, or discard this patch.
tests/src/ResultCodeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 			array( ResultCode::WAITING, PaymentStatus::OPEN ),
55 55
 			array( ResultCode::PENDING, PaymentStatus::OPEN ),
56 56
 			array( ResultCode::TIMEOUT, PaymentStatus::EXPIRED ),
57
-			array( -1000, null ),
57
+			array( - 1000, null ),
58 58
 		);
59 59
 	}
60 60
 }
Please login to merge, or discard this patch.