Passed
Push — v3 ( 35bf58...2c6c1d )
by Andrew
34:25 queued 22:13
created
src/models/jsonld/Reservation.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -220,17 +220,17 @@  discard block
 block discarded – undo
220 220
      */
221 221
     static protected $_schemaPropertyExpectedTypes = [
222 222
         'bookingTime' => ['DateTime'],
223
-        'broker' => ['Organization','Person'],
223
+        'broker' => ['Organization', 'Person'],
224 224
         'modifiedTime' => ['DateTime'],
225 225
         'priceCurrency' => ['Text'],
226 226
         'programMembershipUsed' => ['ProgramMembership'],
227
-        'provider' => ['Organization','Person'],
227
+        'provider' => ['Organization', 'Person'],
228 228
         'reservationFor' => ['Thing'],
229 229
         'reservationId' => ['Text'],
230 230
         'reservationStatus' => ['ReservationStatusType'],
231 231
         'reservedTicket' => ['Ticket'],
232
-        'totalPrice' => ['Number','PriceSpecification','Text'],
233
-        'underName' => ['Organization','Person']
232
+        'totalPrice' => ['Number', 'PriceSpecification', 'Text'],
233
+        'underName' => ['Organization', 'Person']
234 234
     ];
235 235
 
236 236
     /**
@@ -311,7 +311,7 @@  discard block
 block discarded – undo
311 311
     {
312 312
         $rules = parent::rules();
313 313
         $rules = array_merge($rules, [
314
-            [['bookingTime','broker','modifiedTime','priceCurrency','programMembershipUsed','provider','reservationFor','reservationId','reservationStatus','reservedTicket','totalPrice','underName'], 'validateJsonSchema'],
314
+            [['bookingTime', 'broker', 'modifiedTime', 'priceCurrency', 'programMembershipUsed', 'provider', 'reservationFor', 'reservationId', 'reservationStatus', 'reservedTicket', 'totalPrice', 'underName'], 'validateJsonSchema'],
315 315
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
316 316
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
317 317
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Menu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['hasMenuItem','hasMenuSection'], 'validateJsonSchema'],
201
+            [['hasMenuItem', 'hasMenuSection'], 'validateJsonSchema'],
202 202
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
203 203
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
204 204
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Seat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         'seatNumber' => ['Text'],
146 146
         'seatRow' => ['Text'],
147 147
         'seatSection' => ['Text'],
148
-        'seatingType' => ['QualitativeValue','Text']
148
+        'seatingType' => ['QualitativeValue', 'Text']
149 149
     ];
150 150
 
151 151
     /**
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['seatNumber','seatRow','seatSection','seatingType'], 'validateJsonSchema'],
221
+            [['seatNumber', 'seatRow', 'seatSection', 'seatingType'], 'validateJsonSchema'],
222 222
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
223 223
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
224 224
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/OnDemandEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     static protected $_schemaPropertyExpectedTypes = [
138 138
         'isAccessibleForFree' => ['Boolean'],
139
-        'publishedBy' => ['Organization','Person'],
139
+        'publishedBy' => ['Organization', 'Person'],
140 140
         'publishedOn' => ['BroadcastService']
141 141
     ];
142 142
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['isAccessibleForFree','publishedBy','publishedOn'], 'validateJsonSchema'],
212
+            [['isAccessibleForFree', 'publishedBy', 'publishedOn'], 'validateJsonSchema'],
213 213
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
214 214
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
215 215
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TypeAndQuantityNode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -157,8 +157,8 @@  discard block
 block discarded – undo
157 157
     static protected $_schemaPropertyExpectedTypes = [
158 158
         'amountOfThisGood' => ['Number'],
159 159
         'businessFunction' => ['BusinessFunction'],
160
-        'typeOfGood' => ['Product','Service'],
161
-        'unitCode' => ['Text','URL'],
160
+        'typeOfGood' => ['Product', 'Service'],
161
+        'unitCode' => ['Text', 'URL'],
162 162
         'unitText' => ['Text']
163 163
     ];
164 164
 
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     {
234 234
         $rules = parent::rules();
235 235
         $rules = array_merge($rules, [
236
-            [['amountOfThisGood','businessFunction','typeOfGood','unitCode','unitText'], 'validateJsonSchema'],
236
+            [['amountOfThisGood', 'businessFunction', 'typeOfGood', 'unitCode', 'unitText'], 'validateJsonSchema'],
237 237
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238 238
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
239 239
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/OwnershipInfo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,10 +142,10 @@  discard block
 block discarded – undo
142 142
      * @var array
143 143
      */
144 144
     static protected $_schemaPropertyExpectedTypes = [
145
-        'acquiredFrom' => ['Organization','Person'],
145
+        'acquiredFrom' => ['Organization', 'Person'],
146 146
         'ownedFrom' => ['DateTime'],
147 147
         'ownedThrough' => ['DateTime'],
148
-        'typeOfGood' => ['Product','Service']
148
+        'typeOfGood' => ['Product', 'Service']
149 149
     ];
150 150
 
151 151
     /**
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['acquiredFrom','ownedFrom','ownedThrough','typeOfGood'], 'validateJsonSchema'],
221
+            [['acquiredFrom', 'ownedFrom', 'ownedThrough', 'typeOfGood'], 'validateJsonSchema'],
222 222
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
223 223
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
224 224
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/BorrowAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      * @var array
121 121
      */
122 122
     static protected $_schemaPropertyExpectedTypes = [
123
-        'lender' => ['Organization','Person']
123
+        'lender' => ['Organization', 'Person']
124 124
     ];
125 125
 
126 126
     /**
Please login to merge, or discard this patch.
src/models/jsonld/PaymentService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,9 +139,9 @@  discard block
 block discarded – undo
139 139
      * @var array
140 140
      */
141 141
     static protected $_schemaPropertyExpectedTypes = [
142
-        'annualPercentageRate' => ['Number','QuantitativeValue'],
143
-        'feesAndCommissionsSpecification' => ['Text','URL'],
144
-        'interestRate' => ['Number','QuantitativeValue']
142
+        'annualPercentageRate' => ['Number', 'QuantitativeValue'],
143
+        'feesAndCommissionsSpecification' => ['Text', 'URL'],
144
+        'interestRate' => ['Number', 'QuantitativeValue']
145 145
     ];
146 146
 
147 147
     /**
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     {
214 214
         $rules = parent::rules();
215 215
         $rules = array_merge($rules, [
216
-            [['annualPercentageRate','feesAndCommissionsSpecification','interestRate'], 'validateJsonSchema'],
216
+            [['annualPercentageRate', 'feesAndCommissionsSpecification', 'interestRate'], 'validateJsonSchema'],
217 217
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
218 218
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
219 219
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/AlignmentObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
     {
232 232
         $rules = parent::rules();
233 233
         $rules = array_merge($rules, [
234
-            [['alignmentType','educationalFramework','targetDescription','targetName','targetUrl'], 'validateJsonSchema'],
234
+            [['alignmentType', 'educationalFramework', 'targetDescription', 'targetName', 'targetUrl'], 'validateJsonSchema'],
235 235
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
236 236
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
237 237
         ]);
Please login to merge, or discard this patch.