Passed
Push — master ( fdb910...cfaaf4 )
by Petr
03:01
created
src/Pohoda/CashSlip/SummaryDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
     #[Attributes\Options\ListOption(['none', 'noneEveryRate', 'up2tenthEveryItem', 'up2tenthEveryRate', 'math2tenthEveryItem', 'math2tenthEveryRate', 'math2halfEveryItem', 'math2halfEveryRate', 'math2intEveryItem', 'math2intEveryRate'])]
14 14
     public ?string $roundingVAT = null;
15 15
     #[Attributes\Options\BooleanOption]
16
-    public bool|string|null $calculateVAT = null;
17
-    public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null;
16
+    public bool | string | null $calculateVAT = null;
17
+    public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null;
18 18
     #[Attributes\OnlyInternal]
19
-    public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null;
19
+    public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null;
20 20
 }
Please login to merge, or discard this patch.
src/Pohoda/CashSlip/ItemDto.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,24 +11,24 @@
 block discarded – undo
11 11
     #[Attributes\Options\StringOption(255)]
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', 'third', 'low', 'high'])]
22 22
     public ?string $rateVAT = null;
23 23
     #[Attributes\Options\FloatOption]
24
-    public float|string|null $discountPercentage = null;
25
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null;
26
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null;
24
+    public float | string | null $discountPercentage = null;
25
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null;
26
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null;
27 27
     #[Attributes\Options\StringOption(90)]
28 28
     public ?string $note = null;
29 29
     #[Attributes\Options\StringOption(64)]
30 30
     public ?string $code = null;
31
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
31
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
32 32
     #[Attributes\RefElement]
33 33
     public ?string $centre = null;
34 34
     #[Attributes\RefElement]
Please login to merge, or discard this patch.
src/Pohoda/CashSlip/HeaderDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,12 +13,12 @@  discard block
 block discarded – undo
13 13
     #[Attributes\RefElement]
14 14
     public ?string $number = null;
15 15
     #[Attributes\Options\DateOption]
16
-    public \DateTimeInterface|string|null $date = null;
16
+    public \DateTimeInterface | string | null $date = null;
17 17
     #[Attributes\RefElement]
18 18
     public ?string $accounting = null;
19 19
     #[Attributes\Options\StringOption(240)]
20 20
     public ?string $text = null;
21
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
21
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
22 22
     #[Attributes\RefElement]
23 23
     public ?string $paymentType = null;
24 24
     #[Attributes\RefElement]
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     public ?string $centre = null;
28 28
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
29 29
     #[Attributes\RefElement]
30
-    public array|string|null $activity = null;
30
+    public array | string | null $activity = null;
31 31
     #[Attributes\RefElement]
32 32
     public ?string $contract = null;
33 33
     #[Attributes\RefElement]
Please login to merge, or discard this patch.
src/Pohoda/IntParam/SettingsDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,9 +9,9 @@
 block discarded – undo
9 9
 {
10 10
     public ?string $unit = null;
11 11
     #[Attributes\Options\IntegerOption]
12
-    public int|string|null $length = null;
12
+    public int | string | null $length = null;
13 13
     #[Attributes\RefElement]
14 14
     public ?string $currency = null;
15 15
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
16
-    public array|string|null $parameterList = null;
16
+    public array | string | null $parameterList = null;
17 17
 }
Please login to merge, or discard this patch.
src/Pohoda/IntParam/IntParamDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
     public ?string $description = null;
13 13
     #[Attributes\Options\ListOption(['textValue', 'currencyValue', 'booleanValue', 'numberValue', 'integerValue', 'datetimeValue', 'unit', 'listValue']), Attributes\Options\RequiredOption]
14 14
     public ?string $parameterType = null;
15
-    public Settings|SettingsDto|null $parameterSettings = null;
15
+    public Settings | SettingsDto | null $parameterSettings = null;
16 16
 }
