Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/EntertainmentBusiness.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
     {
227 227
         $rules = parent::rules();
228 228
         $rules = array_merge($rules, [
229
-            [['currenciesAccepted','openingHours','paymentAccepted','priceRange'], 'validateJsonSchema'],
229
+            [['currenciesAccepted', 'openingHours', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'],
230 230
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
231 231
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
232 232
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Question.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/True.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/Service.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -288,25 +288,25 @@  discard block
 block discarded – undo
288 288
      */
289 289
     static protected $_schemaPropertyExpectedTypes = [
290 290
         'aggregateRating' => ['AggregateRating'],
291
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
291
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
292 292
         'audience' => ['Audience'],
293 293
         'availableChannel' => ['ServiceChannel'],
294 294
         'award' => ['Text'],
295
-        'brand' => ['Brand','Organization'],
296
-        'broker' => ['Organization','Person'],
297
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
295
+        'brand' => ['Brand', 'Organization'],
296
+        'broker' => ['Organization', 'Person'],
297
+        'category' => ['PhysicalActivityCategory', 'Text', 'Thing'],
298 298
         'hasOfferCatalog' => ['OfferCatalog'],
299 299
         'hoursAvailable' => ['OpeningHoursSpecification'],
300
-        'isRelatedTo' => ['Product','Service'],
301
-        'isSimilarTo' => ['Product','Service'],
302
-        'logo' => ['ImageObject','URL'],
300
+        'isRelatedTo' => ['Product', 'Service'],
301
+        'isSimilarTo' => ['Product', 'Service'],
302
+        'logo' => ['ImageObject', 'URL'],
303 303
         'offers' => ['Offer'],
304
-        'provider' => ['Organization','Person'],
304
+        'provider' => ['Organization', 'Person'],
305 305
         'providerMobility' => ['Text'],
306 306
         'review' => ['Review'],
307 307
         'serviceOutput' => ['Thing'],
308 308
         'serviceType' => ['Text'],
309
-        'termsOfService' => ['Text','URL']
309
+        'termsOfService' => ['Text', 'URL']
310 310
     ];
311 311
 
312 312
     /**
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     {
396 396
         $rules = parent::rules();
397 397
         $rules = array_merge($rules, [
398
-            [['aggregateRating','areaServed','audience','availableChannel','award','brand','broker','category','hasOfferCatalog','hoursAvailable','isRelatedTo','isSimilarTo','logo','offers','provider','providerMobility','review','serviceOutput','serviceType','termsOfService'], 'validateJsonSchema'],
398
+            [['aggregateRating', 'areaServed', 'audience', 'availableChannel', 'award', 'brand', 'broker', 'category', 'hasOfferCatalog', 'hoursAvailable', 'isRelatedTo', 'isSimilarTo', 'logo', 'offers', 'provider', 'providerMobility', 'review', 'serviceOutput', 'serviceType', 'termsOfService'], 'validateJsonSchema'],
399 399
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
400 400
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
401 401
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/WinAction.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
src/models/jsonld/TrainReservation.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this 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/GatedResidenceCommunity.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this 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/SuspendAction.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -218,13 +218,13 @@  discard block
 block discarded – undo
218 218
      */
219 219
     static protected $_schemaPropertyExpectedTypes = [
220 220
         'actionStatus' => ['ActionStatusType'],
221
-        'agent' => ['Organization','Person'],
221
+        'agent' => ['Organization', 'Person'],
222 222
         'endTime' => ['DateTime'],
223 223
         'error' => ['Thing'],
224 224
         'instrument' => ['Thing'],
225
-        'location' => ['Place','PostalAddress','Text'],
225
+        'location' => ['Place', 'PostalAddress', 'Text'],
226 226
         'object' => ['Thing'],
227
-        'participant' => ['Organization','Person'],
227
+        'participant' => ['Organization', 'Person'],
228 228
         'result' => ['Thing'],
229 229
         'startTime' => ['DateTime'],
230 230
         'target' => ['EntryPoint']
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     {
308 308
         $rules = parent::rules();
309 309
         $rules = array_merge($rules, [
310
-            [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
310
+            [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'],
311 311
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
312 312
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
313 313
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PerformanceRole.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.