Passed
Push — master ( fdb910...cfaaf4 )
by Petr
03:01
created
src/Pohoda/Stock/RecyclingContribDto.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\RefElement]
11 11
     public ?string $recyclingContribType = null;
12 12
     #[Attributes\Options\FloatOption]
13
-    public float|string|null $coefficientOfRecyclingContrib = null;
13
+    public float | string | null $coefficientOfRecyclingContrib = null;
14 14
 }
Please login to merge, or discard this patch.
src/Pohoda/Stock/IntrastatDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     #[Attributes\Options\StringOption(10)]
17 17
     public ?string $unit = null;
18 18
     #[Attributes\Options\FloatOption]
19
-    public float|string|null $coefficient = null;
19
+    public float | string | null $coefficient = null;
20 20
     #[Attributes\Options\StringOption(2)]
21 21
     public ?string $country = null;
22 22
 }
Please login to merge, or discard this patch.
src/Pohoda/Stock/IntParameterDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 class IntParameterDto extends Dtos\AbstractDto
9 9
 {
10 10
     #[Attributes\Options\IntegerOption, Attributes\Options\RequiredOption]
11
-    public int|string|null $intParameterID = null;
11
+    public int | string | null $intParameterID = null;
12 12
     public ?string $intParameterName = null;
13 13
     public ?string $intParameterOrder = null;
14 14
     #[Attributes\Options\ListOption(['textValue', 'currencyValue', 'booleanValue', 'numberValue', 'integerValue', 'datetimeValue', 'unit', 'listValue']), Attributes\Options\RequiredOption]
Please login to merge, or discard this patch.
src/Pohoda/Stock/StockItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         // process stockPriceItem
21 21
         if (!empty($data->stockPriceItem) && is_array($data->stockPriceItem)) {
22
-            $data->stockPriceItem = \array_map(function (PriceDto $stockPriceItem) {
22
+            $data->stockPriceItem = \array_map(function(PriceDto $stockPriceItem) {
23 23
                 $price = new Price($this->dependenciesFactory);
24 24
                 $price->setDirectionalVariable($this->useOneDirectionalVariables)
25 25
                     ->setResolveOptions($this->resolveOptions)
Please login to merge, or discard this patch.
src/Pohoda/Stock/HeaderDto.php 1 patch
Spacing   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@  discard block
 block discarded – undo
15 15
     public ?string $EAN = null;
16 16
     public ?string $PLU = null;
17 17
     #[Attributes\Options\BooleanOption]
18
-    public bool|string|null $isSales = null;
18
+    public bool | string | null $isSales = null;
19 19
     #[Attributes\Options\BooleanOption]
20
-    public bool|string|null $isSerialNumber = null;
20
+    public bool | string | null $isSerialNumber = null;
21 21
     #[Attributes\Options\BooleanOption]
22
-    public bool|string|null $isInternet = null;
22
+    public bool | string | null $isInternet = null;
23 23
     #[Attributes\Options\BooleanOption]
24
-    public bool|string|null $isBatch = null;
24
+    public bool | string | null $isBatch = null;
25 25
     #[Attributes\Options\ListOption(['none', 'third', 'low', 'high'])]
26 26
     public ?string $purchasingRateVAT = null;
27 27
     #[Attributes\AttributeExtend('purchasingRateVAT', 'value')]
@@ -41,38 +41,38 @@  discard block
 block discarded – undo
41 41
     #[Attributes\Options\StringOption(10)]
42 42
     public ?string $unit3 = null;
43 43
     #[Attributes\Options\FloatOption]
44
-    public float|string|null $coefficient2 = null;
44
+    public float | string | null $coefficient2 = null;
45 45
     #[Attributes\Options\FloatOption]
46
-    public float|string|null $coefficient3 = null;
46
+    public float | string | null $coefficient3 = 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 $storage = null;
49
+    public array | string | null $storage = null;
50 50
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
51 51
     #[Attributes\RefElement]
52
-    public array|string|null $typePrice = null;
52
+    public array | string | null $typePrice = null;
53 53
     #[Attributes\Options\FloatOption]
54
-    public float|string|null $purchasingPrice = null;
54
+    public float | string | null $purchasingPrice = null;
55 55
     #[Attributes\Options\BooleanOption, Attributes\AttributeExtend('purchasingPrice', 'payVAT')]
56
-    public bool|string|null $purchasingPricePayVAT = null;
56
+    public bool | string | null $purchasingPricePayVAT = null;
57 57
     #[Attributes\Options\FloatOption]
58
-    public float|string|null $sellingPrice = null;
58
+    public float | string | null $sellingPrice = null;
59 59
     #[Attributes\Options\BooleanOption, Attributes\AttributeExtend('sellingPrice', 'payVAT')]
60
-    public bool|string|null $sellingPricePayVAT = null;
60
+    public bool | string | null $sellingPricePayVAT = null;
61 61
     #[Attributes\Options\FloatOption]
62
-    public float|string|null $limitMin = null;
62
+    public float | string | null $limitMin = null;
63 63
     #[Attributes\Options\FloatOption]
64
-    public float|string|null $limitMax = null;
64
+    public float | string | null $limitMax = null;
65 65
     #[Attributes\Options\FloatOption]
66
-    public float|string|null $mass = null;
66
+    public float | string | null $mass = null;
67 67
     #[Attributes\Options\FloatOption]
68
-    public float|string|null $volume = null;
68
+    public float | string | null $volume = null;
69 69
     /** @var array<string, string|int|float|bool|array<string, string|int|float|bool>>|string|null */
70 70
     #[Attributes\RefElement]
71
-    public array|string|null $supplier = null;
71
+    public array | string | null $supplier = null;
72 72
     #[Attributes\Options\StringOption(90)]
73 73
     public ?string $orderName = null;
74 74
     #[Attributes\Options\FloatOption]
75
-    public float|string|null $orderQuantity = null;
75
+    public float | string | null $orderQuantity = null;
76 76
     #[Attributes\Options\StringOption(24)]
77 77
     public ?string $shortName = null;
78 78
     #[Attributes\RefElement]
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     #[Attributes\Options\ListOption(['none', 'hour', 'day', 'month', 'year', 'life'])]
81 81
     public ?string $guaranteeType = null;
82 82
     #[Attributes\Options\IntegerOption]
83
-    public int|string|null $guarantee = null;
83
+    public int | string | null $guarantee = null;
84 84
     #[Attributes\Options\StringOption(90)]
85 85
     public ?string $producer = null;
86 86
     #[Attributes\RefElement]
@@ -89,46 +89,46 @@  discard block
 block discarded – undo
89 89
     public ?string $description = null;
90 90
     public ?string $description2 = null;
91 91
     public ?string $note = null;
92
-    public Intrastat|IntrastatDto|null $intrastat = null;
93
-    public RecyclingContrib|RecyclingContribDto|null $recyclingContrib = null;
92
+    public Intrastat | IntrastatDto | null $intrastat = null;
93
+    public RecyclingContrib | RecyclingContribDto | null $recyclingContrib = null;
94 94
 
95 95
     // data for response
96 96
     #[Attributes\ResponseDirection]
97 97
     public ?string $id = null;
98 98
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
99
-    public float|string|null $weightedPurchasePrice = null;
99
+    public float | string | null $weightedPurchasePrice = null;
100 100
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
101
-    public float|string|null $count = null;
101
+    public float | string | null $count = null;
102 102
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
103
-    public float|string|null $countIssue = null;
103
+    public float | string | null $countIssue = null;
104 104
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
105
-    public float|string|null $countReceivedOrders = null;
105
+    public float | string | null $countReceivedOrders = null;
106 106
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
107
-    public float|string|null $reservation = null;
107
+    public float | string | null $reservation = null;
108 108
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
109
-    public float|string|null $countIssuedOrders = null;
109
+    public float | string | null $countIssuedOrders = null;
110 110
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
111
-    public bool|string|null $clearanceSale = null;
111
+    public bool | string | null $clearanceSale = null;
112 112
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
113
-    public bool|string|null $controlLimitTaxLiability = null;
113
+    public bool | string | null $controlLimitTaxLiability = null;
114 114
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
115
-    public bool|string|null $discount = null;
115
+    public bool | string | null $discount = null;
116 116
     #[Attributes\ResponseDirection, Attributes\Options\StringOption(90)]
117 117
     public ?string $fixation = null;
118 118
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
119
-    public bool|string|null $markRecord = null;
119
+    public bool | string | null $markRecord = null;
120 120
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
121
-    public bool|string|null $news = null;
121
+    public bool | string | null $news = null;
122 122
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
123
-    public bool|string|null $prepare = null;
123
+    public bool | string | null $prepare = null;
124 124
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
125
-    public bool|string|null $recommended = null;
125
+    public bool | string | null $recommended = null;
126 126
     #[Attributes\ResponseDirection, Attributes\Options\BooleanOption]
127
-    public bool|string|null $sale = null;
127
+    public bool | string | null $sale = null;
128 128
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
129
-    public float|string|null $reclamation = null;
129
+    public float | string | null $reclamation = null;
130 130
     #[Attributes\ResponseDirection, Attributes\Options\FloatOption]
131
-    public float|string|null $service = null;
131
+    public float | string | null $service = null;
132 132
 
133 133
     // contains extra elements
134 134
     /** @var array<Category|CategoryDto> */
Please login to merge, or discard this patch.
src/Pohoda/Stock/StockDto.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 
8 8
 class StockDto extends Dtos\AbstractDto
9 9
 {
10
-    public Type\ActionType|Type\Dtos\ActionTypeDto|null $actionType = null;
11
-    public Header|HeaderDto|null $header = null;
10
+    public Type\ActionType | Type\Dtos\ActionTypeDto | null $actionType = null;
11
+    public Header | HeaderDto | null $header = null;
12 12
     /** @var array<StockItem|StockItemDto> */
13 13
     public array $stockDetail = [];
14 14
     /** @var array<Price|PriceDto> */
Please login to merge, or discard this patch.
src/Pohoda/Stock/PictureDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,5 +13,5 @@
 block discarded – undo
13 13
     #[Attributes\Options\IntegerOption]
14 14
     public ?int $order = null;
15 15
     #[Attributes\JustAttribute, Attributes\Options\BooleanOption, Attributes\Options\DefaultOption(false)]
16
-    public bool|string|null $default = null;
16
+    public bool | string | null $default = null;
17 17
 }
Please login to merge, or discard this patch.
src/Pohoda/UserList/ItemUserCodeDto.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
     #[Attributes\Options\RequiredOption]
13 13
     public ?string $name = null;
14 14
     #[Attributes\Options\IntegerOption]
15
-    public int|string|null $constant = null;
15
+    public int | string | null $constant = null;
16 16
 }
Please login to merge, or discard this patch.
src/Pohoda/UserList/UserListDto.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,13 +12,13 @@
 block discarded – undo
12 12
     #[Attributes\Options\RequiredOption]
13 13
     public ?string $name = null;
14 14
     #[Attributes\Options\BooleanOption]
15
-    public bool|string|null $constants = null;
15
+    public bool | string | null $constants = null;
16 16
     #[Attributes\Options\DateTimeOption]
17
-    public \DateTimeInterface|string|null $dateTimeStamp = null;
17
+    public \DateTimeInterface | string | null $dateTimeStamp = null;
18 18
     #[Attributes\Options\DateOption]
19
-    public \DateTimeInterface|string|null $dateValidFrom = null;
19
+    public \DateTimeInterface | string | null $dateValidFrom = null;
20 20
     #[Attributes\Options\BooleanOption]
21
-    public bool|string|null $submenu = null;
21
+    public bool | string | null $submenu = null;
22 22
     /** @var array<ItemUserCode> */
23 23
     #[Attributes\JustAttribute]
24 24
     public array $itemUserCodes = [];
Please login to merge, or discard this patch.