Passed
Pull Request — v3 (#436)
by Ben
07:13
created
src/models/jsonld/TaxiService.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   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -297,26 +297,26 @@  discard block
 block discarded – undo
297 297
      */
298 298
     static protected $_schemaPropertyExpectedTypes = [
299 299
         'aggregateRating' => ['AggregateRating'],
300
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
300
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
301 301
         'audience' => ['Audience'],
302 302
         'availableChannel' => ['ServiceChannel'],
303 303
         'award' => ['Text'],
304
-        'brand' => ['Brand','Organization'],
305
-        'broker' => ['Organization','Person'],
306
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
304
+        'brand' => ['Brand', 'Organization'],
305
+        'broker' => ['Organization', 'Person'],
306
+        'category' => ['PhysicalActivityCategory', 'Text', 'Thing'],
307 307
         'hasOfferCatalog' => ['OfferCatalog'],
308 308
         'hoursAvailable' => ['OpeningHoursSpecification'],
309
-        'isRelatedTo' => ['Product','Service'],
310
-        'isSimilarTo' => ['Product','Service'],
311
-        'logo' => ['ImageObject','URL'],
309
+        'isRelatedTo' => ['Product', 'Service'],
310
+        'isSimilarTo' => ['Product', 'Service'],
311
+        'logo' => ['ImageObject', 'URL'],
312 312
         'offers' => ['Offer'],
313
-        'provider' => ['Organization','Person'],
313
+        'provider' => ['Organization', 'Person'],
314 314
         'providerMobility' => ['Text'],
315 315
         'review' => ['Review'],
316 316
         'serviceOutput' => ['Thing'],
317 317
         'serviceType' => ['Text'],
318 318
         'slogan' => ['Text'],
319
-        'termsOfService' => ['Text','URL']
319
+        'termsOfService' => ['Text', 'URL']
320 320
     ];
321 321
 
322 322
     /**
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
     {
407 407
         $rules = parent::rules();
408 408
         $rules = array_merge($rules, [
409
-            [['aggregateRating','areaServed','audience','availableChannel','award','brand','broker','category','hasOfferCatalog','hoursAvailable','isRelatedTo','isSimilarTo','logo','offers','provider','providerMobility','review','serviceOutput','serviceType','slogan','termsOfService'], 'validateJsonSchema'],
409
+            [['aggregateRating', 'areaServed', 'audience', 'availableChannel', 'award', 'brand', 'broker', 'category', 'hasOfferCatalog', 'hoursAvailable', 'isRelatedTo', 'isSimilarTo', 'logo', 'offers', 'provider', 'providerMobility', 'review', 'serviceOutput', 'serviceType', 'slogan', 'termsOfService'], 'validateJsonSchema'],
410 410
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
411 411
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
412 412
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ExerciseAction.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
@@ -304,7 +304,7 @@
 block discarded – undo
304 304
     {
305 305
         $rules = parent::rules();
306 306
         $rules = array_merge($rules, [
307
-            [['diet','distance','exerciseCourse','exercisePlan','exerciseRelatedDiet','exerciseType','fromLocation','opponent','sportsActivityLocation','sportsEvent','sportsTeam','toLocation'], 'validateJsonSchema'],
307
+            [['diet', 'distance', 'exerciseCourse', 'exercisePlan', 'exerciseRelatedDiet', 'exerciseType', 'fromLocation', 'opponent', 'sportsActivityLocation', 'sportsEvent', 'sportsTeam', 'toLocation'], 'validateJsonSchema'],
308 308
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
309 309
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
310 310
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SingleFamilyResidence.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
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * @var array
133 133
      */
134 134
     static protected $_schemaPropertyExpectedTypes = [
135
-        'numberOfRooms' => ['Number','QuantitativeValue'],
135
+        'numberOfRooms' => ['Number', 'QuantitativeValue'],
136 136
         'occupancy' => ['QuantitativeValue']
137 137
     ];
138 138
 
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     {
205 205
         $rules = parent::rules();
206 206
         $rules = array_merge($rules, [
207
-            [['numberOfRooms','occupancy'], 'validateJsonSchema'],
207
+            [['numberOfRooms', 'occupancy'], 'validateJsonSchema'],
208 208
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
209 209
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
210 210
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TheaterGroup.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   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -582,56 +582,56 @@  discard block
 block discarded – undo
582 582
      * @var array
583 583
      */
584 584
     static protected $_schemaPropertyExpectedTypes = [
585
-        'actionableFeedbackPolicy' => ['CreativeWork','URL'],
586
-        'address' => ['PostalAddress','Text'],
585
+        'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
586
+        'address' => ['PostalAddress', 'Text'],
587 587
         'aggregateRating' => ['AggregateRating'],
588 588
         'alumni' => ['Person'],
589
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
589
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
590 590
         'award' => ['Text'],
591
-        'brand' => ['Brand','Organization'],
591
+        'brand' => ['Brand', 'Organization'],
592 592
         'contactPoint' => ['ContactPoint'],
593
-        'correctionsPolicy' => ['CreativeWork','URL'],
593
+        'correctionsPolicy' => ['CreativeWork', 'URL'],
594 594
         'department' => ['Organization'],
595 595
         'dissolutionDate' => ['Date'],
596
-        'diversityPolicy' => ['CreativeWork','URL'],
597
-        'diversityStaffingReport' => ['Article','URL'],
596
+        'diversityPolicy' => ['CreativeWork', 'URL'],
597
+        'diversityStaffingReport' => ['Article', 'URL'],
598 598
         'duns' => ['Text'],
599 599
         'email' => ['Text'],
600 600
         'employee' => ['Person'],
601
-        'ethicsPolicy' => ['CreativeWork','URL'],
601
+        'ethicsPolicy' => ['CreativeWork', 'URL'],
602 602
         'event' => ['Event'],
603 603
         'faxNumber' => ['Text'],
604 604
         'founder' => ['Person'],
605 605
         'foundingDate' => ['Date'],
606 606
         'foundingLocation' => ['Place'],
607
-        'funder' => ['Organization','Person'],
607
+        'funder' => ['Organization', 'Person'],
608 608
         'globalLocationNumber' => ['Text'],
609 609
         'hasOfferCatalog' => ['OfferCatalog'],
610 610
         'hasPOS' => ['Place'],
611 611
         'isicV4' => ['Text'],
612
-        'knowsAbout' => ['Text','Thing','URL'],
613
-        'knowsLanguage' => ['Language','Text'],
612
+        'knowsAbout' => ['Text', 'Thing', 'URL'],
613
+        'knowsLanguage' => ['Language', 'Text'],
614 614
         'legalName' => ['Text'],
615 615
         'leiCode' => ['Text'],
616
-        'location' => ['Place','PostalAddress','Text'],
617
-        'logo' => ['ImageObject','URL'],
616
+        'location' => ['Place', 'PostalAddress', 'Text'],
617
+        'logo' => ['ImageObject', 'URL'],
618 618
         'makesOffer' => ['Offer'],
619
-        'member' => ['Organization','Person'],
620
-        'memberOf' => ['Organization','ProgramMembership'],
619
+        'member' => ['Organization', 'Person'],
620
+        'memberOf' => ['Organization', 'ProgramMembership'],
621 621
         'naics' => ['Text'],
622 622
         'numberOfEmployees' => ['QuantitativeValue'],
623
-        'ownershipFundingInfo' => ['AboutPage','CreativeWork','Text','URL'],
624
-        'owns' => ['OwnershipInfo','Product'],
623
+        'ownershipFundingInfo' => ['AboutPage', 'CreativeWork', 'Text', 'URL'],
624
+        'owns' => ['OwnershipInfo', 'Product'],
625 625
         'parentOrganization' => ['Organization'],
626
-        'publishingPrinciples' => ['CreativeWork','URL'],
626
+        'publishingPrinciples' => ['CreativeWork', 'URL'],
627 627
         'review' => ['Review'],
628 628
         'seeks' => ['Demand'],
629 629
         'slogan' => ['Text'],
630
-        'sponsor' => ['Organization','Person'],
630
+        'sponsor' => ['Organization', 'Person'],
631 631
         'subOrganization' => ['Organization'],
632 632
         'taxID' => ['Text'],
633 633
         'telephone' => ['Text'],
634
-        'unnamedSourcesPolicy' => ['CreativeWork','URL'],
634
+        'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
635 635
         'vatID' => ['Text']
636 636
     ];
637 637
 
@@ -752,7 +752,7 @@  discard block
 block discarded – undo
752 752
     {
753 753
         $rules = parent::rules();
754 754
         $rules = array_merge($rules, [
755
-            [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','diversityStaffingReport','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasOfferCatalog','hasPOS','isicV4','knowsAbout','knowsLanguage','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','ownershipFundingInfo','owns','parentOrganization','publishingPrinciples','review','seeks','slogan','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'],
755
+            [['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'diversityStaffingReport', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'knowsAbout', 'knowsLanguage', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'ownershipFundingInfo', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'slogan', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID'], 'validateJsonSchema'],
756 756
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
757 757
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
758 758
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SellAction.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/PublicationIssue.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
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
      * @var array
145 145
      */
146 146
     static protected $_schemaPropertyExpectedTypes = [
147
-        'issueNumber' => ['Integer','Text'],
148
-        'pageEnd' => ['Integer','Text'],
149
-        'pageStart' => ['Integer','Text'],
147
+        'issueNumber' => ['Integer', 'Text'],
148
+        'pageEnd' => ['Integer', 'Text'],
149
+        'pageStart' => ['Integer', 'Text'],
150 150
         'pagination' => ['Text']
151 151
     ];
152 152
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     {
221 221
         $rules = parent::rules();
222 222
         $rules = array_merge($rules, [
223
-            [['issueNumber','pageEnd','pageStart','pagination'], 'validateJsonSchema'],
223
+            [['issueNumber', 'pageEnd', 'pageStart', 'pagination'], 'validateJsonSchema'],
224 224
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
225 225
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
226 226
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/AutomatedTeller.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
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'feesAndCommissionsSpecification' => ['Text','URL']
121
+        'feesAndCommissionsSpecification' => ['Text', 'URL']
122 122
     ];
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
src/models/jsonld/EventVenue.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/InformAction.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.