Passed
Push — v3 ( 6054b6...238b69 )
by Andrew
27:44 queued 16:28
created
src/models/jsonld/BusTrip.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   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -141,10 +141,10 @@  discard block
 block discarded – undo
141 141
      * @var array
142 142
      */
143 143
     static protected $_schemaPropertyExpectedTypes = [
144
-        'arrivalBusStop' => ['BusStation','BusStop'],
144
+        'arrivalBusStop' => ['BusStation', 'BusStop'],
145 145
         'busName' => ['Text'],
146 146
         'busNumber' => ['Text'],
147
-        'departureBusStop' => ['BusStation','BusStop']
147
+        'departureBusStop' => ['BusStation', 'BusStop']
148 148
     ];
149 149
 
150 150
     /**
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     {
218 218
         $rules = parent::rules();
219 219
         $rules = array_merge($rules, [
220
-            [['arrivalBusStop','busName','busNumber','departureBusStop'], 'validateJsonSchema'],
220
+            [['arrivalBusStop', 'busName', 'busNumber', 'departureBusStop'], 'validateJsonSchema'],
221 221
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
222 222
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
223 223
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Room.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
@@ -268,14 +268,14 @@  discard block
 block discarded – undo
268 268
         'amenityFeature' => ['LocationFeatureSpecification'],
269 269
         'floorLevel' => ['Text'],
270 270
         'floorSize' => ['QuantitativeValue'],
271
-        'leaseLength' => ['Duration','QuantitativeValue'],
271
+        'leaseLength' => ['Duration', 'QuantitativeValue'],
272 272
         'numberOfBathroomsTotal' => ['Integer'],
273
-        'numberOfBedrooms' => ['Number','QuantitativeValue'],
273
+        'numberOfBedrooms' => ['Number', 'QuantitativeValue'],
274 274
         'numberOfFullBathrooms' => ['Number'],
275 275
         'numberOfPartialBathrooms' => ['Number'],
276
-        'numberOfRooms' => ['Number','QuantitativeValue'],
276
+        'numberOfRooms' => ['Number', 'QuantitativeValue'],
277 277
         'permittedUsage' => ['Text'],
278
-        'petsAllowed' => ['Boolean','Text'],
278
+        'petsAllowed' => ['Boolean', 'Text'],
279 279
         'tourBookingPage' => ['URL'],
280 280
         'yearBuilt' => ['Number']
281 281
     ];
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
     {
362 362
         $rules = parent::rules();
363 363
         $rules = array_merge($rules, [
364
-            [['accommodationCategory','accommodationFloorPlan','amenityFeature','floorLevel','floorSize','leaseLength','numberOfBathroomsTotal','numberOfBedrooms','numberOfFullBathrooms','numberOfPartialBathrooms','numberOfRooms','permittedUsage','petsAllowed','tourBookingPage','yearBuilt'], 'validateJsonSchema'],
364
+            [['accommodationCategory', 'accommodationFloorPlan', 'amenityFeature', 'floorLevel', 'floorSize', 'leaseLength', 'numberOfBathroomsTotal', 'numberOfBedrooms', 'numberOfFullBathrooms', 'numberOfPartialBathrooms', 'numberOfRooms', 'permittedUsage', 'petsAllowed', 'tourBookingPage', 'yearBuilt'], 'validateJsonSchema'],
365 365
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
366 366
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
367 367
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Continent.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   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
      */
