Passed
Push — master ( fdb910...cfaaf4 )
by Petr
03:01
created
src/Pohoda/IntDoc/ItemDto.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,21 +11,21 @@  discard block
 block discarded – undo
11 11
     #[Attributes\Options\StringOption(90)]
12 12
     public ?string $text = null;
13 13
     #[Attributes\Options\FloatOption]
14
-    public float|string|null $quantity = null;
14
+    public float | string | null $quantity = null;
15 15
     #[Attributes\Options\StringOption(10)]
16 16
     public ?string $unit = null;
17 17
     #[Attributes\Options\FloatOption]
18
-    public float|string|null $coefficient = null;
18
+    public float | string | null $coefficient = null;
19 19
     #[Attributes\Options\BooleanOption]
20
-    public bool|string|null $payVAT = null;
20
+    public bool | string | null $payVAT = null;
21 21
     #[Attributes\Options\ListOption(['none', 'high', 'low', 'third', 'historyHigh', 'historyLow', 'historyThird'])]
22 22
     public ?string $rateVAT = null;
23 23
     #[Attributes\Options\FloatOption]
24
-    public float|string|null $percentVAT = null;
24
+    public float | string | null $percentVAT = null;
25 25
     #[Attributes\Options\FloatOption]
26
-    public float|string|null $discountPercentage = null;
27
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null;
28
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null;
26
+    public float | string | null $discountPercentage = null;
27
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null;
28
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null;
29 29
     #[Attributes\RefElement]
30 30
     public ?string $typeServiceMOSS = null;
31 31
     #[Attributes\Options\StringOption(90)]
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     #[Attributes\RefElement]
42 42
     public ?string $classificationKVDPH = null;
43 43
     #[Attributes\Options\BooleanOption]
44
-    public bool|string|null $PDP = null;
44
+    public bool | string | null $PDP = null;
45 45
     #[Attributes\Options\StringOption(4)]
46 46
     public ?string $CodePDP = null;
47 47
     #[Attributes\RefElement]
Please login to merge, or discard this patch.
src/Pohoda/IntDoc/HeaderDto.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -17,17 +17,17 @@  discard block
 block discarded – undo
17 17
     public ?string $originalDocumentNumber = null;
18 18
     public ?string $originalCorrectiveDocument = null;
19 19
     #[Attributes\Options\DateOption]
20
-    public \DateTimeInterface|string|null $date = null;
20
+    public \DateTimeInterface | string | null $date = null;
21 21
     #[Attributes\Options\DateOption]
22
-    public \DateTimeInterface|string|null $dateTax = null;
22
+    public \DateTimeInterface | string | null $dateTax = null;
23 23
     #[Attributes\Options\DateOption]
24
-    public \DateTimeInterface|string|null $dateAccounting = null;
24
+    public \DateTimeInterface | string | null $dateAccounting = null;
25 25
     #[Attributes\Options\DateOption]
26
-    public \DateTimeInterface|string|null $dateDelivery = null;
26
+    public \DateTimeInterface | string | null $dateDelivery = null;
27 27
     #[Attributes\Options\DateOption]
28
-    public \DateTimeInterface|string|null $dateKVDPH = null;
28
+    public \DateTimeInterface | string | null $dateKVDPH = null;
29 29
     #[Attributes\Options\DateOption]
30
-    public \DateTimeInterface|string|null $dateKHDPH = null;
30
+    public \DateTimeInterface | string | null $dateKHDPH = null;
31 31
     #[Attributes\RefElement]
32 32
     public ?string $accounting = null;
33 33
     #[Attributes\RefElement]
@@ -38,15 +38,15 @@  discard block
 block discarded – undo
38 38
     public ?string $numberKHDPH = null;
39 39
     #[Attributes\Options\StringOption(240)]
40 40
     public ?string $text = null;
41
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
42
-    public Type\Dtos\MyAddressDto|Type\MyAddress|null $myIdentity = null;
41
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
42
+    public Type\Dtos\MyAddressDto | Type\MyAddress | null $myIdentity = null;
43 43
     #[Attributes\Options\BooleanOption]
