Passed
Push — master ( fdb910...cfaaf4 )
by Petr
03:01
created
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.
src/Pohoda/Common/Dtos/AbstractHeaderDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 abstract class AbstractHeaderDto extends AbstractDto
12 12
 {
13 13
     #[Common\Attributes\OnlyInternal]
14
-    public Type\Dtos\AddressDto|Type\Address|null $partnerIdentity = null;
14
+    public Type\Dtos\AddressDto | Type\Address | null $partnerIdentity = null;
15 15
     #[Common\Attributes\OnlyInternal]
16
-    public Type\Dtos\MyAddressDto|Type\MyAddress|null $myIdentity = null;
16
+    public Type\Dtos\MyAddressDto | Type\MyAddress | null $myIdentity = null;
17 17
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
18 18
     #[Common\Attributes\OnlyInternal]
19 19
     public array $parameters = [];
Please login to merge, or discard this patch.
src/Pohoda/Common/Dtos/AbstractSummaryDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 abstract class AbstractSummaryDto extends AbstractDto
12 12
 {
13 13
     #[Common\Attributes\OnlyInternal]
14
-    public Type\Dtos\CurrencyHomeDto|Type\CurrencyHome|null $homeCurrency = null;
14
+    public Type\Dtos\CurrencyHomeDto | Type\CurrencyHome | null $homeCurrency = null;
15 15
     #[Common\Attributes\OnlyInternal]
16
-    public Type\Dtos\CurrencyForeignDto|Type\CurrencyForeign|null $foreignCurrency = null;
16
+    public Type\Dtos\CurrencyForeignDto | Type\CurrencyForeign | null $foreignCurrency = null;
17 17
 }
Please login to merge, or discard this patch.
src/Pohoda/Common/Dtos/AbstractItemDto.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 abstract class AbstractItemDto extends AbstractDto
12 12
 {
13 13
     #[Common\Attributes\OnlyInternal]
14
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $homeCurrency = null;
14
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $homeCurrency = null;
15 15
     #[Common\Attributes\OnlyInternal]
16
-    public Type\Dtos\CurrencyItemDto|Type\CurrencyItem|null $foreignCurrency = null;
16
+    public Type\Dtos\CurrencyItemDto | Type\CurrencyItem | null $foreignCurrency = null;
17 17
     #[Common\Attributes\OnlyInternal]
18
-    public Type\Dtos\StockItemDto|Type\StockItem|null $stockItem = null;
18
+    public Type\Dtos\StockItemDto | Type\StockItem | null $stockItem = null;
19 19
     /** @var array<Type\Parameter|Type\Dtos\ParameterDto> */
20 20
     #[Common\Attributes\OnlyInternal]
21 21
     public array $parameters = [];
Please login to merge, or discard this patch.