477 477
     static protected $_schemaPropertyExpectedTypes = [
478 478
         'additionalProperty' => ['PropertyValue'],
479
-        'address' => ['PostalAddress','Text'],
479
+        'address' => ['PostalAddress', 'Text'],
480 480
         'aggregateRating' => ['AggregateRating'],
481 481
         'amenityFeature' => ['LocationFeatureSpecification'],
482 482
         'branchCode' => ['Text'],
@@ -484,28 +484,28 @@  discard block
 block discarded – undo
484 484
         'containsPlace' => ['Place'],
485 485
         'event' => ['Event'],
486 486
         'faxNumber' => ['Text'],
487
-        'geo' => ['GeoCoordinates','GeoShape'],
488
-        'geoContains' => ['GeospatialGeometry','Place'],
489
-        'geoCoveredBy' => ['GeospatialGeometry','Place'],
490
-        'geoCovers' => ['GeospatialGeometry','Place'],
491
-        'geoCrosses' => ['GeospatialGeometry','Place'],
492
-        'geoDisjoint' => ['GeospatialGeometry','Place'],
493
-        'geoEquals' => ['GeospatialGeometry','Place'],
494
-        'geoIntersects' => ['GeospatialGeometry','Place'],
495
-        'geoOverlaps' => ['GeospatialGeometry','Place'],
496
-        'geoTouches' => ['GeospatialGeometry','Place'],
497
-        'geoWithin' => ['GeospatialGeometry','Place'],
487
+        'geo' => ['GeoCoordinates', 'GeoShape'],
488
+        'geoContains' => ['GeospatialGeometry', 'Place'],
489
+        'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
490
+        'geoCovers' => ['GeospatialGeometry', 'Place'],
491
+        'geoCrosses' => ['GeospatialGeometry', 'Place'],
492
+        'geoDisjoint' => ['GeospatialGeometry', 'Place'],
493
+        'geoEquals' => ['GeospatialGeometry', 'Place'],
494
+        'geoIntersects' => ['GeospatialGeometry', 'Place'],
495
+        'geoOverlaps' => ['GeospatialGeometry', 'Place'],
496
+        'geoTouches' => ['GeospatialGeometry', 'Place'],
497
+        'geoWithin' => ['GeospatialGeometry', 'Place'],
498 498
         'globalLocationNumber' => ['Text'],
499 499
         'hasDriveThroughService' => ['Boolean'],
500
-        'hasMap' => ['Map','URL'],
500
+        'hasMap' => ['Map', 'URL'],
501 501
         'isAccessibleForFree' => ['Boolean'],
502 502
         'isicV4' => ['Text'],
503
-        'latitude' => ['Number','Text'],
504
-        'logo' => ['ImageObject','URL'],
505
-        'longitude' => ['Number','Text'],
503
+        'latitude' => ['Number', 'Text'],
504
+        'logo' => ['ImageObject', 'URL'],
505
+        'longitude' => ['Number', 'Text'],
506 506
         'maximumAttendeeCapacity' => ['Integer'],
507 507
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
508
-        'photo' => ['ImageObject','Photograph'],
508
+        'photo' => ['ImageObject', 'Photograph'],
509 509
         'publicAccess' => ['Boolean'],
510 510
         'review' => ['Review'],
511 511
         'slogan' => ['Text'],
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
     {
620 620
         $rules = parent::rules();
621 621
         $rules = array_merge($rules, [
622
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasDriveThroughService','hasMap','isAccessibleForFree','isicV4','latitude','logo','longitude','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone','tourBookingPage'], 'validateJsonSchema'],
622
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasDriveThroughService', 'hasMap', 'isAccessibleForFree', 'isicV4', 'latitude', 'logo', 'longitude', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', 'tourBookingPage'], 'validateJsonSchema'],
623 623
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
624 624
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
625 625
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/State.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   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
      */
477 477
     static protected $_schemaPropertyExpectedTypes = [
478 478
         'additionalProperty' => ['PropertyValue'],
479
-        'address' => ['PostalAddress','Text'],
479
+        'address' => ['PostalAddress', 'Text'],
480 480
         'aggregateRating' => ['AggregateRating'],
481 481
         'amenityFeature' => ['LocationFeatureSpecification'],
482 482
         'branchCode' => ['Text'],
@@ -484,28 +484,28 @@  discard block
 block discarded – undo
484 484
         'containsPlace' => ['Place'],
485 485
         'event' => ['Event'],
486 486
         'faxNumber' => ['Text'],
487
-        'geo' => ['GeoCoordinates','GeoShape'],
488
-        'geoContains' => ['GeospatialGeometry','Place'],
489
-        'geoCoveredBy' => ['GeospatialGeometry','Place'],
490
-        'geoCovers' => ['GeospatialGeometry','Place'],
491
-        'geoCrosses' => ['GeospatialGeometry','Place'],
492
-        'geoDisjoint' => ['GeospatialGeometry','Place'],
493
-        'geoEquals' => ['GeospatialGeometry','Place'],
494
-        'geoIntersects' => ['GeospatialGeometry','Place'],
495
-        'geoOverlaps' => ['GeospatialGeometry','Place'],
496
-        'geoTouches' => ['GeospatialGeometry','Place'],
497
-        'geoWithin' => ['GeospatialGeometry','Place'],
487
+        'geo' => ['GeoCoordinates', 'GeoShape'],
488
+        'geoContains' => ['GeospatialGeometry', 'Place'],
489
+        'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
490
+        'geoCovers' => ['GeospatialGeometry', 'Place'],
491
+        'geoCrosses' => ['GeospatialGeometry', 'Place'],
492
+        'geoDisjoint' => ['GeospatialGeometry', 'Place'],
493
+        'geoEquals' => ['GeospatialGeometry', 'Place'],
494
+        'geoIntersects' => ['GeospatialGeometry', 'Place'],
495
+        'geoOverlaps' => ['GeospatialGeometry', 'Place'],
496
+        'geoTouches' => ['GeospatialGeometry', 'Place'],
497
+        'geoWithin' => ['GeospatialGeometry', 'Place'],
498 498
         'globalLocationNumber' => ['Text'],
499 499
         'hasDriveThroughService' => ['Boolean'],
500
-        'hasMap' => ['Map','URL'],
500
+        'hasMap' => ['Map', 'URL'],
501 501
         'isAccessibleForFree' => ['Boolean'],
502 502
         'isicV4' => ['Text'],
503
-        'latitude' => ['Number','Text'],
504
-        'logo' => ['ImageObject','URL'],
505
-        'longitude' => ['Number','Text'],
503
+        'latitude' => ['Number', 'Text'],
504
+        'logo' => ['ImageObject', 'URL'],
505
+        'longitude' => ['Number', 'Text'],
506 506
         'maximumAttendeeCapacity' => ['Integer'],
507 507
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
508
-        'photo' => ['ImageObject','Photograph'],
508
+        'photo' => ['ImageObject', 'Photograph'],
509 509
         'publicAccess' => ['Boolean'],
510 510
         'review' => ['Review'],
511 511
         'slogan' => ['Text'],
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
     {
620 620
         $rules = parent::rules();
621 621
         $rules = array_merge($rules, [
622
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasDriveThroughService','hasMap','isAccessibleForFree','isicV4','latitude','logo','longitude','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone','tourBookingPage'], 'validateJsonSchema'],
622
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasDriveThroughService', 'hasMap', 'isAccessibleForFree', 'isicV4', 'latitude', 'logo', 'longitude', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', 'tourBookingPage'], 'validateJsonSchema'],
623 623
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
624 624
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
625 625
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/LandmarksOrHistoricalBuildings.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   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
      */
477 477
     static protected $_schemaPropertyExpectedTypes = [
478 478
         'additionalProperty' => ['PropertyValue'],
479
-        'address' => ['PostalAddress','Text'],
479
+        'address' => ['PostalAddress', 'Text'],
480 480
         'aggregateRating' => ['AggregateRating'],
481 481
         'amenityFeature' => ['LocationFeatureSpecification'],
482 482
         'branchCode' => ['Text'],
@@ -484,28 +484,28 @@  discard block
 block discarded – undo
484 484
         'containsPlace' => ['Place'],
485 485
         'event' => ['Event'],
486 486
         'faxNumber' => ['Text'],
487
-        'geo' => ['GeoCoordinates','GeoShape'],
488
-        'geoContains' => ['GeospatialGeometry','Place'],
489
-        'geoCoveredBy' => ['GeospatialGeometry','Place'],
490
-        'geoCovers' => ['GeospatialGeometry','Place'],
491
-        'geoCrosses' => ['GeospatialGeometry','Place'],
492
-        'geoDisjoint' => ['GeospatialGeometry','Place'],
493
-        'geoEquals' => ['GeospatialGeometry','Place'],
494
-        'geoIntersects' => ['GeospatialGeometry','Place'],
495
-        'geoOverlaps' => ['GeospatialGeometry','Place'],
496
-        'geoTouches' => ['GeospatialGeometry','Place'],
497
-        'geoWithin' => ['GeospatialGeometry','Place'],
487
+        'geo' => ['GeoCoordinates', 'GeoShape'],
488
+        'geoContains' => ['GeospatialGeometry', 'Place'],
489
+        'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
490
+        'geoCovers' => ['GeospatialGeometry', 'Place'],
491
+        'geoCrosses' => ['GeospatialGeometry', 'Place'],
492
+        'geoDisjoint' => ['GeospatialGeometry', 'Place'],
493
+        'geoEquals' => ['GeospatialGeometry', 'Place'],
494
+        'geoIntersects' => ['GeospatialGeometry', 'Place'],
495
+        'geoOverlaps' => ['GeospatialGeometry', 'Place'],
496
+        'geoTouches' => ['GeospatialGeometry', 'Place'],
497
+        'geoWithin' => ['GeospatialGeometry', 'Place'],
498 498
         'globalLocationNumber' => ['Text'],
499 499
         'hasDriveThroughService' => ['Boolean'],
500
-        'hasMap' => ['Map','URL'],
500
+        'hasMap' => ['Map', 'URL'],
501 501
         'isAccessibleForFree' => ['Boolean'],
502 502
         'isicV4' => ['Text'],
503
-        'latitude' => ['Number','Text'],
504
-        'logo' => ['ImageObject','URL'],
505
-        'longitude' => ['Number','Text'],
503
+        'latitude' => ['Number', 'Text'],
504
+        'logo' => ['ImageObject', 'URL'],
505
+        'longitude' => ['Number', 'Text'],
506 506
         'maximumAttendeeCapacity' => ['Integer'],
507 507
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
508
-        'photo' => ['ImageObject','Photograph'],
508
+        'photo' => ['ImageObject', 'Photograph'],
509 509
         'publicAccess' => ['Boolean'],
510 510
         'review' => ['Review'],
511 511
         'slogan' => ['Text'],
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
     {
620 620
         $rules = parent::rules();
621 621
         $rules = array_merge($rules, [
622
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasDriveThroughService','hasMap','isAccessibleForFree','isicV4','latitude','logo','longitude','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone','tourBookingPage'], 'validateJsonSchema'],
622
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasDriveThroughService', 'hasMap', 'isAccessibleForFree', 'isicV4', 'latitude', 'logo', 'longitude', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', 'tourBookingPage'], 'validateJsonSchema'],
623 623
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
624 624
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
625 625
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SiteNavigationElement.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
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
     {
202 202
         $rules = parent::rules();
203 203
         $rules = array_merge($rules, [
204
-            [['cssSelector','xpath'], 'validateJsonSchema'],
204
+            [['cssSelector', 'xpath'], 'validateJsonSchema'],
205 205
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
206 206
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
207 207
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/EducationEvent.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   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -456,36 +456,36 @@  discard block
 block discarded – undo
456 456
         'about' => ['Thing'],
457 457
         'actor' => ['Person'],
458 458
         'aggregateRating' => ['AggregateRating'],
459
-        'attendee' => ['Organization','Person'],
459
+        'attendee' => ['Organization', 'Person'],
460 460
         'audience' => ['Audience'],
461
-        'composer' => ['Organization','Person'],
462
-        'contributor' => ['Organization','Person'],
461
+        'composer' => ['Organization', 'Person'],
462
+        'contributor' => ['Organization', 'Person'],
463 463
         'director' => ['Person'],
464
-        'doorTime' => ['DateTime','Time'],
464
+        'doorTime' => ['DateTime', 'Time'],
465 465
         'duration' => ['Duration'],
466
-        'endDate' => ['Date','DateTime'],
466
+        'endDate' => ['Date', 'DateTime'],
467 467
         'eventAttendanceMode' => ['EventAttendanceModeEnumeration'],
468 468
         'eventSchedule' => ['Schedule'],
469 469
         'eventStatus' => ['EventStatusType'],
470
-        'funder' => ['Organization','Person'],
471
-        'inLanguage' => ['Language','Text'],
470
+        'funder' => ['Organization', 'Person'],
471
+        'inLanguage' => ['Language', 'Text'],
472 472
         'isAccessibleForFree' => ['Boolean'],
473
-        'location' => ['Place','PostalAddress','Text','VirtualLocation'],
473
+        'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'],
474 474
         'maximumAttendeeCapacity' => ['Integer'],
475 475
         'maximumPhysicalAttendeeCapacity' => ['Integer'],
476 476
         'maximumVirtualAttendeeCapacity' => ['Integer'],
477
-        'offers' => ['Demand','Offer'],
478
-        'organizer' => ['Organization','Person'],
479
-        'performer' => ['Organization','Person'],
477
+        'offers' => ['Demand', 'Offer'],
478
+        'organizer' => ['Organization', 'Person'],
479
+        'performer' => ['Organization', 'Person'],
480 480
         'previousStartDate' => ['Date'],
481 481
         'recordedIn' => ['CreativeWork'],
482 482
         'remainingAttendeeCapacity' => ['Integer'],
483 483
         'review' => ['Review'],
484
-        'sponsor' => ['Organization','Person'],
485
-        'startDate' => ['Date','DateTime'],
484
+        'sponsor' => ['Organization', 'Person'],
485
+        'startDate' => ['Date', 'DateTime'],
486 486
         'subEvent' => ['Event'],
487 487
         'superEvent' => ['Event'],
488
-        'translator' => ['Organization','Person'],
488
+        'translator' => ['Organization', 'Person'],
489 489
         'typicalAgeRange' => ['Text'],
490 490
         'workFeatured' => ['CreativeWork'],
491 491
         'workPerformed' => ['CreativeWork']
@@ -593,7 +593,7 @@  discard block
 block discarded – undo
593 593
     {
594 594
         $rules = parent::rules();
595 595
         $rules = array_merge($rules, [
596
-            [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventAttendanceMode','eventSchedule','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','maximumPhysicalAttendeeCapacity','maximumVirtualAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'],
596
+            [['about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventAttendanceMode', 'eventSchedule', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'maximumPhysicalAttendeeCapacity', 'maximumVirtualAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed'], 'validateJsonSchema'],
597 597
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
598 598
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
599 599
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/HowToTip.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   +40 added lines, -40 removed lines patch added patch discarded remove patch
@@ -1038,89 +1038,89 @@  discard block
 block discarded – undo
1038 1038
         'accessibilityHazard' => ['Text'],
1039 1039
         'accessibilitySummary' => ['Text'],
1040 1040
         'accountablePerson' => ['Person'],
1041
-        'acquireLicensePage' => ['CreativeWork','URL'],
1041
+        'acquireLicensePage' => ['CreativeWork', 'URL'],
1042 1042
         'aggregateRating' => ['AggregateRating'],
1043 1043
         'alternativeHeadline' => ['Text'],
1044 1044
         'associatedMedia' => ['MediaObject'],
1045 1045
         'audience' => ['Audience'],
1046
-        'audio' => ['AudioObject','Clip','MusicRecording'],
1047
-        'author' => ['Organization','Person'],
1046
+        'audio' => ['AudioObject', 'Clip', 'MusicRecording'],
1047
+        'author' => ['Organization', 'Person'],
1048 1048
         'award' => ['Text'],
1049 1049
         'character' => ['Person'],
1050
-        'citation' => ['CreativeWork','Text'],
1050
+        'citation' => ['CreativeWork', 'Text'],
1051 1051
         'comment' => ['Comment'],
1052 1052
         'commentCount' => ['Integer'],
1053 1053
         'conditionsOfAccess' => ['Text'],
1054 1054
         'contentLocation' => ['Place'],
1055
-        'contentRating' => ['Rating','Text'],
1055
+        'contentRating' => ['Rating', 'Text'],
1056 1056
         'contentReferenceTime' => ['DateTime'],
1057
-        'contributor' => ['Organization','Person'],
1058
-        'copyrightHolder' => ['Organization','Person'],
1057
+        'contributor' => ['Organization', 'Person'],
1058
+        'copyrightHolder' => ['Organization', 'Person'],
1059 1059
         'copyrightYear' => ['Number'],
1060
-        'correction' => ['CorrectionComment','Text','URL'],
1061
-        'creativeWorkStatus' => ['DefinedTerm','Text'],
1062
-        'creator' => ['Organization','Person'],
1063
-        'dateCreated' => ['Date','DateTime'],
1064
-        'dateModified' => ['Date','DateTime'],
1065
-        'datePublished' => ['Date','DateTime'],
1060
+        'correction' => ['CorrectionComment', 'Text', 'URL'],
1061
+        'creativeWorkStatus' => ['DefinedTerm', 'Text'],
1062
+        'creator' => ['Organization', 'Person'],
1063
+        'dateCreated' => ['Date', 'DateTime'],
1064
+        'dateModified' => ['Date', 'DateTime'],
1065
+        'datePublished' => ['Date', 'DateTime'],
1066 1066
         'discussionUrl' => ['URL'],
1067 1067
         'editor' => ['Person'],
1068 1068
         'educationalAlignment' => ['AlignmentObject'],
1069 1069
         'educationalUse' => ['Text'],
1070 1070
         'encoding' => ['MediaObject'],
1071
-        'encodingFormat' => ['Text','URL'],
1071
+        'encodingFormat' => ['Text', 'URL'],
1072 1072
         'exampleOfWork' => ['CreativeWork'],
1073 1073
         'expires' => ['Date'],
1074
-        'funder' => ['Organization','Person'],
1075
-        'genre' => ['Text','URL'],
1074
+        'funder' => ['Organization', 'Person'],
1075
+        'genre' => ['Text', 'URL'],
1076 1076
         'hasPart' => ['CreativeWork'],
1077 1077
         'headline' => ['Text'],
1078
-        'inLanguage' => ['Language','Text'],
1078
+        'inLanguage' => ['Language', 'Text'],
1079 1079
         'interactionStatistic' => ['InteractionCounter'],
1080 1080
         'interactivityType' => ['Text'],
1081 1081
         'isAccessibleForFree' => ['Boolean'],
1082
-        'isBasedOn' => ['CreativeWork','Product','URL'],
1082
+        'isBasedOn' => ['CreativeWork', 'Product', 'URL'],
1083 1083
         'isFamilyFriendly' => ['Boolean'],
1084
-        'isPartOf' => ['CreativeWork','URL'],
1084
+        'isPartOf' => ['CreativeWork', 'URL'],
1085 1085
         'keywords' => ['Text'],
1086 1086
         'learningResourceType' => ['Text'],
1087
-        'license' => ['CreativeWork','URL'],
1087
+        'license' => ['CreativeWork', 'URL'],
1088 1088
         'locationCreated' => ['Place'],
1089 1089
         'mainEntity' => ['Thing'],
1090
-        'maintainer' => ['Organization','Person'],
1091
-        'material' => ['Product','Text','URL'],
1092
-        'materialExtent' => ['QuantitativeValue','Text'],
1090
+        'maintainer' => ['Organization', 'Person'],
1091
+        'material' => ['Product', 'Text', 'URL'],
1092
+        'materialExtent' => ['QuantitativeValue', 'Text'],
1093 1093
         'mentions' => ['Thing'],
1094
-        'offers' => ['Demand','Offer'],
1095
-        'position' => ['Integer','Text'],
1096
-        'producer' => ['Organization','Person'],
1097
-        'provider' => ['Organization','Person'],
1094
+        'offers' => ['Demand', 'Offer'],
1095
+        'position' => ['Integer', 'Text'],
1096
+        'producer' => ['Organization', 'Person'],
1097
+        'provider' => ['Organization', 'Person'],
1098 1098
         'publication' => ['PublicationEvent'],
1099
-        'publisher' => ['Organization','Person'],
1099
+        'publisher' => ['Organization', 'Person'],
1100 1100
         'publisherImprint' => ['Organization'],
1101
-        'publishingPrinciples' => ['CreativeWork','URL'],
1101
+        'publishingPrinciples' => ['CreativeWork', 'URL'],
1102 1102
         'recordedAt' => ['Event'],
1103 1103
         'releasedEvent' => ['PublicationEvent'],
1104 1104
         'review' => ['Review'],
1105
-        'schemaVersion' => ['Text','URL'],
1105
+        'schemaVersion' => ['Text', 'URL'],
1106 1106
         'sdDatePublished' => ['Date'],
1107
-        'sdLicense' => ['CreativeWork','URL'],
1108
-        'sdPublisher' => ['Organization','Person'],
1107
+        'sdLicense' => ['CreativeWork', 'URL'],
1108
+        'sdPublisher' => ['Organization', 'Person'],
1109 1109
         'sourceOrganization' => ['Organization'],
1110 1110
         'spatial' => ['Place'],
1111 1111
         'spatialCoverage' => ['Place'],
1112
-        'sponsor' => ['Organization','Person'],
1113
-        'temporal' => ['DateTime','Text'],
1114
-        'temporalCoverage' => ['DateTime','Text','URL'],
1112
+        'sponsor' => ['Organization', 'Person'],
1113
+        'temporal' => ['DateTime', 'Text'],
1114
+        'temporalCoverage' => ['DateTime', 'Text', 'URL'],
1115 1115
         'text' => ['Text'],
1116 1116
         'thumbnailUrl' => ['URL'],
1117 1117
         'timeRequired' => ['Duration'],
1118 1118
         'translationOfWork' => ['CreativeWork'],
1119
-        'translator' => ['Organization','Person'],
1119
+        'translator' => ['Organization', 'Person'],
1120 1120
         'typicalAgeRange' => ['Text'],
1121
-        'usageInfo' => ['CreativeWork','URL'],
1122
-        'version' => ['Number','Text'],
1123
-        'video' => ['Clip','VideoObject'],
1121
+        'usageInfo' => ['CreativeWork', 'URL'],
1122
+        'version' => ['Number', 'Text'],
1123
+        'video' => ['Clip', 'VideoObject'],
1124 1124
         'workExample' => ['CreativeWork'],
1125 1125
         'workTranslation' => ['CreativeWork']
1126 1126
     ];
@@ -1286,7 +1286,7 @@  discard block
 block discarded – undo
1286 1286
     {
1287 1287
         $rules = parent::rules();
1288 1288
         $rules = array_merge($rules, [
1289
-            [['about','abstract','accessMode','accessModeSufficient','accessibilityAPI','accessibilityControl','accessibilityFeature','accessibilityHazard','accessibilitySummary','accountablePerson','acquireLicensePage','aggregateRating','alternativeHeadline','associatedMedia','audience','audio','author','award','character','citation','comment','commentCount','conditionsOfAccess','contentLocation','contentRating','contentReferenceTime','contributor','copyrightHolder','copyrightYear','correction','creativeWorkStatus','creator','dateCreated','dateModified','datePublished','discussionUrl','editor','educationalAlignment','educationalUse','encoding','encodingFormat','exampleOfWork','expires','funder','genre','hasPart','headline','inLanguage','interactionStatistic','interactivityType','isAccessibleForFree','isBasedOn','isFamilyFriendly','isPartOf','keywords','learningResourceType','license','locationCreated','mainEntity','maintainer','material','materialExtent','mentions','offers','position','producer','provider','publication','publisher','publisherImprint','publishingPrinciples','recordedAt','releasedEvent','review','schemaVersion','sdDatePublished','sdLicense','sdPublisher','sourceOrganization','spatial','spatialCoverage','sponsor','temporal','temporalCoverage','text','thumbnailUrl','timeRequired','translationOfWork','translator','typicalAgeRange','usageInfo','version','video','workExample','workTranslation'], 'validateJsonSchema'],
1289
+            [['about', 'abstract', 'accessMode', 'accessModeSufficient', 'accessibilityAPI', 'accessibilityControl', 'accessibilityFeature', 'accessibilityHazard', 'accessibilitySummary', 'accountablePerson', 'acquireLicensePage', 'aggregateRating', 'alternativeHeadline', 'associatedMedia', 'audience', 'audio', 'author', 'award', 'character', 'citation', 'comment', 'commentCount', 'conditionsOfAccess', 'contentLocation', 'contentRating', 'contentReferenceTime', 'contributor', 'copyrightHolder', 'copyrightYear', 'correction', 'creativeWorkStatus', 'creator', 'dateCreated', 'dateModified', 'datePublished', 'discussionUrl', 'editor', 'educationalAlignment', 'educationalUse', 'encoding', 'encodingFormat', 'exampleOfWork', 'expires', 'funder', 'genre', 'hasPart', 'headline', 'inLanguage', 'interactionStatistic', 'interactivityType', 'isAccessibleForFree', 'isBasedOn', 'isFamilyFriendly', 'isPartOf', 'keywords', 'learningResourceType', 'license', 'locationCreated', 'mainEntity', 'maintainer', 'material', 'materialExtent', 'mentions', 'offers', 'position', 'producer', 'provider', 'publication', 'publisher', 'publisherImprint', 'publishingPrinciples', 'recordedAt', 'releasedEvent', 'review', 'schemaVersion', 'sdDatePublished', 'sdLicense', 'sdPublisher', 'sourceOrganization', 'spatial', 'spatialCoverage', 'sponsor', 'temporal', 'temporalCoverage', 'text', 'thumbnailUrl', 'timeRequired', 'translationOfWork', 'translator', 'typicalAgeRange', 'usageInfo', 'version', 'video', 'workExample', 'workTranslation'], 'validateJsonSchema'],
1290 1290
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
1291 1291
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
1292 1292
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Park.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.