Passed
Pull Request — v3 (#436)
by Ben
07:13
created
src/models/jsonld/ReviewAction.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/MusicReleaseFormatType.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
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * @var array
122 122
      */
123 123
     static protected $_schemaPropertyExpectedTypes = [
124
-        'supersededBy' => ['Class','Enumeration','Property']
124
+        'supersededBy' => ['Class', 'Enumeration', 'Property']
125 125
     ];
126 126
 
127 127
     /**
Please login to merge, or discard this patch.
src/models/jsonld/CafeOrCoffeeShop.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
@@ -147,8 +147,8 @@  discard block
 block discarded – undo
147 147
      * @var array
148 148
      */
149 149
     static protected $_schemaPropertyExpectedTypes = [
150
-        'acceptsReservations' => ['Boolean','Text','URL'],
151
-        'hasMenu' => ['Menu','Text','URL'],
150
+        'acceptsReservations' => ['Boolean', 'Text', 'URL'],
151
+        'hasMenu' => ['Menu', 'Text', 'URL'],
152 152
         'servesCuisine' => ['Text'],
153 153
         'starRating' => ['Rating']
154 154
     ];
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     {
224 224
         $rules = parent::rules();
225 225
         $rules = array_merge($rules, [
226
-            [['acceptsReservations','hasMenu','servesCuisine','starRating'], 'validateJsonSchema'],
226
+            [['acceptsReservations', 'hasMenu', 'servesCuisine', 'starRating'], 'validateJsonSchema'],
227 227
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
228 228
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
229 229
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/GovernmentPermit.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
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
     {
248 248
         $rules = parent::rules();
249 249
         $rules = array_merge($rules, [
250
-            [['issuedBy','issuedThrough','permitAudience','validFor','validFrom','validIn','validUntil'], 'validateJsonSchema'],
250
+            [['issuedBy', 'issuedThrough', 'permitAudience', 'validFor', 'validFrom', 'validIn', 'validUntil'], 'validateJsonSchema'],
251 251
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
252 252
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
253 253
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Bakery.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
@@ -147,8 +147,8 @@  discard block
 block discarded – undo
147 147
      * @var array
148 148
      */
149 149
     static protected $_schemaPropertyExpectedTypes = [
150
-        'acceptsReservations' => ['Boolean','Text','URL'],
151
-        'hasMenu' => ['Menu','Text','URL'],
150
+        'acceptsReservations' => ['Boolean', 'Text', 'URL'],
151
+        'hasMenu' => ['Menu', 'Text', 'URL'],
152 152
         'servesCuisine' => ['Text'],
153 153
         'starRating' => ['Rating']
154 154
     ];
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     {
224 224
         $rules = parent::rules();
225 225
         $rules = array_merge($rules, [
226
-            [['acceptsReservations','hasMenu','servesCuisine','starRating'], 'validateJsonSchema'],
226
+            [['acceptsReservations', 'hasMenu', 'servesCuisine', 'starRating'], 'validateJsonSchema'],
227 227
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
228 228
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
229 229
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Event.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/ViewAction.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
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
     {
201 201
         $rules = parent::rules();
202 202
         $rules = array_merge($rules, [
203
-            [['actionAccessibilityRequirement','expectsAcceptanceOf'], 'validateJsonSchema'],
203
+            [['actionAccessibilityRequirement', 'expectsAcceptanceOf'], 'validateJsonSchema'],
204 204
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
205 205
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
206 206
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Hostel.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
@@ -191,11 +191,11 @@  discard block
 block discarded – undo
191 191
     static protected $_schemaPropertyExpectedTypes = [
192 192
         'amenityFeature' => ['LocationFeatureSpecification'],
193 193
         'audience' => ['Audience'],
194
-        'availableLanguage' => ['Language','Text'],
194
+        'availableLanguage' => ['Language', 'Text'],
195 195
         'checkinTime' => ['DateTime'],
196 196
         'checkoutTime' => ['DateTime'],
197
-        'numberOfRooms' => ['Number','QuantitativeValue'],
198
-        'petsAllowed' => ['Boolean','Text'],
197
+        'numberOfRooms' => ['Number', 'QuantitativeValue'],
198
+        'petsAllowed' => ['Boolean', 'Text'],
199 199
         'starRating' => ['Rating']
200 200
     ];
201 201
 
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     {
274 274
         $rules = parent::rules();
275 275
         $rules = array_merge($rules, [
276
-            [['amenityFeature','audience','availableLanguage','checkinTime','checkoutTime','numberOfRooms','petsAllowed','starRating'], 'validateJsonSchema'],
276
+            [['amenityFeature', 'audience', 'availableLanguage', 'checkinTime', 'checkoutTime', 'numberOfRooms', 'petsAllowed', 'starRating'], 'validateJsonSchema'],
277 277
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
278 278
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
279 279
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/VideoGameClip.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
@@ -189,10 +189,10 @@  discard block
 block discarded – undo
189 189
      */
190 190
     static protected $_schemaPropertyExpectedTypes = [
191 191
         'actor' => ['Person'],
192
-        'clipNumber' => ['Integer','Text'],
192
+        'clipNumber' => ['Integer', 'Text'],
193 193
         'director' => ['Person'],
194 194
         'endOffset' => ['Number'],
195
-        'musicBy' => ['MusicGroup','Person'],
195
+        'musicBy' => ['MusicGroup', 'Person'],
196 196
         'partOfEpisode' => ['Episode'],
197 197
         'partOfSeason' => ['CreativeWorkSeason'],
198 198
         'partOfSeries' => ['CreativeWorkSeries'],
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $rules = parent::rules();
276 276
         $rules = array_merge($rules, [
277
-            [['actor','clipNumber','director','endOffset','musicBy','partOfEpisode','partOfSeason','partOfSeries','startOffset'], 'validateJsonSchema'],
277
+            [['actor', 'clipNumber', 'director', 'endOffset', 'musicBy', 'partOfEpisode', 'partOfSeason', 'partOfSeries', 'startOffset'], 'validateJsonSchema'],
278 278
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
279 279
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
280 280
         ]);
Please login to merge, or discard this patch.