Passed
Push — master ( 221c35...fdb910 )
by Petr
02:59
created
src/Pohoda/PrintRequest/RecordDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
     #[Attributes\JustAttribute, Attributes\Options\RequiredOption]
11 11
     public ?string $agenda = null;
12 12
     #[Attributes\Options\RequiredOption]
13
-    public FilterDto|Filter|null $filter = null;
13
+    public FilterDto | Filter | null $filter = null;
14 14
 }
Please login to merge, or discard this patch.
src/Pohoda/Voucher/VoucherDto.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 VoucherDto 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/Voucher/SummaryDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
     public ?string $roundingVAT = null;
12 12
     public ?string $calculateVAT = null;
13 13
     public ?string $typeCalculateVATInclusivePrice = null;
14
-    public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null;
15
-    public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null;
14
+    public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null;
15
+    public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null;
16 16
 }
Please login to merge, or discard this patch.
src/Pohoda/Voucher/ItemDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
     public ?string $rateVAT = null;
17 17
     public ?string $percentVAT = null;
18 18
     public ?string $discountPercentage = null;
19
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null;
20
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null;
19
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null;
20
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null;
21 21
     public ?string $typeServiceMOSS = null;
22 22
     public ?string $note = null;
23 23
     public ?string $code = null;
24 24
     public ?string $symPar = null;
25
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
25
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
26 26
     public ?string $accounting = null;
27 27
     public ?string $classificationVAT = null;
28 28
     public ?string $classificationKVDPH = null;
Please login to merge, or discard this patch.
src/Pohoda/Voucher/HeaderDto.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -19,20 +19,20 @@
 block discarded – undo
19 19
     public ?string $number = null;
20 20
     public ?string $originalDocument = null;
21 21
     #[Attributes\Options\DateOption]
22
-    public \DateTimeInterface|string|null $date = null;
22
+    public \DateTimeInterface | string | null $date = null;
23 23
     #[Attributes\Options\DateOption]
24
-    public \DateTimeInterface|string|null $datePayment = null;
24
+    public \DateTimeInterface | string | null $datePayment = null;
25 25
     #[Attributes\Options\DateOption]
26
-    public \DateTimeInterface|string|null $dateTax = null;
26
+    public \DateTimeInterface | string | null $dateTax = null;
27 27
     #[Attributes\Options\DateOption]
28
-    public \DateTimeInterface|string|null $dateKHDPH = null;
28
+    public \DateTimeInterface | string | null $dateKHDPH = null;
29 29
     public ?string $accounting = null;
30 30
     public ?string $classificationVAT = null;
31 31
     public ?string $classificationKVDPH = null;
32 32
     #[Attributes\Options\StringOption(240)]
33 33
     public ?string $text = null;
34
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
35
-    public Type\Dtos\MyAddressDto|Type\MyAddress|null $myIdentity = null;
34
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
35
+    public Type\Dtos\MyAddressDto | Type\MyAddress | null $myIdentity = null;
36 36
     #[Attributes\Options\StringOption(20)]
37 37
     public ?string $symPar = null;
38 38
     public ?string $priceLevel = null;
Please login to merge, or discard this patch.
src/Pohoda/Supplier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
         // process suppliers
33 33
         if (!empty($data->suppliers) && is_array($data->suppliers)) {
34
-            $data->suppliers = \array_map(function (Supplier\SupplierItemDto $item) {
34
+            $data->suppliers = \array_map(function(Supplier\SupplierItemDto $item) {
35 35
                 $supplierItem = new Supplier\SupplierItem($this->dependenciesFactory);
36 36
                 $supplierItem
37 37
                     ->setDirectionalVariable($this->useOneDirectionalVariables)
Please login to merge, or discard this patch.
src/Pohoda/IssueSlip/SummaryDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
     public ?string $roundingDocument = null;
13 13
     #[Attributes\Options\ListOption(['none', 'noneEveryRate', 'up2tenthEveryItem', 'up2tenthEveryRate', 'math2tenthEveryItem', 'math2tenthEveryRate', 'math2halfEveryItem', 'math2halfEveryRate', 'math2intEveryItem', 'math2intEveryRate'])]
14 14
     public ?string $roundingVAT = null;
15
-    public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null;
16
-    public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null;
15
+    public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null;
16
+    public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null;
17 17
 }
Please login to merge, or discard this patch.
src/Pohoda/IssueSlip/ItemDto.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,28 +11,28 @@
 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)]
32 32
     public ?string $note = null;
33 33
     #[Attributes\Options\StringOption(64)]
34 34
     public ?string $code = null;
35
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
35
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
36 36
     #[Attributes\RefElement]
37 37
     public ?string $centre = null;
38 38
     #[Attributes\RefElement]
Please login to merge, or discard this patch.
src/Pohoda/IssueSlip/HeaderDto.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@  discard block
 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\StringOption(32)]
16 16
     public ?string $numberOrder = null;
17 17
     #[Attributes\Options\DateOption]
18
-    public \DateTimeInterface|string|null $dateOrder = null;
18
+    public \DateTimeInterface | string | null $dateOrder = 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\Options\StringOption(9)]
23 23
     public ?string $acc = null;
24 24
     #[Attributes\Options\StringOption(20)]
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
     #[Attributes\RefElement]
29 29
     public ?string $paymentType = null;
30 30
     #[Attributes\Options\BooleanOption]
31
-    public bool|string|null $isExecuted = null;
31
+    public bool | string | null $isExecuted = null;
32 32
     #[Attributes\Options\BooleanOption]
33
-    public bool|string|null $isDelivered = null;
33
+    public bool | string | null $isDelivered = null;
34 34
     #[Attributes\RefElement]
35 35
     public ?string $centre = null;
36 36
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
37 37
     #[Attributes\RefElement]
38
-    public array|string|null $activity = null;
38
+    public array | string | null $activity = null;
39 39
     #[Attributes\RefElement]
40 40
     public ?string $contract = null;
41 41
     #[Attributes\RefElement]
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public ?string $note = null;
51 51
     public ?string $intNote = null;
52 52
     #[Attributes\Options\BooleanOption]
53
-    public bool|string|null $histRate = null;
53
+    public bool | string | null $histRate = null;
54 54
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
55 55
     public array $parameters = [];
56 56
 }
Please login to merge, or discard this patch.