Passed
Push — master ( 221c35...fdb910 )
by Petr
02:59
created
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.
src/Pohoda/ListRequest/RestrictionDataDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,5 +8,5 @@
 block discarded – undo
8 8
 class RestrictionDataDto extends AbstractDto
9 9
 {
10 10
     #[Attributes\Options\BooleanOption]
11
-    public bool|string|null $liquidations = null;
11
+    public bool | string | null $liquidations = null;
12 12
 }
Please login to merge, or discard this patch.
src/Pohoda/ListRequest/FilterDto.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 class FilterDto extends AbstractDto
9 9
 {
10 10
     #[Attributes\Options\IntegerOption]
11
-    public int|string|null $id = null;
11
+    public int | string | null $id = null;
12 12
     #[Attributes\RefElement]
13 13
     public ?string $extId = null;
14 14
     public ?string $code = null;
@@ -16,20 +16,20 @@  discard block
 block discarded – undo
16 16
     public ?string $name = null;
17 17
     /** @var array<string, string|int|float|bool>|string|null */
18 18
     #[Attributes\RefElement]
19
-    public array|string|null $storage = null;
19
+    public array | string | null $storage = null;
20 20
     #[Attributes\RefElement]
21 21
     public ?string $store = null;
22 22
     #[Attributes\Options\BooleanOption]
23
-    public bool|string|null $internet = null;
23
+    public bool | string | null $internet = null;
24 24
     public ?string $company = null;
25 25
     public ?string $ico = null;
26 26
     public ?string $dic = null;
27 27
     #[Attributes\Options\DateTimeOption]
28
-    public \DateTimeInterface|string|null $lastChanges = null;
28
+    public \DateTimeInterface | string | null $lastChanges = null;
29 29
     #[Attributes\Options\DateOption]
30
-    public \DateTimeInterface|string|null $dateFrom = null;
30
+    public \DateTimeInterface | string | null $dateFrom = null;
31 31
     #[Attributes\Options\DateOption]
32
-    public \DateTimeInterface|string|null $dateTill = null;
32
+    public \DateTimeInterface | string | null $dateTill = null;
33 33
     #[Attributes\RefElement]
34 34
     public ?string $selectedNumbers = null;
35 35
     #[Attributes\RefElement]
Please login to merge, or discard this patch.
src/Pohoda/ListRequest/LimitDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 class LimitDto extends AbstractDto
9 9
 {
10 10
     #[Attributes\Options\IntegerOption]
11
-    public int|string|null $idFrom = null;
11
+    public int | string | null $idFrom = null;
12 12
     #[Attributes\Options\IntegerOption]
13
-    public int|string|null $count = null;
13
+    public int | string | null $count = null;
14 14
 }
Please login to merge, or discard this patch.
src/Pohoda/ListRequest/ListRequestDto.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,15 +19,15 @@
 block discarded – undo
19 19
     #[Attributes\Options\DefaultOption(['\kalanis\Pohoda\ListRequest\ListRequestDto', 'normalizeInvoiceType']), Attributes\Options\ListOption([null, 'issuedInvoice', 'issuedCreditNotice', 'issuedDebitNote', 'issuedAdvanceInvoice', 'receivable', 'issuedProformaInvoice', 'penalty', 'issuedCorrectiveTax', 'receivedInvoice', 'receivedCreditNotice', 'receivedDebitNote', 'receivedAdvanceInvoice', 'commitment', 'receivedProformaInvoice', 'receivedCorrectiveTax'])]
20 20
     public ?string $invoiceType = null;
21 21
     #[Attributes\JustAttribute]
22
-    public Limit|LimitDto|null $limit = null;
22
+    public Limit | LimitDto | null $limit = null;
23 23
     #[Attributes\JustAttribute]
24
-    public Filter|FilterDto|null $filter = null;
24
+    public Filter | FilterDto | null $filter = null;
25 25
     #[Attributes\JustAttribute]
26
-    public QueryFilter|QueryFilterDto|null $queryFilter = null;
26
+    public QueryFilter | QueryFilterDto | null $queryFilter = null;
27 27
     #[Attributes\JustAttribute]
28
-    public RestrictionData|RestrictionDataDto|null $restrictionData = null;
28
+    public RestrictionData | RestrictionDataDto | null $restrictionData = null;
29 29
     #[Attributes\JustAttribute]
30
-    public UserFilterName|UserFilterNameDto|null $userFilterName = null;
30
+    public UserFilterName | UserFilterNameDto | null $userFilterName = null;
31 31
 
32 32
     public static function normalizeNamespace(Options $options): string
33 33
     {
Please login to merge, or discard this patch.
src/Pohoda/Contract/DescDto.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,21 +11,21 @@
 block discarded – undo
11 11
     #[Attributes\RefElement]
12 12
     public ?string $number = null;
13 13
     #[Attributes\Options\DateOption]
14
-    public \DateTimeInterface|string|null $datePlanStart = null;
14
+    public \DateTimeInterface | string | null $datePlanStart = null;
15 15
     #[Attributes\Options\DateOption]
16
-    public \DateTimeInterface|string|null $datePlanDelivery = null;
16
+    public \DateTimeInterface | string | null $datePlanDelivery = null;
17 17
     #[Attributes\Options\DateOption]
18
-    public \DateTimeInterface|string|null $dateStart = null;
18
+    public \DateTimeInterface | string | null $dateStart = null;
19 19
     #[Attributes\Options\DateOption]
20
-    public \DateTimeInterface|string|null $dateDelivery = null;
20
+    public \DateTimeInterface | string | null $dateDelivery = null;
21 21
     #[Attributes\Options\DateOption]
22
-    public \DateTimeInterface|string|null $dateWarranty = null;
22
+    public \DateTimeInterface | string | null $dateWarranty = null;
23 23
     #[Attributes\Options\StringOption(90), Attributes\Options\RequiredOption]
24 24
     public ?string $text = null;
25
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
25
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
26 26
     /** @var array<string, string>|string|null */
27 27
     #[Attributes\RefElement]
28
-    public array|string|null $responsiblePerson = null;
28
+    public array | string | null $responsiblePerson = null;
29 29
     public ?string $note = null;
30 30
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
31 31
     public array $parameters = [];
Please login to merge, or discard this patch.
src/Pohoda/Contract/ContractDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 class ContractDto extends Dtos\AbstractDto
8 8
 {
9
-    public Desc|DescDto|null $header = null;
9
+    public Desc | DescDto | null $header = null;
10 10
 }
Please login to merge, or discard this patch.
src/Pohoda/Common/Attributes/Represents.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
      * @param string|string[] $differentVariable
15 15
      */
16 16
     public function __construct(
17
-        public readonly string|array $differentVariable,
17
+        public readonly string | array $differentVariable,
18 18
     ) {}
19 19
 }
Please login to merge, or discard this patch.