Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/Recipe.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,8 +191,8 @@  discard block
 block discarded – undo
191 191
         'recipeCategory' => ['Text'],
192 192
         'recipeCuisine' => ['Text'],
193 193
         'recipeIngredient' => ['Text'],
194
-        'recipeInstructions' => ['CreativeWork','ItemList','Text'],
195
-        'recipeYield' => ['QuantitativeValue','Text'],
194
+        'recipeInstructions' => ['CreativeWork', 'ItemList', 'Text'],
195
+        'recipeYield' => ['QuantitativeValue', 'Text'],
196 196
         'suitableForDiet' => ['RestrictedDiet']
197 197
     ];
198 198
 
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     {
272 272
         $rules = parent::rules();
273 273
         $rules = array_merge($rules, [
274
-            [['cookTime','cookingMethod','nutrition','recipeCategory','recipeCuisine','recipeIngredient','recipeInstructions','recipeYield','suitableForDiet'], 'validateJsonSchema'],
274
+            [['cookTime', 'cookingMethod', 'nutrition', 'recipeCategory', 'recipeCuisine', 'recipeIngredient', 'recipeInstructions', 'recipeYield', 'suitableForDiet'], 'validateJsonSchema'],
275 275
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
276 276
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
277 277
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ListItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     static protected $_schemaPropertyExpectedTypes = [
145 145
         'item' => ['Thing'],
146 146
         'nextItem' => ['ListItem'],
147
-        'position' => ['Integer','Text'],
147
+        'position' => ['Integer', 'Text'],
148 148
         'previousItem' => ['ListItem']
149 149
     ];
150 150
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['item','nextItem','position','previousItem'], 'validateJsonSchema'],
221
+            [['item', 'nextItem', 'position', 'previousItem'], '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/ParcelDelivery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
         'itemShipped' => ['Product'],
211 211
         'originAddress' => ['PostalAddress'],
212 212
         'partOfOrder' => ['Order'],
213
-        'provider' => ['Organization','Person'],
213
+        'provider' => ['Organization', 'Person'],
214 214
         'trackingNumber' => ['Text'],
215 215
         'trackingUrl' => ['URL']
216 216
     ];
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     {
293 293
         $rules = parent::rules();
294 294
         $rules = array_merge($rules, [
295
-            [['deliveryAddress','deliveryStatus','expectedArrivalFrom','expectedArrivalUntil','hasDeliveryMethod','itemShipped','originAddress','partOfOrder','provider','trackingNumber','trackingUrl'], 'validateJsonSchema'],
295
+            [['deliveryAddress', 'deliveryStatus', 'expectedArrivalFrom', 'expectedArrivalUntil', 'hasDeliveryMethod', 'itemShipped', 'originAddress', 'partOfOrder', 'provider', 'trackingNumber', 'trackingUrl'], 'validateJsonSchema'],
296 296
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
297 297
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
298 298
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ExerciseAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@
 block discarded – undo
304 304
     {
305 305
         $rules = parent::rules();
306 306
         $rules = array_merge($rules, [
307
-            [['diet','distance','exerciseCourse','exercisePlan','exerciseRelatedDiet','exerciseType','fromLocation','opponent','sportsActivityLocation','sportsEvent','sportsTeam','toLocation'], 'validateJsonSchema'],
307
+            [['diet', 'distance', 'exerciseCourse', 'exercisePlan', 'exerciseRelatedDiet', 'exerciseType', 'fromLocation', 'opponent', 'sportsActivityLocation', 'sportsEvent', 'sportsTeam', 'toLocation'], 'validateJsonSchema'],
308 308
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
309 309
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
310 310
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/BedDetails.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     static protected $_schemaPropertyExpectedTypes = [
133 133
         'numberOfBeds' => ['Number'],
134
-        'typeOfBed' => ['BedType','Text']
134
+        'typeOfBed' => ['BedType', 'Text']
135 135
     ];
136 136
 
137 137
     /**
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     {
203 203
         $rules = parent::rules();
204 204
         $rules = array_merge($rules, [
205
-            [['numberOfBeds','typeOfBed'], 'validateJsonSchema'],
205
+            [['numberOfBeds', 'typeOfBed'], 'validateJsonSchema'],
206 206
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
207 207
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
208 208
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/FlightReservation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      */
147 147
     static protected $_schemaPropertyExpectedTypes = [
148 148
         'boardingGroup' => ['Text'],
149
-        'passengerPriorityStatus' => ['QualitativeValue','Text'],
149
+        'passengerPriorityStatus' => ['QualitativeValue', 'Text'],
150 150
         'passengerSequenceNumber' => ['Text'],
151 151
         'securityScreening' => ['Text']
152 152
     ];
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     {
222 222
         $rules = parent::rules();
223 223
         $rules = array_merge($rules, [
224
-            [['boardingGroup','passengerPriorityStatus','passengerSequenceNumber','securityScreening'], 'validateJsonSchema'],
224
+            [['boardingGroup', 'passengerPriorityStatus', 'passengerSequenceNumber', 'securityScreening'], 'validateJsonSchema'],
225 225
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
226 226
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
227 227
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Car.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
     {
206 206
         $rules = parent::rules();
207 207
         $rules = array_merge($rules, [
208
-            [['acrissCode','roofLoad'], 'validateJsonSchema'],
208
+            [['acrissCode', 'roofLoad'], 'validateJsonSchema'],
209 209
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
210 210
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
211 211
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DataCatalog.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141 141
         'dataset' => ['Dataset'],
142
-        'measurementTechnique' => ['Text','URL']
142
+        'measurementTechnique' => ['Text', 'URL']
143 143
     ];
144 144
 
145 145
     /**
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $rules = parent::rules();
212 212
         $rules = array_merge($rules, [
213
-            [['dataset','measurementTechnique'], 'validateJsonSchema'],
213
+            [['dataset', 'measurementTechnique'], 'validateJsonSchema'],
214 214
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
215 215
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
216 216
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Invoice.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -241,19 +241,19 @@  discard block
 block discarded – undo
241 241
     static protected $_schemaPropertyExpectedTypes = [
242 242
         'accountId' => ['Text'],
243 243
         'billingPeriod' => ['Duration'],
244
-        'broker' => ['Organization','Person'],
245
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
244
+        'broker' => ['Organization', 'Person'],
245
+        'category' => ['PhysicalActivityCategory', 'Text', 'Thing'],
246 246
         'confirmationNumber' => ['Text'],
247
-        'customer' => ['Organization','Person'],
248
-        'minimumPaymentDue' => ['MonetaryAmount','PriceSpecification'],
247
+        'customer' => ['Organization', 'Person'],
248
+        'minimumPaymentDue' => ['MonetaryAmount', 'PriceSpecification'],
249 249
         'paymentDueDate' => ['DateTime'],
250 250
         'paymentMethod' => ['PaymentMethod'],
251 251
         'paymentMethodId' => ['Text'],
252
-        'paymentStatus' => ['PaymentStatusType','Text'],
253
-        'provider' => ['Organization','Person'],
252
+        'paymentStatus' => ['PaymentStatusType', 'Text'],
253
+        'provider' => ['Organization', 'Person'],
254 254
         'referencesOrder' => ['Order'],
255 255
         'scheduledPaymentDate' => ['Date'],
256
-        'totalPaymentDue' => ['MonetaryAmount','PriceSpecification']
256
+        'totalPaymentDue' => ['MonetaryAmount', 'PriceSpecification']
257 257
     ];
258 258
 
259 259
     /**
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
     {
338 338
         $rules = parent::rules();
339 339
         $rules = array_merge($rules, [
340
-            [['accountId','billingPeriod','broker','category','confirmationNumber','customer','minimumPaymentDue','paymentDueDate','paymentMethod','paymentMethodId','paymentStatus','provider','referencesOrder','scheduledPaymentDate','totalPaymentDue'], 'validateJsonSchema'],
340
+            [['accountId', 'billingPeriod', 'broker', 'category', 'confirmationNumber', 'customer', 'minimumPaymentDue', 'paymentDueDate', 'paymentMethod', 'paymentMethodId', 'paymentStatus', 'provider', 'referencesOrder', 'scheduledPaymentDate', 'totalPaymentDue'], 'validateJsonSchema'],
341 341
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
342 342
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
343 343
         ]);
Please login to merge, or discard this patch.