Passed
Pull Request — v3 (#436)
by Ben
07:13
created
src/models/jsonld/TransferAction.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
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
     {
203 203
         $rules = parent::rules();
204 204
         $rules = array_merge($rules, [
205
-            [['fromLocation','toLocation'], 'validateJsonSchema'],
205
+            [['fromLocation', 'toLocation'], 'validateJsonSchema'],
206 206
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
207 207
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
208 208
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MoveAction.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
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
     {
203 203
         $rules = parent::rules();
204 204
         $rules = array_merge($rules, [
205
-            [['fromLocation','toLocation'], 'validateJsonSchema'],
205
+            [['fromLocation', 'toLocation'], 'validateJsonSchema'],
206 206
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
207 207
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
208 208
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/EmailMessage.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
@@ -186,15 +186,15 @@  discard block
 block discarded – undo
186 186
      * @var array
187 187
      */
188 188
     static protected $_schemaPropertyExpectedTypes = [
189
-        'bccRecipient' => ['ContactPoint','Organization','Person'],
190
-        'ccRecipient' => ['ContactPoint','Organization','Person'],
189
+        'bccRecipient' => ['ContactPoint', 'Organization', 'Person'],
190
+        'ccRecipient' => ['ContactPoint', 'Organization', 'Person'],
191 191
         'dateRead' => ['DateTime'],
192 192
         'dateReceived' => ['DateTime'],
193 193
         'dateSent' => ['DateTime'],
194 194
         'messageAttachment' => ['CreativeWork'],
195
-        'recipient' => ['Audience','ContactPoint','Organization','Person'],
196
-        'sender' => ['Audience','Organization','Person'],
197
-        'toRecipient' => ['Audience','ContactPoint','Organization','Person']
195
+        'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'],
196
+        'sender' => ['Audience', 'Organization', 'Person'],
197
+        'toRecipient' => ['Audience', 'ContactPoint', 'Organization', 'Person']
198 198
     ];
199 199
 
200 200
     /**
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
     {
273 273
         $rules = parent::rules();
274 274
         $rules = array_merge($rules, [
275
-            [['bccRecipient','ccRecipient','dateRead','dateReceived','dateSent','messageAttachment','recipient','sender','toRecipient'], 'validateJsonSchema'],
275
+            [['bccRecipient', 'ccRecipient', 'dateRead', 'dateReceived', 'dateSent', 'messageAttachment', 'recipient', 'sender', 'toRecipient'], 'validateJsonSchema'],
276 276
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
277 277
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
278 278
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MeetingRoom.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
@@ -164,9 +164,9 @@  discard block
 block discarded – undo
164 164
     static protected $_schemaPropertyExpectedTypes = [
165 165
         'amenityFeature' => ['LocationFeatureSpecification'],
166 166
         'floorSize' => ['QuantitativeValue'],
167
-        'numberOfRooms' => ['Number','QuantitativeValue'],
167
+        'numberOfRooms' => ['Number', 'QuantitativeValue'],
168 168
         'permittedUsage' => ['Text'],
169
-        'petsAllowed' => ['Boolean','Text']
169
+        'petsAllowed' => ['Boolean', 'Text']
170 170
     ];
171 171
 
172 172
     /**
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     {
241 241
         $rules = parent::rules();
242 242
         $rules = array_merge($rules, [
243
-            [['amenityFeature','floorSize','numberOfRooms','permittedUsage','petsAllowed'], 'validateJsonSchema'],
243
+            [['amenityFeature', 'floorSize', 'numberOfRooms', 'permittedUsage', 'petsAllowed'], 'validateJsonSchema'],
244 244
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
245 245
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
246 246
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Time.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/CheckoutPage.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
164 164
     // =========================================================================
165 165
 
166 166
     /**
167
-    * @inheritdoc
168
-    */
167
+     * @inheritdoc
168
+     */
169 169
     public function init()
170 170
     {
171 171
         parent::init();
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -203,14 +203,14 @@  discard block
 block discarded – undo
203 203
      * @var array
204 204
      */
205 205
     static protected $_schemaPropertyExpectedTypes = [
206
-        'breadcrumb' => ['BreadcrumbList','Text'],
206
+        'breadcrumb' => ['BreadcrumbList', 'Text'],
207 207
         'lastReviewed' => ['Date'],
208 208
         'mainContentOfPage' => ['WebPageElement'],
209 209
         'primaryImageOfPage' => ['ImageObject'],
210 210
         'relatedLink' => ['URL'],
211
-        'reviewedBy' => ['Organization','Person'],
211
+        'reviewedBy' => ['Organization', 'Person'],
212 212
         'significantLink' => ['URL'],
213
-        'speakable' => ['SpeakableSpecification','URL'],
213
+        'speakable' => ['SpeakableSpecification', 'URL'],
214 214
         'specialty' => ['Specialty']
215 215
     ];
216 216
 
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     {
290 290
         $rules = parent::rules();
291 291
         $rules = array_merge($rules, [
292
-            [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'],
292
+            [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'],
293 293
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
294 294
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
295 295
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Float.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/Flight.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
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
      * @var array
226 226
      */
227 227
     static protected $_schemaPropertyExpectedTypes = [
228
-        'aircraft' => ['Text','Vehicle'],
228
+        'aircraft' => ['Text', 'Vehicle'],
229 229
         'arrivalAirport' => ['Airport'],
230 230
         'arrivalGate' => ['Text'],
231 231
         'arrivalTerminal' => ['Text'],
@@ -233,11 +233,11 @@  discard block
 block discarded – undo
233 233
         'departureAirport' => ['Airport'],
234 234
         'departureGate' => ['Text'],
235 235
         'departureTerminal' => ['Text'],
236
-        'estimatedFlightDuration' => ['Duration','Text'],
237
-        'flightDistance' => ['Distance','Text'],
236
+        'estimatedFlightDuration' => ['Duration', 'Text'],
237
+        'flightDistance' => ['Distance', 'Text'],
238 238
         'flightNumber' => ['Text'],
239 239
         'mealService' => ['Text'],
240
-        'seller' => ['Organization','Person'],
240
+        'seller' => ['Organization', 'Person'],
241 241
         'webCheckinTime' => ['DateTime']
242 242
     ];
243 243
 
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
     {
322 322
         $rules = parent::rules();
323 323
         $rules = array_merge($rules, [
324
-            [['aircraft','arrivalAirport','arrivalGate','arrivalTerminal','boardingPolicy','departureAirport','departureGate','departureTerminal','estimatedFlightDuration','flightDistance','flightNumber','mealService','seller','webCheckinTime'], 'validateJsonSchema'],
324
+            [['aircraft', 'arrivalAirport', 'arrivalGate', 'arrivalTerminal', 'boardingPolicy', 'departureAirport', 'departureGate', 'departureTerminal', 'estimatedFlightDuration', 'flightDistance', 'flightNumber', 'mealService', 'seller', 'webCheckinTime'], 'validateJsonSchema'],
325 325
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
326 326
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
327 327
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SoftwareApplication.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   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -296,27 +296,27 @@  discard block
 block discarded – undo
296 296
      * @var array
297 297
      */
298 298
     static protected $_schemaPropertyExpectedTypes = [
299
-        'applicationCategory' => ['Text','URL'],
300
-        'applicationSubCategory' => ['Text','URL'],
299
+        'applicationCategory' => ['Text', 'URL'],
300
+        'applicationSubCategory' => ['Text', 'URL'],
301 301
         'applicationSuite' => ['Text'],
302 302
         'availableOnDevice' => ['Text'],
303 303
         'countriesNotSupported' => ['Text'],
304 304
         'countriesSupported' => ['Text'],
305 305
         'downloadUrl' => ['URL'],
306
-        'featureList' => ['Text','URL'],
306
+        'featureList' => ['Text', 'URL'],
307 307
         'fileSize' => ['Text'],
308 308
         'installUrl' => ['URL'],
309
-        'memoryRequirements' => ['Text','URL'],
309
+        'memoryRequirements' => ['Text', 'URL'],
310 310
         'operatingSystem' => ['Text'],
311 311
         'permissions' => ['Text'],
312 312
         'processorRequirements' => ['Text'],
313
-        'releaseNotes' => ['Text','URL'],
314
-        'screenshot' => ['ImageObject','URL'],
313
+        'releaseNotes' => ['Text', 'URL'],
314
+        'screenshot' => ['ImageObject', 'URL'],
315 315
         'softwareAddOn' => ['SoftwareApplication'],
316 316
         'softwareHelp' => ['CreativeWork'],
317
-        'softwareRequirements' => ['Text','URL'],
317
+        'softwareRequirements' => ['Text', 'URL'],
318 318
         'softwareVersion' => ['Text'],
319
-        'storageRequirements' => ['Text','URL'],
319
+        'storageRequirements' => ['Text', 'URL'],
320 320
         'supportingData' => ['DataFeed']
321 321
     ];
322 322
 
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
     {
409 409
         $rules = parent::rules();
410 410
         $rules = array_merge($rules, [
411
-            [['applicationCategory','applicationSubCategory','applicationSuite','availableOnDevice','countriesNotSupported','countriesSupported','downloadUrl','featureList','fileSize','installUrl','memoryRequirements','operatingSystem','permissions','processorRequirements','releaseNotes','screenshot','softwareAddOn','softwareHelp','softwareRequirements','softwareVersion','storageRequirements','supportingData'], 'validateJsonSchema'],
411
+            [['applicationCategory', 'applicationSubCategory', 'applicationSuite', 'availableOnDevice', 'countriesNotSupported', 'countriesSupported', 'downloadUrl', 'featureList', 'fileSize', 'installUrl', 'memoryRequirements', 'operatingSystem', 'permissions', 'processorRequirements', 'releaseNotes', 'screenshot', 'softwareAddOn', 'softwareHelp', 'softwareRequirements', 'softwareVersion', 'storageRequirements', 'supportingData'], 'validateJsonSchema'],
412 412
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
413 413
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
414 414
         ]);
Please login to merge, or discard this patch.