Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/AcceptAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'purpose' => ['MedicalDevicePurpose','Thing']
121
+        'purpose' => ['MedicalDevicePurpose', 'Thing']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
src/models/jsonld/Campground.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -187,10 +187,10 @@  discard block
 block discarded – undo
187 187
     static protected $_schemaPropertyExpectedTypes = [
188 188
         'amenityFeature' => ['LocationFeatureSpecification'],
189 189
         'audience' => ['Audience'],
190
-        'availableLanguage' => ['Language','Text'],
190
+        'availableLanguage' => ['Language', 'Text'],
191 191
         'checkinTime' => ['DateTime'],
192 192
         'checkoutTime' => ['DateTime'],
193
-        'petsAllowed' => ['Boolean','Text'],
193
+        'petsAllowed' => ['Boolean', 'Text'],
194 194
         'starRating' => ['Rating']
195 195
     ];
196 196
 
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     {
268 268
         $rules = parent::rules();
269 269
         $rules = array_merge($rules, [
270
-            [['amenityFeature','audience','availableLanguage','checkinTime','checkoutTime','petsAllowed','starRating'], 'validateJsonSchema'],
270
+            [['amenityFeature', 'audience', 'availableLanguage', 'checkinTime', 'checkoutTime', 'petsAllowed', 'starRating'], 'validateJsonSchema'],
271 271
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
272 272
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
273 273
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ParcelService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * @var array
122 122
      */
123 123
     static protected $_schemaPropertyExpectedTypes = [
124
-        'supersededBy' => ['Class','Enumeration','Property']
124
+        'supersededBy' => ['Class', 'Enumeration', 'Property']
125 125
     ];
126 126
 
127 127
     /**
Please login to merge, or discard this patch.
src/models/jsonld/HowToItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'requiredQuantity' => ['Number','QuantitativeValue','Text']
121
+        'requiredQuantity' => ['Number', 'QuantitativeValue', 'Text']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
src/models/jsonld/SteeringPositionValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
         'lesser' => ['QualitativeValue'],
194 194
         'lesserOrEqual' => ['QualitativeValue'],
195 195
         'nonEqual' => ['QualitativeValue'],
196
-        'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue']
196
+        'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue']
197 197
     ];
198 198
 
199 199
     /**
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     {
271 271
         $rules = parent::rules();
272 272
         $rules = array_merge($rules, [
273
-            [['additionalProperty','equal','greater','greaterOrEqual','lesser','lesserOrEqual','nonEqual','valueReference'], 'validateJsonSchema'],
273
+            [['additionalProperty', 'equal', 'greater', 'greaterOrEqual', 'lesser', 'lesserOrEqual', 'nonEqual', 'valueReference'], 'validateJsonSchema'],
274 274
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
275 275
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
276 276
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MonetaryAmount.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
         'minValue' => ['Number'],
172 172
         'validFrom' => ['DateTime'],
173 173
         'validThrough' => ['DateTime'],
174
-        'value' => ['Boolean','Number','StructuredValue','Text']
174
+        'value' => ['Boolean', 'Number', 'StructuredValue', 'Text']
175 175
     ];
176 176
 
177 177
     /**
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
     {
247 247
         $rules = parent::rules();
248 248
         $rules = array_merge($rules, [
249
-            [['currency','maxValue','minValue','validFrom','validThrough','value'], 'validateJsonSchema'],
249
+            [['currency', 'maxValue', 'minValue', 'validFrom', 'validThrough', 'value'], 'validateJsonSchema'],
250 250
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
251 251
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
252 252
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/LakeBodyOfWater.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
      */
429 429
     static protected $_schemaPropertyExpectedTypes = [
430 430
         'additionalProperty' => ['PropertyValue'],
431
-        'address' => ['PostalAddress','Text'],
431
+        'address' => ['PostalAddress', 'Text'],
432 432
         'aggregateRating' => ['AggregateRating'],
433 433
         'amenityFeature' => ['LocationFeatureSpecification'],
434 434
         'branchCode' => ['Text'],
@@ -436,25 +436,25 @@  discard block
 block discarded – undo
436 436
         'containsPlace' => ['Place'],
437 437
         'event' => ['Event'],
438 438
         'faxNumber' => ['Text'],
439
-        'geo' => ['GeoCoordinates','GeoShape'],
440
-        'geospatiallyContains' => ['GeospatialGeometry','Place'],
441
-        'geospatiallyCoveredBy' => ['GeospatialGeometry','Place'],
442
-        'geospatiallyCovers' => ['GeospatialGeometry','Place'],
443
-        'geospatiallyCrosses' => ['GeospatialGeometry','Place'],
444
-        'geospatiallyDisjoint' => ['GeospatialGeometry','Place'],
445
-        'geospatiallyEquals' => ['GeospatialGeometry','Place'],
446
-        'geospatiallyIntersects' => ['GeospatialGeometry','Place'],
447
-        'geospatiallyOverlaps' => ['GeospatialGeometry','Place'],
448
-        'geospatiallyTouches' => ['GeospatialGeometry','Place'],
449
-        'geospatiallyWithin' => ['GeospatialGeometry','Place'],
439
+        'geo' => ['GeoCoordinates', 'GeoShape'],
440
+        'geospatiallyContains' => ['GeospatialGeometry', 'Place'],
441
+        'geospatiallyCoveredBy' => ['GeospatialGeometry', 'Place'],
442
+        'geospatiallyCovers' => ['GeospatialGeometry', 'Place'],
443
+        'geospatiallyCrosses' => ['GeospatialGeometry', 'Place'],
444
+        'geospatiallyDisjoint' => ['GeospatialGeometry', 'Place'],
445
+        'geospatiallyEquals' => ['GeospatialGeometry', 'Place'],
446
+        'geospatiallyIntersects' => ['GeospatialGeometry', 'Place'],
447
+        'geospatiallyOverlaps' => ['GeospatialGeometry', 'Place'],
448
+        'geospatiallyTouches' => ['GeospatialGeometry', 'Place'],
449
+        'geospatiallyWithin' => ['GeospatialGeometry', 'Place'],
450 450
         'globalLocationNumber' => ['Text'],
451
-        'hasMap' => ['Map','URL'],
451
+        'hasMap' => ['Map', 'URL'],
452 452
         'isAccessibleForFree' => ['Boolean'],
453 453
         'isicV4' => ['Text'],
454
-        'logo' => ['ImageObject','URL'],
454
+        'logo' => ['ImageObject', 'URL'],
455 455
         'maximumAttendeeCapacity' => ['Integer'],
456 456
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
457
-        'photo' => ['ImageObject','Photograph'],
457
+        'photo' => ['ImageObject', 'Photograph'],
458 458
         'publicAccess' => ['Boolean'],
459 459
         'review' => ['Review'],
460 460
         'smokingAllowed' => ['Boolean'],
@@ -561,7 +561,7 @@  discard block
 block discarded – undo
561 561
     {
562 562
         $rules = parent::rules();
563 563
         $rules = array_merge($rules, [
564
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geospatiallyContains','geospatiallyCoveredBy','geospatiallyCovers','geospatiallyCrosses','geospatiallyDisjoint','geospatiallyEquals','geospatiallyIntersects','geospatiallyOverlaps','geospatiallyTouches','geospatiallyWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'],
564
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geospatiallyContains', 'geospatiallyCoveredBy', 'geospatiallyCovers', 'geospatiallyCrosses', 'geospatiallyDisjoint', 'geospatiallyEquals', 'geospatiallyIntersects', 'geospatiallyOverlaps', 'geospatiallyTouches', 'geospatiallyWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone'], 'validateJsonSchema'],
565 565
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
566 566
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
567 567
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/GeoShape.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -186,11 +186,11 @@  discard block
 block discarded – undo
186 186
      * @var array
187 187
      */
188 188
     static protected $_schemaPropertyExpectedTypes = [
189
-        'address' => ['PostalAddress','Text'],
190
-        'addressCountry' => ['Country','Text'],
189
+        'address' => ['PostalAddress', 'Text'],
190
+        'addressCountry' => ['Country', 'Text'],
191 191
         'box' => ['Text'],
192 192
         'circle' => ['Text'],
193
-        'elevation' => ['Number','Text'],
193
+        'elevation' => ['Number', 'Text'],
194 194
         'line' => ['Text'],
195 195
         'polygon' => ['Text'],
196 196
         'postalCode' => ['Text']
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     {
271 271
         $rules = parent::rules();
272 272
         $rules = array_merge($rules, [
273
-            [['address','addressCountry','box','circle','elevation','line','polygon','postalCode'], 'validateJsonSchema'],
273
+            [['address', 'addressCountry', 'box', 'circle', 'elevation', 'line', 'polygon', 'postalCode'], 'validateJsonSchema'],
274 274
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
275 275
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
276 276
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PaymentChargeSpecification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     {
200 200
         $rules = parent::rules();
201 201
         $rules = array_merge($rules, [
202
-            [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'],
202
+            [['appliesToDeliveryMethod', 'appliesToPaymentMethod'], 'validateJsonSchema'],
203 203
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
204 204
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
205 205
         ]);
Please login to merge, or discard this patch.