Passed
Push — v3 ( 6054b6...238b69 )
by Andrew
27:44 queued 16:28
created
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
         'issuedThrough' => ['Service'],
170 170
         'permitAudience' => ['Audience'],
171 171
         'validFor' => ['Duration'],
172
-        'validFrom' => ['Date','DateTime'],
172
+        'validFrom' => ['Date', 'DateTime'],
173 173
         'validIn' => ['AdministrativeArea'],
174 174
         'validUntil' => ['Date']
175 175
     ];
@@ -247,7 +247,7 @@  discard block
 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   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -456,36 +456,36 @@  discard block
 block discarded – undo
456 456
         'about' => ['Thing'],
457 457
         'actor' => ['Person'],
458 458
         'aggregateRating' => ['AggregateRating'],
459
-        'attendee' => ['Organization','Person'],
459
+        'attendee' => ['Organization', 'Person'],
460 460
         'audience' => ['Audience'],
461
-        'composer' => ['Organization','Person'],
462
-        'contributor' => ['Organization','Person'],
461
+        'composer' => ['Organization', 'Person'],
462
+        'contributor' => ['Organization', 'Person'],
463 463
         'director' => ['Person'],
464
-        'doorTime' => ['DateTime','Time'],
464
+        'doorTime' => ['DateTime', 'Time'],
465 465
         'duration' => ['Duration'],
466
-        'endDate' => ['Date','DateTime'],
466
+        'endDate' => ['Date', 'DateTime'],
467 467
         'eventAttendanceMode' => ['EventAttendanceModeEnumeration'],
468 468
         'eventSchedule' => ['Schedule'],
469 469
         'eventStatus' => ['EventStatusType'],
470
-        'funder' => ['Organization','Person'],
471
-        'inLanguage' => ['Language','Text'],
470
+        'funder' => ['Organization', 'Person'],
471
+        'inLanguage' => ['Language', 'Text'],
472 472
         'isAccessibleForFree' => ['Boolean'],
473
-        'location' => ['Place','PostalAddress','Text','VirtualLocation'],
473
+        'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'],
474 474
         'maximumAttendeeCapacity' => ['Integer'],
475 475
         'maximumPhysicalAttendeeCapacity' => ['Integer'],
476 476
         'maximumVirtualAttendeeCapacity' => ['Integer'],
477
-        'offers' => ['Demand','Offer'],
478
-        'organizer' => ['Organization','Person'],
479
-        'performer' => ['Organization','Person'],
477
+        'offers' => ['Demand', 'Offer'],
478
+        'organizer' => ['Organization', 'Person'],
479
+        'performer' => ['Organization', 'Person'],
480 480
         'previousStartDate' => ['Date'],
481 481
         'recordedIn' => ['CreativeWork'],
482 482
         'remainingAttendeeCapacity' => ['Integer'],
483 483
         'review' => ['Review'],
484
-        'sponsor' => ['Organization','Person'],
485
-        'startDate' => ['Date','DateTime'],
484
+        'sponsor' => ['Organization', 'Person'],
485
+        'startDate' => ['Date', 'DateTime'],
486 486
         'subEvent' => ['Event'],
487 487
         'superEvent' => ['Event'],
488
-        'translator' => ['Organization','Person'],
488
+        'translator' => ['Organization', 'Person'],
489 489
         'typicalAgeRange' => ['Text'],
490 490
         'workFeatured' => ['CreativeWork'],
491 491
         'workPerformed' => ['CreativeWork']
@@ -593,7 +593,7 @@  discard block
 block discarded – undo
593 593
     {
594 594
         $rules = parent::rules();
595 595
         $rules = array_merge($rules, [
596
-            [['about','actor','aggregateRating','attendee','audience','composer','contributor','director','doorTime','duration','endDate','eventAttendanceMode','eventSchedule','eventStatus','funder','inLanguage','isAccessibleForFree','location','maximumAttendeeCapacity','maximumPhysicalAttendeeCapacity','maximumVirtualAttendeeCapacity','offers','organizer','performer','previousStartDate','recordedIn','remainingAttendeeCapacity','review','sponsor','startDate','subEvent','superEvent','translator','typicalAgeRange','workFeatured','workPerformed'], 'validateJsonSchema'],
596
+            [['about', 'actor', 'aggregateRating', 'attendee', 'audience', 'composer', 'contributor', 'director', 'doorTime', 'duration', 'endDate', 'eventAttendanceMode', 'eventSchedule', 'eventStatus', 'funder', 'inLanguage', 'isAccessibleForFree', 'location', 'maximumAttendeeCapacity', 'maximumPhysicalAttendeeCapacity', 'maximumVirtualAttendeeCapacity', 'offers', 'organizer', 'performer', 'previousStartDate', 'recordedIn', 'remainingAttendeeCapacity', 'review', 'sponsor', 'startDate', 'subEvent', 'superEvent', 'translator', 'typicalAgeRange', 'workFeatured', 'workPerformed'], 'validateJsonSchema'],
597 597
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
598 598
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
599 599
         ]);
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   +6 added lines, -6 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'],
195
-        'checkinTime' => ['DateTime','Time'],
196
-        'checkoutTime' => ['DateTime','Time'],
197
-        'numberOfRooms' => ['Number','QuantitativeValue'],
198
-        'petsAllowed' => ['Boolean','Text'],
194
+        'availableLanguage' => ['Language', 'Text'],
195
+        'checkinTime' => ['DateTime', 'Time'],
196
+        'checkoutTime' => ['DateTime', 'Time'],
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.
src/models/jsonld/GeoShape.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
@@ -186,11 +186,11 @@  discard block
 block discarded – undo
186 186
      * @var array
187 187
      */
188 188
     static protected $_schemaPropertyExpectedTypes = [
189
-        'address' => ['PostalAddress','Text'],
190
-        'addressCountry' => ['Country','Text'],
189
+        'address' => ['PostalAddress', 'Text'],
190
+        'addressCountry' => ['Country', 'Text'],
191 191
         'box' => ['Text'],
192 192
         'circle' => ['Text'],
193
-        'elevation' => ['Number','Text'],
193
+        'elevation' => ['Number', 'Text'],
194 194
         'line' => ['Text'],
195 195
         'polygon' => ['Text'],
196 196
         'postalCode' => ['Text']
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     {
271 271
         $rules = parent::rules();
272 272
         $rules = array_merge($rules, [
273
-            [['address','addressCountry','box','circle','elevation','line','polygon','postalCode'], 'validateJsonSchema'],
273
+            [['address', 'addressCountry', 'box', 'circle', 'elevation', 'line', 'polygon', 'postalCode'], 'validateJsonSchema'],
274 274
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
275 275
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
276 276
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/AllocateAction.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.