Passed
Push — v3 ( 35bf58...2c6c1d )
by Andrew
34:25 queued 22:13
created
src/models/jsonld/Episode.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/DateTime.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/BodyOfWater.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   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
      */
477 477
     static protected $_schemaPropertyExpectedTypes = [
478 478
         'additionalProperty' => ['PropertyValue'],
479
-        'address' => ['PostalAddress','Text'],
479
+        'address' => ['PostalAddress', 'Text'],
480 480
         'aggregateRating' => ['AggregateRating'],
481 481
         'amenityFeature' => ['LocationFeatureSpecification'],
482 482
         'branchCode' => ['Text'],
@@ -484,28 +484,28 @@  discard block
 block discarded – undo
484 484
         'containsPlace' => ['Place'],
485 485
         'event' => ['Event'],
486 486
         'faxNumber' => ['Text'],
487
-        'geo' => ['GeoCoordinates','GeoShape'],
488
-        'geoContains' => ['GeospatialGeometry','Place'],
489
-        'geoCoveredBy' => ['GeospatialGeometry','Place'],
490
-        'geoCovers' => ['GeospatialGeometry','Place'],
491
-        'geoCrosses' => ['GeospatialGeometry','Place'],
492
-        'geoDisjoint' => ['GeospatialGeometry','Place'],
493
-        'geoEquals' => ['GeospatialGeometry','Place'],
494
-        'geoIntersects' => ['GeospatialGeometry','Place'],
495
-        'geoOverlaps' => ['GeospatialGeometry','Place'],
496
-        'geoTouches' => ['GeospatialGeometry','Place'],
497
-        'geoWithin' => ['GeospatialGeometry','Place'],
487
+        'geo' => ['GeoCoordinates', 'GeoShape'],
488
+        'geoContains' => ['GeospatialGeometry', 'Place'],
489
+        'geoCoveredBy' => ['GeospatialGeometry', 'Place'],
490
+        'geoCovers' => ['GeospatialGeometry', 'Place'],
491
+        'geoCrosses' => ['GeospatialGeometry', 'Place'],
492
+        'geoDisjoint' => ['GeospatialGeometry', 'Place'],
493
+        'geoEquals' => ['GeospatialGeometry', 'Place'],
494
+        'geoIntersects' => ['GeospatialGeometry', 'Place'],
495
+        'geoOverlaps' => ['GeospatialGeometry', 'Place'],
496
+        'geoTouches' => ['GeospatialGeometry', 'Place'],
497
+        'geoWithin' => ['GeospatialGeometry', 'Place'],
498 498
         'globalLocationNumber' => ['Text'],
499 499
         'hasDriveThroughService' => ['Boolean'],
500
-        'hasMap' => ['Map','URL'],
500
+        'hasMap' => ['Map', 'URL'],
501 501
         'isAccessibleForFree' => ['Boolean'],
502 502
         'isicV4' => ['Text'],
503
-        'latitude' => ['Number','Text'],
504
-        'logo' => ['ImageObject','URL'],
505
-        'longitude' => ['Number','Text'],
503
+        'latitude' => ['Number', 'Text'],
504
+        'logo' => ['ImageObject', 'URL'],
505
+        'longitude' => ['Number', 'Text'],
506 506
         'maximumAttendeeCapacity' => ['Integer'],
507 507
         'openingHoursSpecification' => ['OpeningHoursSpecification'],
508
-        'photo' => ['ImageObject','Photograph'],
508
+        'photo' => ['ImageObject', 'Photograph'],
509 509
         'publicAccess' => ['Boolean'],
510 510
         'review' => ['Review'],
511 511
         'slogan' => ['Text'],
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
     {
620 620
         $rules = parent::rules();
621 621
         $rules = array_merge($rules, [
622
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geoContains','geoCoveredBy','geoCovers','geoCrosses','geoDisjoint','geoEquals','geoIntersects','geoOverlaps','geoTouches','geoWithin','globalLocationNumber','hasDriveThroughService','hasMap','isAccessibleForFree','isicV4','latitude','logo','longitude','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','slogan','smokingAllowed','specialOpeningHoursSpecification','telephone','tourBookingPage'], 'validateJsonSchema'],
622
+            [['additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geoContains', 'geoCoveredBy', 'geoCovers', 'geoCrosses', 'geoDisjoint', 'geoEquals', 'geoIntersects', 'geoOverlaps', 'geoTouches', 'geoWithin', 'globalLocationNumber', 'hasDriveThroughService', 'hasMap', 'isAccessibleForFree', 'isicV4', 'latitude', 'logo', 'longitude', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'slogan', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone', 'tourBookingPage'], 'validateJsonSchema'],
623 623
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
624 624
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
625 625
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/VideoGame.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
@@ -193,10 +193,10 @@  discard block
 block discarded – undo
193 193
         'actor' => ['Person'],
194 194
         'cheatCode' => ['CreativeWork'],
195 195
         'director' => ['Person'],
196
-        'gamePlatform' => ['Text','Thing','URL'],
196
+        'gamePlatform' => ['Text', 'Thing', 'URL'],
197 197
         'gameServer' => ['GameServer'],
198 198
         'gameTip' => ['CreativeWork'],
199
-        'musicBy' => ['MusicGroup','Person'],
199
+        'musicBy' => ['MusicGroup', 'Person'],
200 200
         'playMode' => ['GamePlayMode'],
201 201
         'trailer' => ['VideoObject']
202 202
     ];
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     {
277 277
         $rules = parent::rules();
278 278
         $rules = array_merge($rules, [
279
-            [['actor','cheatCode','director','gamePlatform','gameServer','gameTip','musicBy','playMode','trailer'], 'validateJsonSchema'],
279
+            [['actor', 'cheatCode', 'director', 'gamePlatform', 'gameServer', 'gameTip', 'musicBy', 'playMode', 'trailer'], 'validateJsonSchema'],
280 280
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
281 281
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
282 282
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/GovernmentBuilding.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/RegisterAction.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
@@ -215,13 +215,13 @@  discard block
 block discarded – undo
215 215
      */
216 216
     static protected $_schemaPropertyExpectedTypes = [
217 217
         'actionStatus' => ['ActionStatusType'],
218
-        'endTime' => ['DateTime','Time'],
218
+        'endTime' => ['DateTime', 'Time'],
219 219
         'instrument' => ['Thing'],
220
-        'location' => ['Place','PostalAddress','Text','VirtualLocation'],
220
+        'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'],
221 221
         'object' => ['Thing'],
222
-        'participant' => ['Organization','Person'],
222
+        'participant' => ['Organization', 'Person'],
223 223
         'result' => ['Thing'],
224
-        'startTime' => ['DateTime','Time'],
224
+        'startTime' => ['DateTime', 'Time'],
225 225
         'target' => ['EntryPoint']
226 226
     ];
227 227
 
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
     {
301 301
         $rules = parent::rules();
302 302
         $rules = array_merge($rules, [
303
-            [['actionStatus','endTime','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'],
303
+            [['actionStatus', 'endTime', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'],
304 304
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
305 305
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
306 306
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/HotelRoom.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
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
      * @var array
135 135
      */
136 136
     static protected $_schemaPropertyExpectedTypes = [
137
-        'bed' => ['BedDetails','BedType','Text'],
137
+        'bed' => ['BedDetails', 'BedType', 'Text'],
138 138
         'occupancy' => ['QuantitativeValue']
139 139
     ];
140 140
 
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     {
207 207
         $rules = parent::rules();
208 208
         $rules = array_merge($rules, [
209
-            [['bed','occupancy'], 'validateJsonSchema'],
209
+            [['bed', 'occupancy'], 'validateJsonSchema'],
210 210
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
211 211
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
212 212
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Message.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   +7 added lines, -7 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'],
191
-        'dateRead' => ['Date','DateTime'],
189
+        'bccRecipient' => ['ContactPoint', 'Organization', 'Person'],
190
+        'ccRecipient' => ['ContactPoint', 'Organization', 'Person'],
191
+        'dateRead' => ['Date', '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/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.