Passed
Pull Request — develop (#257)
by Timothy
05:22
created
src/models/jsonld/LiveBlogPosting.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
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
     {
214 214
         $rules = parent::rules();
215 215
         $rules = array_merge($rules, [
216
-            [['coverageEndTime','coverageStartTime','liveBlogUpdate'], 'validateJsonSchema'],
216
+            [['coverageEndTime', 'coverageStartTime', 'liveBlogUpdate'], 'validateJsonSchema'],
217 217
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
218 218
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
219 219
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/VisualArtsEvent.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/AboutPage.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/ChildrensEvent.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/RadioEpisode.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
@@ -181,8 +181,8 @@  discard block
 block discarded – undo
181 181
     static protected $_schemaPropertyExpectedTypes = [
182 182
         'actor' => ['Person'],
183 183
         'director' => ['Person'],
184
-        'episodeNumber' => ['Integer','Text'],
185
-        'musicBy' => ['MusicGroup','Person'],
184
+        'episodeNumber' => ['Integer', 'Text'],
185
+        'musicBy' => ['MusicGroup', 'Person'],
186 186
         'partOfSeason' => ['CreativeWorkSeason'],
187 187
         'partOfSeries' => ['CreativeWorkSeries'],
188 188
         'productionCompany' => ['Organization'],
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     {
264 264
         $rules = parent::rules();
265 265
         $rules = array_merge($rules, [
266
-            [['actor','director','episodeNumber','musicBy','partOfSeason','partOfSeries','productionCompany','trailer'], 'validateJsonSchema'],
266
+            [['actor', 'director', 'episodeNumber', 'musicBy', 'partOfSeason', 'partOfSeries', 'productionCompany', 'trailer'], 'validateJsonSchema'],
267 267
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
268 268
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
269 269
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/CityHall.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/Courthouse.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/MusicRecording.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
@@ -238,7 +238,7 @@
 block discarded – undo
238 238
     {
239 239
         $rules = parent::rules();
240 240
         $rules = array_merge($rules, [
241
-            [['byArtist','duration','inAlbum','inPlaylist','isrcCode','recordingOf'], 'validateJsonSchema'],
241
+            [['byArtist', 'duration', 'inAlbum', 'inPlaylist', 'isrcCode', 'recordingOf'], 'validateJsonSchema'],
242 242
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
243 243
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
244 244
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Resort.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.