Passed
Pull Request — develop (#251)
by Timothy
05:37
created
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   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -882,21 +882,21 @@  discard block
 block discarded – undo
882 882
         'associatedMedia' => ['MediaObject'],
883 883
         'audience' => ['Audience'],
884 884
         'audio' => ['AudioObject'],
885
-        'author' => ['Organization','Person'],
885
+        'author' => ['Organization', 'Person'],
886 886
         'award' => ['Text'],
887 887
         'character' => ['Person'],
888
-        'citation' => ['CreativeWork','Text'],
888
+        'citation' => ['CreativeWork', 'Text'],
889 889
         'comment' => ['Comment'],
890 890
         'commentCount' => ['Integer'],
891 891
         'contentLocation' => ['Place'],
892 892
         'contentRating' => ['Text'],
893 893
         'contentReferenceTime' => ['DateTime'],
894
-        'contributor' => ['Organization','Person'],
895
-        'copyrightHolder' => ['Organization','Person'],
894
+        'contributor' => ['Organization', 'Person'],
895
+        'copyrightHolder' => ['Organization', 'Person'],
896 896
         'copyrightYear' => ['Number'],
897
-        'creator' => ['Organization','Person'],
898
-        'dateCreated' => ['Date','DateTime'],
899
-        'dateModified' => ['Date','DateTime'],
897
+        'creator' => ['Organization', 'Person'],
898
+        'dateCreated' => ['Date', 'DateTime'],
899
+        'dateModified' => ['Date', 'DateTime'],
900 900
         'datePublished' => ['Date'],
901 901
         'discussionUrl' => ['URL'],
902 902
         'editor' => ['Person'],
@@ -905,48 +905,48 @@  discard block
 block discarded – undo
905 905
         'encoding' => ['MediaObject'],
906 906
         'exampleOfWork' => ['CreativeWork'],
907 907
         'expires' => ['Date'],
908
-        'fileFormat' => ['Text','URL'],
909
-        'funder' => ['Organization','Person'],
910
-        'genre' => ['Text','URL'],
908
+        'fileFormat' => ['Text', 'URL'],
909
+        'funder' => ['Organization', 'Person'],
910
+        'genre' => ['Text', 'URL'],
911 911
         'hasPart' => ['CreativeWork'],
912 912
         'headline' => ['Text'],
913
-        'inLanguage' => ['Language','Text'],
913
+        'inLanguage' => ['Language', 'Text'],
914 914
         'interactionStatistic' => ['InteractionCounter'],
915 915
         'interactivityType' => ['Text'],
916 916
         'isAccessibleForFree' => ['Boolean'],
917
-        'isBasedOn' => ['CreativeWork','Product','URL'],
917
+        'isBasedOn' => ['CreativeWork', 'Product', 'URL'],
918 918
         'isFamilyFriendly' => ['Boolean'],
919 919
         'isPartOf' => ['CreativeWork'],
920 920
         'keywords' => ['Text'],
921 921
         'learningResourceType' => ['Text'],
922
-        'license' => ['CreativeWork','URL'],
922
+        'license' => ['CreativeWork', 'URL'],
923 923
         'locationCreated' => ['Place'],
924 924
         'mainEntity' => ['Thing'],
925
-        'material' => ['Product','Text','URL'],
925
+        'material' => ['Product', 'Text', 'URL'],
926 926
         'mentions' => ['Thing'],
927 927
         'offers' => ['Offer'],
928
-        'position' => ['Integer','Text'],
929
-        'producer' => ['Organization','Person'],
930
-        'provider' => ['Organization','Person'],
928
+        'position' => ['Integer', 'Text'],
929
+        'producer' => ['Organization', 'Person'],
930
+        'provider' => ['Organization', 'Person'],
931 931
         'publication' => ['PublicationEvent'],
932
-        'publisher' => ['Organization','Person'],
932
+        'publisher' => ['Organization', 'Person'],
933 933
         'publisherImprint' => ['Organization'],
934
-        'publishingPrinciples' => ['CreativeWork','URL'],
934
+        'publishingPrinciples' => ['CreativeWork', 'URL'],
935 935
         'recordedAt' => ['Event'],
936 936
         'releasedEvent' => ['PublicationEvent'],
937 937
         'review' => ['Review'],
938
-        'schemaVersion' => ['Text','URL'],
938
+        'schemaVersion' => ['Text', 'URL'],
939 939
         'sourceOrganization' => ['Organization'],
940 940
         'spatialCoverage' => ['Place'],
941
-        'sponsor' => ['Organization','Person'],
942
-        'temporalCoverage' => ['DateTime','Text','URL'],
941
+        'sponsor' => ['Organization', 'Person'],
942
+        'temporalCoverage' => ['DateTime', 'Text', 'URL'],
943 943
         'text' => ['Text'],
944 944
         'thumbnailUrl' => ['URL'],
945 945
         'timeRequired' => ['Duration'],
946 946
         'translationOfWork' => ['CreativeWork'],
947
-        'translator' => ['Organization','Person'],
947
+        'translator' => ['Organization', 'Person'],
948 948
         'typicalAgeRange' => ['Text'],
949
-        'version' => ['Number','Text'],
949
+        'version' => ['Number', 'Text'],
950 950
         'video' => ['VideoObject'],
951 951
         'workExample' => ['CreativeWork'],
952 952
         'workTranslation' => ['CreativeWork']
@@ -1100,7 +1100,7 @@  discard block
 block discarded – undo
1100 1100
     {
1101 1101
         $rules = parent::rules();
1102 1102
         $rules = array_merge($rules, [
1103
-            [['about','accessMode','accessModeSufficient','accessibilityAPI','accessibilityControl','accessibilityFeature','accessibilityHazard','accessibilitySummary','accountablePerson','aggregateRating','alternativeHeadline','associatedMedia','audience','audio','author','award','character','citation','comment','commentCount','contentLocation','contentRating','contentReferenceTime','contributor','copyrightHolder','copyrightYear','creator','dateCreated','dateModified','datePublished','discussionUrl','editor','educationalAlignment','educationalUse','encoding','exampleOfWork','expires','fileFormat','funder','genre','hasPart','headline','inLanguage','interactionStatistic','interactivityType','isAccessibleForFree','isBasedOn','isFamilyFriendly','isPartOf','keywords','learningResourceType','license','locationCreated','mainEntity','material','mentions','offers','position','producer','provider','publication','publisher','publisherImprint','publishingPrinciples','recordedAt','releasedEvent','review','schemaVersion','sourceOrganization','spatialCoverage','sponsor','temporalCoverage','text','thumbnailUrl','timeRequired','translationOfWork','translator','typicalAgeRange','version','video','workExample','workTranslation'], 'validateJsonSchema'],
1103
+            [['about', 'accessMode', 'accessModeSufficient', 'accessibilityAPI', 'accessibilityControl', 'accessibilityFeature', 'accessibilityHazard', 'accessibilitySummary', 'accountablePerson', 'aggregateRating', 'alternativeHeadline', 'associatedMedia', 'audience', 'audio', 'author', 'award', 'character', 'citation', 'comment', 'commentCount', 'contentLocation', 'contentRating', 'contentReferenceTime', 'contributor', 'copyrightHolder', 'copyrightYear', 'creator', 'dateCreated', 'dateModified', 'datePublished', 'discussionUrl', 'editor', 'educationalAlignment', 'educationalUse', 'encoding', 'exampleOfWork', 'expires', 'fileFormat', 'funder', 'genre', 'hasPart', 'headline', 'inLanguage', 'interactionStatistic', 'interactivityType', 'isAccessibleForFree', 'isBasedOn', 'isFamilyFriendly', 'isPartOf', 'keywords', 'learningResourceType', 'license', 'locationCreated', 'mainEntity', 'material', 'mentions', 'offers', 'position', 'producer', 'provider', 'publication', 'publisher', 'publisherImprint', 'publishingPrinciples', 'recordedAt', 'releasedEvent', 'review', 'schemaVersion', 'sourceOrganization', 'spatialCoverage', 'sponsor', 'temporalCoverage', 'text', 'thumbnailUrl', 'timeRequired', 'translationOfWork', 'translator', 'typicalAgeRange', 'version', 'video', 'workExample', 'workTranslation'], 'validateJsonSchema'],
1104 1104
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
1105 1105
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
1106 1106
         ]);
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   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -401,32 +401,32 @@  discard block
 block discarded – undo
401 401
         'about' => ['Thing'],
402 402
         'actor' => ['Person'],
403 403
         'aggregateRating' => ['AggregateRating'],
404
-        'attendee' => ['Organization','Person'],
404
+        'attendee' => ['Organization', 'Person'],
405 405
         'audience' => ['Audience'],
406
-        'composer' => ['Organization','Person'],
407
-        'contributor' => ['Organization','Person'],
406
+        'composer' => ['Organization', 'Person'],
407
+        'contributor' => ['Organization', 'Person'],
408 408
         'director' => ['Person'],
409 409
         'doorTime' => ['DateTime'],
410 410
         'duration' => ['Duration'],
411
-        'endDate' => ['Date','DateTime'],
411
+        'endDate' => ['Date', 'DateTime'],
412 412
         'eventStatus' => ['EventStatusType'],
413
-        'funder' => ['Organization','Person'],
414
-        'inLanguage' => ['Language','Text'],
413
+        'funder' => ['Organization', 'Person'],
414
+        'inLanguage' => ['Language', 'Text'],
415 415
         'isAccessibleForFree' => ['Boolean'],
416
-        'location' => ['Place','PostalAddress','Text'],
416
+        'location' => ['Place', 'PostalAddress', 'Text'],
417 417
         'maximumAttendeeCapacity' => ['Integer'],
418 418
         'offers' => ['Offer'],
419
-        'organizer' => ['Organization','Person'],
420
-        'performer' => ['Organization','Person'],
419
+        'organizer' => ['Organization', 'Person'],
420
+        'performer' => ['Organization', 'Person'],
421 421
         'previousStartDate' => ['Date'],
422 422
         'recordedIn' => ['CreativeWork'],
423 423
         'remainingAttendeeCapacity' => ['Integer'],
424 424
         'review' => ['Review'],
425
-        'sponsor' => ['Organization','Person'],
426
-        'startDate' => ['Date','DateTime'],
425
+        'sponsor' => ['Organization', 'Person'],
426
+        'startDate' => ['Date', 'DateTime'],
427 427
         'subEvent' => ['Event'],
428 428
         'superEvent' => ['Event'],
429
-        'translator' => ['Organization','Person'],
429
+        'translator' => ['Organization', 'Person'],
430 430
         'typicalAgeRange' => ['Text'],
431 431
         'workFeatured' => ['CreativeWork'],
432 432
         'workPerformed' => ['CreativeWork']
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
     {
531 531
         $rules = parent::rules();
532 532
         $rules = array_merge($rules, [
533
-            [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'],
533
+            [['about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed'], 'validateJsonSchema'],
534 534
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
535 535
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
536 536
         ]);
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   +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/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.
src/models/jsonld/RiverBodyOfWater.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/Hospital.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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * @var array
126 126
      */
127 127
     static protected $_schemaPropertyExpectedTypes = [
128
-        'availableService' => ['MedicalProcedure','MedicalTest','MedicalTherapy'],
128
+        'availableService' => ['MedicalProcedure', 'MedicalTest', 'MedicalTherapy'],
129 129
         'medicalSpecialty' => ['MedicalSpecialty']
130 130
     ];
131 131
 
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     {
198 198
         $rules = parent::rules();
199 199
         $rules = array_merge($rules, [
200
-            [['availableService','medicalSpecialty'], 'validateJsonSchema'],
200
+            [['availableService', 'medicalSpecialty'], 'validateJsonSchema'],
201 201
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
202 202
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
203 203
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DeliveryEvent.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
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
     {
218 218
         $rules = parent::rules();
219 219
         $rules = array_merge($rules, [
220
-            [['accessCode','availableFrom','availableThrough','hasDeliveryMethod'], 'validateJsonSchema'],
220
+            [['accessCode', 'availableFrom', 'availableThrough', 'hasDeliveryMethod'], '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/ShoeStore.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/SoftwareSourceCode.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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     static protected $_schemaPropertyExpectedTypes = [
157 157
         'codeRepository' => ['URL'],
158 158
         'codeSampleType' => ['Text'],
159
-        'programmingLanguage' => ['ComputerLanguage','Text'],
159
+        'programmingLanguage' => ['ComputerLanguage', 'Text'],
160 160
         'runtimePlatform' => ['Text'],
161 161
         'targetProduct' => ['SoftwareApplication']
162 162
     ];
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     {
233 233
         $rules = parent::rules();
234 234
         $rules = array_merge($rules, [
235
-            [['codeRepository','codeSampleType','programmingLanguage','runtimePlatform','targetProduct'], 'validateJsonSchema'],
235
+            [['codeRepository', 'codeSampleType', 'programmingLanguage', 'runtimePlatform', 'targetProduct'], 'validateJsonSchema'],
236 236
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
237 237
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
238 238
         ]);
Please login to merge, or discard this patch.