Completed
Push — master ( 9fee42...1c2b91 )
by Laurens
02:53
created
src/Client/Purchase/CoordinatesBuilder.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 LauLamanApps\IzettleApi\Client\Purchase;
6 6
 
Please login to merge, or discard this patch.
src/Client/Purchase/PaymentBuilder.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 LauLamanApps\IzettleApi\Client\Purchase;
6 6
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 return $this->parseVippsPayment($payment, $currency);
54 54
         }
55 55
 
56
-        throw new PaymentTypeNotConfiguredException('Payment type \'' . $payment['type'] . '\' not configured');
56
+        throw new PaymentTypeNotConfiguredException('Payment type \''.$payment['type'].'\' not configured');
57 57
     }
58 58
 
59 59
     private function parseCardPayment($payment, Currency $currency): CardPayment
Please login to merge, or discard this patch.
src/Client/Finance/PayoutInfoBuilder.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 LauLamanApps\IzettleApi\Client\Finance;
6 6
 
Please login to merge, or discard this patch.
src/Client/PurchaseClient.php 1 patch
Spacing   +3 added lines, -3 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 LauLamanApps\IzettleApi\Client;
6 6
 
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
 {
18 18
     const BASE_URL = 'https://purchase.izettle.com';
19 19
 
20
-    const GET_PURCHASE = self::BASE_URL . '/purchase/v2/%s';
21
-    const GET_PURCHASES = self::BASE_URL . '/purchases/v2';
20
+    const GET_PURCHASE = self::BASE_URL.'/purchase/v2/%s';
21
+    const GET_PURCHASES = self::BASE_URL.'/purchases/v2';
22 22
 
23 23
     private $client;
24 24
     private $purchaseHistoryBuilder;
Please login to merge, or discard this patch.
src/Client/ProductClient.php 1 patch
Spacing   +25 added lines, -25 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 LauLamanApps\IzettleApi\Client;
6 6
 
@@ -23,30 +23,30 @@  discard block
 block discarded – undo
23 23
 {
24 24
     const BASE_URL = 'https://products.izettle.com/organizations/%s';
25 25
 
26
-    const POST_CATEGORY = self::BASE_URL . '/categories';
27
-    const GET_CATEGORY = self::BASE_URL . '/categories/%s';
28
-    const GET_CATEGORIES = self::BASE_URL . '/categories';
29
-
30
-    const POST_DISCOUNT = self::BASE_URL . '/discounts';
31
-    const GET_DISCOUNT = self::BASE_URL . '/discounts/%s';
32
-    const PUT_DISCOUNT = self::BASE_URL . '/discounts/%s';
33
-    const DELETE_DISCOUNT = self::BASE_URL . '/discounts/%s';
34
-    const GET_DISCOUNTS = self::BASE_URL . '/discounts';
35
-
36
-    const GET_EXPORT = self::BASE_URL . '/products/%s';
37
-    const GET_EXPORT_TEMPLATE = self::BASE_URL . '/products/%s/template';
38
-
39
-    const GET_LIBRARY = self::BASE_URL . '/library';
40
-
41
-    const POST_PRODUCT = self::BASE_URL . '/products';
42
-    const GET_PRODUCT = self::BASE_URL . '/products/%s';
43
-    const PUT_PRODUCT = self::BASE_URL . '/products/v2/%s';
44
-    const DELETE_PRODUCT = self::BASE_URL . '/products/%s';
45
-    const POST_PRODUCT_VARIANT = self::BASE_URL . '/products/%s/variants';
46
-    const PUT_PRODUCT_VARIANT = self::BASE_URL . '/products/%s/variants/%s';
47
-    const DELETE_PRODUCT_VARIANT = self::BASE_URL . '/products/%s/variants/%s';
48
-    const GET_PRODUCTS = self::BASE_URL . '/products';
49
-    const DELETE_PRODUCTS = self::BASE_URL . '/products';
26
+    const POST_CATEGORY = self::BASE_URL.'/categories';
27
+    const GET_CATEGORY = self::BASE_URL.'/categories/%s';
28
+    const GET_CATEGORIES = self::BASE_URL.'/categories';
29
+
30
+    const POST_DISCOUNT = self::BASE_URL.'/discounts';
31
+    const GET_DISCOUNT = self::BASE_URL.'/discounts/%s';
32
+    const PUT_DISCOUNT = self::BASE_URL.'/discounts/%s';
33
+    const DELETE_DISCOUNT = self::BASE_URL.'/discounts/%s';
34
+    const GET_DISCOUNTS = self::BASE_URL.'/discounts';
35
+
36
+    const GET_EXPORT = self::BASE_URL.'/products/%s';
37
+    const GET_EXPORT_TEMPLATE = self::BASE_URL.'/products/%s/template';
38
+
39
+    const GET_LIBRARY = self::BASE_URL.'/library';
40
+
41
+    const POST_PRODUCT = self::BASE_URL.'/products';
42
+    const GET_PRODUCT = self::BASE_URL.'/products/%s';
43
+    const PUT_PRODUCT = self::BASE_URL.'/products/v2/%s';
44
+    const DELETE_PRODUCT = self::BASE_URL.'/products/%s';
45
+    const POST_PRODUCT_VARIANT = self::BASE_URL.'/products/%s/variants';
46
+    const PUT_PRODUCT_VARIANT = self::BASE_URL.'/products/%s/variants/%s';
47
+    const DELETE_PRODUCT_VARIANT = self::BASE_URL.'/products/%s/variants/%s';
48
+    const GET_PRODUCTS = self::BASE_URL.'/products';
49
+    const DELETE_PRODUCTS = self::BASE_URL.'/products';
50 50
 
51 51
     private $client;
52 52
     private $organizationUuid;
Please login to merge, or discard this patch.
src/Client/ImageClient.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 LauLamanApps\IzettleApi\Client;
6 6
 
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 final class ImageClient
14 14
 {
15 15
     const BASE_URL = 'https://image.izettle.com/organizations/%s';
16
-    const POST_IMAGE = self::BASE_URL . '/products';
16
+    const POST_IMAGE = self::BASE_URL.'/products';
17 17
 
18 18
     private $client;
19 19
     private $organizationUuid = 'self';
Please login to merge, or discard this patch.
src/Client/Product/VariantBuilder.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 LauLamanApps\IzettleApi\Client\Product;
6 6
 
Please login to merge, or discard this patch.
src/Client/Image/Exceptions/ImageIsToSmallException.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 LauLamanApps\IzettleApi\Client\Image\Exceptions;
6 6
 
Please login to merge, or discard this patch.
src/Client/Image/ImageFileUpload.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 LauLamanApps\IzettleApi\Client\Image;
6 6
 
Please login to merge, or discard this patch.