44
-    public bool|string|null $liquidation = null;
44
+    public bool | string | null $liquidation = null;
45 45
     #[Attributes\RefElement]
46 46
     public ?string $centre = null;
47 47
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
48 48
     #[Attributes\RefElement]
49
-    public array|string|null $activity = null;
49
+    public array | string | null $activity = null;
50 50
     #[Attributes\RefElement]
51 51
     public ?string $contract = null;
52 52
     #[Attributes\RefElement]
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public ?string $note = null;
60 60
     public ?string $intNote = null;
61 61
     #[Attributes\Options\BooleanOption]
62
-    public bool|string|null $markRecord = null;
62
+    public bool | string | null $markRecord = null;
63 63
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
64 64
     public array $parameters = [];
65 65
 }
Please login to merge, or discard this patch.
src/Pohoda/IntDoc/IntDocDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,9 +7,9 @@
 block discarded – undo
7 7
 
8 8
 class IntDocDto extends Document\AbstractDocumentDto
9 9
 {
10
-    public Type\TaxDocument|Type\Dtos\TaxDocumentDto|null $taxDocument = null;
11
-    public Header|HeaderDto|null $header = null;
10
+    public Type\TaxDocument | Type\Dtos\TaxDocumentDto | null $taxDocument = null;
11
+    public Header | HeaderDto | null $header = null;
12 12
     /** @var array<Item|ItemDto> */
13 13
     public array $details = [];
14
-    public Summary|SummaryDto|null $summary = null;
14
+    public Summary | SummaryDto | null $summary = null;
15 15
 }
Please login to merge, or discard this patch.
src/Pohoda/Receipt/ReceiptDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 
7 7
 class ReceiptDto extends Document\AbstractDocumentDto
8 8
 {
9
-    public Header|HeaderDto|null $header = null;
9
+    public Header | HeaderDto | null $header = null;
10 10
     /** @var array<Item|ItemDto> */
11 11
     public array $details = [];
12
-    public Summary|SummaryDto|null $summary = null;
12
+    public Summary | SummaryDto | null $summary = null;
13 13
 }
Please login to merge, or discard this patch.
src/Pohoda/Receipt/ItemDto.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,22 +9,22 @@
 block discarded – undo
9 9
 class ItemDto extends AbstractItemDto