Please login to merge, or discard this patch.
src/Pohoda/Invoice/InvoiceDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@
 block discarded – undo
7 7
 
8 8
 class InvoiceDto extends Document\AbstractDocumentDto
9 9
 {
10
-    public Header|HeaderDto|null $header = null;
10
+    public Header | HeaderDto | null $header = null;
11 11
     /** @var array<Item|ItemDto> */
12 12
     public array $details = [];
13 13
     /** @var array<Type\Link|Type\Dtos\LinkDto> */
14 14
     public array $links = [];
15 15
     /** @var array<AdvancePaymentItem|AdvancePaymentItemDto> */
16 16
     public array $invoiceDetail = [];
17
-    public Summary|SummaryDto|null $summary = null;
17
+    public Summary | SummaryDto | null $summary = null;
18 18
 }
Please login to merge, or discard this patch.
src/Pohoda/Invoice/ItemDto.php 1 patch
Spacing   +11 added lines, -11 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)]
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     public ?int $guarantee = null;
37 37
     #[Attributes\Options\ListOption(['none', 'hour', 'day', 'month', 'year', 'life'])]
38 38
     public ?string $guaranteeType = null;
39
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
39
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
40 40
     #[Attributes\RefElement]
41 41
     public ?string $accounting = null;
42 42
     #[Attributes\RefElement]
@@ -50,10 +50,10 @@  discard block
 block discarded – undo
50 50
     #[Attributes\RefElement]
51 51
     public ?string $contract = null;
52 52
     #[Attributes\Options\DateOption]
53
-    public \DateTimeInterface|string|null $expirationDate = null;
53
+    public \DateTimeInterface | string | null $expirationDate = null;
54 54
     #[Attributes\Options\BooleanOption]
55
-    public bool|string|null $PDP = null;
56
-    public Type\Dtos\RecyclingContribDto|Type\RecyclingContrib|null $recyclingContrib = null;
55
+    public bool | string | null $PDP = null;
56
+    public Type\Dtos\RecyclingContribDto | Type\RecyclingContrib | null $recyclingContrib = null;
57 57
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
58 58
     public array $parameters = [];
59 59
 }
Please login to merge, or discard this patch.
src/Pohoda/Invoice/AdvancePaymentItemDto.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,17 +10,17 @@
 block discarded – undo
