Passed
Push — v3 ( 6054b6...238b69 )
by Andrew
27:44 queued 16:28
created
src/models/jsonld/EventReservation.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/SomeProducts.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/ReplaceAction.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
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['replacee','replacer'], 'validateJsonSchema'],
201
+            [['replacee', 'replacer'], 'validateJsonSchema'],
202 202
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
203 203
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
204 204
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Photograph.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/ControlAction.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   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -222,15 +222,15 @@  discard block
 block discarded – undo
222 222
      */
223 223
     static protected $_schemaPropertyExpectedTypes = [
224 224
         'actionStatus' => ['ActionStatusType'],
225
-        'agent' => ['Organization','Person'],
226
-        'endTime' => ['DateTime','Time'],
225
+        'agent' => ['Organization', 'Person'],
226
+        'endTime' => ['DateTime', 'Time'],
227 227
         'error' => ['Thing'],
228 228
         'instrument' => ['Thing'],
229
-        'location' => ['Place','PostalAddress','Text','VirtualLocation'],
229
+        'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'],
230 230
         'object' => ['Thing'],
231
-        'participant' => ['Organization','Person'],
231
+        'participant' => ['Organization', 'Person'],
232 232
         'result' => ['Thing'],
233
-        'startTime' => ['DateTime','Time'],
233
+        'startTime' => ['DateTime', 'Time'],
234 234
         'target' => ['EntryPoint']
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
-            [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
314
+            [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], '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/APIReference.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
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
     {
219 219
         $rules = parent::rules();
220 220
         $rules = array_merge($rules, [
221
-            [['assemblyVersion','executableLibraryName','programmingModel','targetPlatform'], 'validateJsonSchema'],
221
+            [['assemblyVersion', 'executableLibraryName', 'programmingModel', 'targetPlatform'], '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/Vehicle.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   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -512,29 +512,29 @@  discard block
 block discarded – undo
512 512
      */
513 513
     static protected $_schemaPropertyExpectedTypes = [
514 514
         'accelerationTime' => ['QuantitativeValue'],
515
-        'bodyType' => ['QualitativeValue','Text','URL'],
515
+        'bodyType' => ['QualitativeValue', 'Text', 'URL'],
516 516
         'callSign' => ['Text'],
517 517
         'cargoVolume' => ['QuantitativeValue'],
518 518
         'dateVehicleFirstRegistered' => ['Date'],
519
-        'driveWheelConfiguration' => ['DriveWheelConfigurationValue','Text'],
519
+        'driveWheelConfiguration' => ['DriveWheelConfigurationValue', 'Text'],
520 520
         'emissionsCO2' => ['Number'],
521 521
         'fuelCapacity' => ['QuantitativeValue'],
522 522
         'fuelConsumption' => ['QuantitativeValue'],
523 523
         'fuelEfficiency' => ['QuantitativeValue'],
524
-        'fuelType' => ['QualitativeValue','Text','URL'],
524
+        'fuelType' => ['QualitativeValue', 'Text', 'URL'],
525 525
         'knownVehicleDamages' => ['Text'],
526
-        'meetsEmissionStandard' => ['QualitativeValue','Text','URL'],
526
+        'meetsEmissionStandard' => ['QualitativeValue', 'Text', 'URL'],
527 527
         'mileageFromOdometer' => ['QuantitativeValue'],
528 528
         'modelDate' => ['Date'],
529
-        'numberOfAirbags' => ['Number','Text'],
530
-        'numberOfAxles' => ['Number','QuantitativeValue'],
531
-        'numberOfDoors' => ['Number','QuantitativeValue'],
532
-        'numberOfForwardGears' => ['Number','QuantitativeValue'],
533
-        'numberOfPreviousOwners' => ['Number','QuantitativeValue'],
529
+        'numberOfAirbags' => ['Number', 'Text'],
530
+        'numberOfAxles' => ['Number', 'QuantitativeValue'],
531
+        'numberOfDoors' => ['Number', 'QuantitativeValue'],
532
+        'numberOfForwardGears' => ['Number', 'QuantitativeValue'],
533
+        'numberOfPreviousOwners' => ['Number', 'QuantitativeValue'],
534 534
         'payload' => ['QuantitativeValue'],
535 535
         'productionDate' => ['Date'],
536 536
         'purchaseDate' => ['Date'],
537
-        'seatingCapacity' => ['Number','QuantitativeValue'],
537
+        'seatingCapacity' => ['Number', 'QuantitativeValue'],
538 538
         'speed' => ['QuantitativeValue'],
539 539
         'steeringPosition' => ['SteeringPositionValue'],
540 540
         'tongueWeight' => ['QuantitativeValue'],
@@ -545,9 +545,9 @@  discard block
 block discarded – undo
545 545
         'vehicleInteriorColor' => ['Text'],
546 546
         'vehicleInteriorType' => ['Text'],
547 547
         'vehicleModelDate' => ['Date'],
548
-        'vehicleSeatingCapacity' => ['Number','QuantitativeValue'],
549
-        'vehicleSpecialUsage' => ['CarUsageType','Text'],
550
-        'vehicleTransmission' => ['QualitativeValue','Text','URL'],
548
+        'vehicleSeatingCapacity' => ['Number', 'QuantitativeValue'],
549
+        'vehicleSpecialUsage' => ['CarUsageType', 'Text'],
550
+        'vehicleTransmission' => ['QualitativeValue', 'Text', 'URL'],
551 551
         'weightTotal' => ['QuantitativeValue'],
552 552
         'wheelbase' => ['QuantitativeValue']
553 553
     ];
@@ -657,7 +657,7 @@  discard block
 block discarded – undo
657 657
     {
658 658
         $rules = parent::rules();
659 659
         $rules = array_merge($rules, [
660
-            [['accelerationTime','bodyType','callSign','cargoVolume','dateVehicleFirstRegistered','driveWheelConfiguration','emissionsCO2','fuelCapacity','fuelConsumption','fuelEfficiency','fuelType','knownVehicleDamages','meetsEmissionStandard','mileageFromOdometer','modelDate','numberOfAirbags','numberOfAxles','numberOfDoors','numberOfForwardGears','numberOfPreviousOwners','payload','productionDate','purchaseDate','seatingCapacity','speed','steeringPosition','tongueWeight','trailerWeight','vehicleConfiguration','vehicleEngine','vehicleIdentificationNumber','vehicleInteriorColor','vehicleInteriorType','vehicleModelDate','vehicleSeatingCapacity','vehicleSpecialUsage','vehicleTransmission','weightTotal','wheelbase'], 'validateJsonSchema'],
660
+            [['accelerationTime', 'bodyType', 'callSign', 'cargoVolume', 'dateVehicleFirstRegistered', 'driveWheelConfiguration', 'emissionsCO2', 'fuelCapacity', 'fuelConsumption', 'fuelEfficiency', 'fuelType', 'knownVehicleDamages', 'meetsEmissionStandard', 'mileageFromOdometer', 'modelDate', 'numberOfAirbags', 'numberOfAxles', 'numberOfDoors', 'numberOfForwardGears', 'numberOfPreviousOwners', 'payload', 'productionDate', 'purchaseDate', 'seatingCapacity', 'speed', 'steeringPosition', 'tongueWeight', 'trailerWeight', 'vehicleConfiguration', 'vehicleEngine', 'vehicleIdentificationNumber', 'vehicleInteriorColor', 'vehicleInteriorType', 'vehicleModelDate', 'vehicleSeatingCapacity', 'vehicleSpecialUsage', 'vehicleTransmission', 'weightTotal', 'wheelbase'], 'validateJsonSchema'],
661 661
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
662 662
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
663 663
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/BroadcastService.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
@@ -201,12 +201,12 @@  discard block
 block discarded – undo
201 201
     static protected $_schemaPropertyExpectedTypes = [
202 202
         'broadcastAffiliateOf' => ['Organization'],
203 203
         'broadcastDisplayName' => ['Text'],
204
-        'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'],
204
+        'broadcastFrequency' => ['BroadcastFrequencySpecification', 'Text'],
205 205
         'broadcastTimezone' => ['Text'],
206 206
         'broadcaster' => ['Organization'],
207 207
         'callSign' => ['Text'],
208 208
         'hasBroadcastChannel' => ['BroadcastChannel'],
209
-        'inLanguage' => ['Language','Text'],
209
+        'inLanguage' => ['Language', 'Text'],
210 210
         'parentService' => ['BroadcastService'],
211 211
         'videoFormat' => ['Text']
212 212
     ];
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     {
288 288
         $rules = parent::rules();
289 289
         $rules = array_merge($rules, [
290
-            [['broadcastAffiliateOf','broadcastDisplayName','broadcastFrequency','broadcastTimezone','broadcaster','callSign','hasBroadcastChannel','inLanguage','parentService','videoFormat'], 'validateJsonSchema'],
290
+            [['broadcastAffiliateOf', 'broadcastDisplayName', 'broadcastFrequency', 'broadcastTimezone', 'broadcaster', 'callSign', 'hasBroadcastChannel', 'inLanguage', 'parentService', 'videoFormat'], 'validateJsonSchema'],
291 291
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
292 292
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
293 293
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DataCatalog.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
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      */
140 140
     static protected $_schemaPropertyExpectedTypes = [
141 141
         'dataset' => ['Dataset'],
142
-        'measurementTechnique' => ['Text','URL']
142
+        'measurementTechnique' => ['Text', 'URL']
143 143
     ];
144 144
 
145 145
     /**
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $rules = parent::rules();
212 212
         $rules = array_merge($rules, [
213
-            [['dataset','measurementTechnique'], 'validateJsonSchema'],
213
+            [['dataset', 'measurementTechnique'], 'validateJsonSchema'],
214 214
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
215 215
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
216 216
         ]);
Please login to merge, or discard this patch.