10 10
 {
11 11
     #[Attributes\Options\FloatOption]
12
-    public float|string|null $quantity = null;
12
+    public float | string | null $quantity = null;
13 13
     #[Attributes\Options\StringOption(10)]
14 14
     public ?string $unit = null;
15 15
     #[Attributes\Options\FloatOption]
16
-    public float|string|null $coefficient = null;
16
+    public float | string | null $coefficient = null;
17 17
     #[Attributes\Options\BooleanOption]
18
-    public bool|string|null $payVAT = null;
18
+    public bool | string | null $payVAT = null;
19 19
     #[Attributes\Options\ListOption(['none', 'third', 'low', 'high'])]
20 20
     public ?string $rateVAT = null;
21 21
     #[Attributes\Options\FloatOption]
22
-    public float|string|null $discountPercentage = null;
23
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null;
24
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null;
22
+    public float | string | null $discountPercentage = null;
23
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null;
24
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null;
25 25
     #[Attributes\Options\StringOption(64)]
26 26
     public ?string $code = null;
27
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
27
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
28 28
     #[Attributes\Options\StringOption(90)]
29 29
     public ?string $note = null;
30 30
     #[Attributes\RefElement]
Please login to merge, or discard this patch.
src/Pohoda/Receipt/HeaderDto.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,19 +11,19 @@
 block discarded – undo
11 11
     #[Attributes\RefElement]
12 12
     public ?string $number = null;
13 13
     #[Attributes\Options\DateOption]
14
-    public \DateTimeInterface|string|null $date = null;
14
+    public \DateTimeInterface | string | null $date = null;
15 15
     #[Attributes\Options\DateOption(null, true)]
16
-    public \DateTimeInterface|string|null $dateOfReceipt = null;
16
+    public \DateTimeInterface | string | null $dateOfReceipt = null;
17 17
     #[Attributes\Options\StringOption(240)]
18 18
     public ?string $text = null;
19
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
19
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
20 20
     #[Attributes\Options\StringOption(20)]
21 21
     public ?string $symPar = null;
22 22
     #[Attributes\RefElement]
23 23
     public ?string $centre = null;
24 24
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
25 25
     #[Attributes\RefElement]
26
-    public array|string|null $activity = null;
26
+    public array | string | null $activity = null;
27 27
     #[Attributes\RefElement]
28 28
     public ?string $contract = null;
29 29
     public ?string $note = null;
Please login to merge, or discard this patch.
src/Pohoda/Supplier/StockItemDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 {
10 10
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
11 11
     #[Attributes\RefElement]
12
-    public array|string|null $stockItem = null;
12
+    public array | string | null $stockItem = null;
13 13
 }
Please login to merge, or discard this patch.
src/Pohoda/Supplier/SupplierDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 class SupplierDto extends AbstractDto
8 8
 {
9
-    public StockItem|StockItemDto|null $stockItem = null;
9
+    public StockItem | StockItemDto | null $stockItem = null;
10 10
     /** @var array<SupplierItem|SupplierItemDto> */
11 11
     public array $suppliers = [];
12 12
 }
Please login to merge, or discard this patch.
src/Pohoda/Supplier/SupplierItemDto.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -8,36 +8,36 @@
 block discarded – undo
8 8
 class SupplierItemDto extends AbstractItemDto
9 9
 {
10 10
     #[Attributes\Options\BooleanOption]
11
-    public bool|string|null $default = null;
11
+    public bool | string | null $default = null;
12 12
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
13 13
     #[Attributes\RefElement]
14
-    public array|string|null $refAd = null;
14
+    public array | string | null $refAd = null;
15 15
     #[Attributes\Options\StringOption(64)]
16 16
     public ?string $orderCode = null;
17 17
     #[Attributes\Options\StringOption(90)]
18 18
     public ?string $orderName = null;
19 19
     #[Attributes\Options\FloatOption]
20
-    public float|string|null $purchasingPrice = null;
20
+    public float | string | null $purchasingPrice = null;
21 21
     #[Attributes\RefElement]
22 22
     public ?string $currency = null;
23 23
     #[Attributes\Options\FloatOption]
24
-    public float|string|null $rate = null;
24
+    public float | string | null $rate = null;
25 25
     #[Attributes\Options\BooleanOption]
26
-    public bool|string|null $payVAT = null;
26
+    public bool | string | null $payVAT = null;
27 27
     #[Attributes\Options\StringOption(20)]
28 28
     public ?string $ean = null;
29 29
     #[Attributes\Options\BooleanOption]
30
-    public bool|string|null $printEAN = null;
30
+    public bool | string | null $printEAN = null;
31 31
     #[Attributes\Options\StringOption(10)]
32 32
     public ?string $unitEAN = null;
33 33
     #[Attributes\Options\FloatOption]
34
-    public float|string|null $unitCoefEAN = null;
34
+    public float | string | null $unitCoefEAN = null;
35 35
     #[Attributes\Options\IntegerOption]
36
-    public int|string|null $deliveryTime = null;
36
+    public int | string | null $deliveryTime = null;
37 37
     #[Attributes\RefElement]
38 38
     public ?string $deliveryPeriod = null;
39 39
     #[Attributes\Options\FloatOption]
40
-    public float|string|null $minQuantity = null;
40
+    public float | string | null $minQuantity = null;
41 41
     #[Attributes\Options\StringOption(10)]
42 42
     public ?string $unit = null;
43 43
     public ?string $note = null;
Please login to merge, or discard this patch.