10 10
 {
11 11
     /** @var array<string, string>|string|null */
12 12
     #[Attributes\RefElement]
13
-    public array|string|null $sourceDocument = null;
13
+    public array | string | null $sourceDocument = null;
14 14
     #[Attributes\Options\FloatOption]
15
-    public float|string|null $quantity = null;
15
+    public float | string | null $quantity = null;
16 16
     #[Attributes\Options\BooleanOption]
17
-    public bool|string|null $payVAT = null;
17
+    public bool | string | null $payVAT = null;
18 18
     #[Attributes\Options\ListOption(['none', 'third', 'low', 'high'])]
19 19
     public ?string $rateVAT = null;
20 20
     #[Attributes\Options\FloatOption]
21
-    public float|string|null $discountPercentage = null;
22
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null;
23
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null;
21
+    public float | string | null $discountPercentage = null;
22
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null;
23
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null;
24 24
     #[Attributes\Options\StringOption(90)]
25 25
     public ?string $note = null;
26 26
     #[Attributes\RefElement]
Please login to merge, or discard this patch.
src/Pohoda/Invoice/HeaderDto.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -22,19 +22,19 @@  discard block
 block discarded – undo
22 22
     #[Attributes\Options\StringOption(20)]
23 23
     public ?string $symPar = null;
24 24
     #[Attributes\Options\DateOption]
25
-    public \DateTimeInterface|string|null $date = null;
25
+    public \DateTimeInterface | string | null $date = null;
26 26
     #[Attributes\Options\DateOption]
27
-    public \DateTimeInterface|string|null $dateTax = null;
27
+    public \DateTimeInterface | string | null $dateTax = null;
28 28
     #[Attributes\Options\DateOption]
29
-    public \DateTimeInterface|string|null $dateAccounting = null;
29
+    public \DateTimeInterface | string | null $dateAccounting = null;
30 30
     #[Attributes\Options\DateOption]
31
-    public \DateTimeInterface|string|null $dateKHDPH = null;
31
+    public \DateTimeInterface | string | null $dateKHDPH = null;
32 32
     #[Attributes\Options\DateOption]
33
-    public \DateTimeInterface|string|null $dateDue = null;
33
+    public \DateTimeInterface | string | null $dateDue = null;
34 34
     #[Attributes\Options\DateOption]
35
-    public \DateTimeInterface|string|null $dateApplicationVAT = null;
35
+    public \DateTimeInterface | string | null $dateApplicationVAT = null;
36 36
     #[Attributes\Options\DateOption]
37
-    public \DateTimeInterface|string|null $dateDelivery = null;
37
+    public \DateTimeInterface | string | null $dateDelivery = null;
38 38
     #[Attributes\RefElement]
39 39
     public ?string $accounting = null;
40 40
     #[Attributes\RefElement]
@@ -45,14 +45,14 @@  discard block
 block discarded – undo
45 45
     public ?string $numberKHDPH = null;
46 46
     #[Attributes\Options\StringOption(240)]
47 47
     public ?string $text = null;
48
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
49
-    public Type\Dtos\MyAddressDto|Type\MyAddress|null $myIdentity = null;
48
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
49
+    public Type\Dtos\MyAddressDto | Type\MyAddress | null $myIdentity = null;
50 50
     #[Attributes\RefElement]
51 51
     public ?string $order = null;
52 52
     #[Attributes\Options\StringOption(32)]
53 53
     public ?string $numberOrder = null;
54 54
     #[Attributes\Options\DateOption]
55
-    public \DateTimeInterface|string|null $dateOrder = null;
55
+    public \DateTimeInterface | string | null $dateOrder = null;
56 56
     #[Attributes\RefElement]
57 57
     public ?string $paymentType = null;
58 58
     #[Attributes\RefElement]
@@ -66,12 +66,12 @@  discard block
 block discarded – undo
66 66
     #[Attributes\RefElement]
67 67
     public ?string $paymentAccount = null;
68 68
     #[Attributes\Options\BooleanOption]
69
-    public bool|string|null $paymentTerminal = null;
69
+    public bool | string | null $paymentTerminal = null;
70 70
     #[Attributes\RefElement]
71 71
     public ?string $centre = null;
72 72
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
73 73
     #[Attributes\RefElement]
74
-    public array|string|null $activity = null;
74
+    public array | string | null $activity = null;
75 75
     #[Attributes\RefElement]
76 76
     public ?string $contract = null;
77 77
     #[Attributes\RefElement]
@@ -82,15 +82,15 @@  discard block
 block discarded – undo
82 82
     public ?string $evidentiaryResourcesMOSS = null;
83 83
     public ?string $accountingPeriodMOSS = null;
84 84
     #[Attributes\Options\DateOption]
85
-    public \DateTimeInterface|string|null $dateTaxOriginalDocumentMOSS = null;
85
+    public \DateTimeInterface | string | null $dateTaxOriginalDocumentMOSS = null;
86 86
     public ?string $note = null;
87 87
     #[Attributes\RefElement]
88 88
     public ?string $carrier = null;
89 89
     public ?string $intNote = null;
90 90
     #[Attributes\Options\BooleanOption]
91
-    public bool|string|null $postponedIssue = null;
91
+    public bool | string | null $postponedIssue = null;
92 92
     #[Attributes\Options\BooleanOption]
93
-    public bool|string|null $histRate = null;
93
+    public bool | string | null $histRate = null;
94 94
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
95 95
     public array $parameters = [];
96 96
 }
Please login to merge, or discard this patch.