Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/URL.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/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
@@ -288,25 +288,25 @@  discard block
 block discarded – undo
288 288
      */
289 289
     static protected $_schemaPropertyExpectedTypes = [
290 290
         'aggregateRating' => ['AggregateRating'],
291
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
291
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
292 292
         'audience' => ['Audience'],
293 293
         'availableChannel' => ['ServiceChannel'],
294 294
         'award' => ['Text'],
295
-        'brand' => ['Brand','Organization'],
296
-        'broker' => ['Organization','Person'],
297
-        'category' => ['PhysicalActivityCategory','Text','Thing'],
295
+        'brand' => ['Brand', 'Organization'],
296
+        'broker' => ['Organization', 'Person'],
297
+        'category' => ['PhysicalActivityCategory', 'Text', 'Thing'],
298 298
         'hasOfferCatalog' => ['OfferCatalog'],
299 299
         'hoursAvailable' => ['OpeningHoursSpecification'],
300
-        'isRelatedTo' => ['Product','Service'],
301
-        'isSimilarTo' => ['Product','Service'],
302
-        'logo' => ['ImageObject','URL'],
300
+        'isRelatedTo' => ['Product', 'Service'],
301
+        'isSimilarTo' => ['Product', 'Service'],
302
+        'logo' => ['ImageObject', 'URL'],
303 303
         'offers' => ['Offer'],
304
-        'provider' => ['Organization','Person'],
304
+        'provider' => ['Organization', 'Person'],
305 305
         'providerMobility' => ['Text'],
306 306
         'review' => ['Review'],
307 307
         'serviceOutput' => ['Thing'],
308 308
         'serviceType' => ['Text'],
309
-        'termsOfService' => ['Text','URL']
309
+        'termsOfService' => ['Text', 'URL']
310 310
     ];
311 311
 
312 312
     /**
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     {
396 396
         $rules = parent::rules();
397 397
         $rules = array_merge($rules, [
398
-            [['aggregateRating','areaServed','audience','availableChannel','award','brand','broker','category','hasOfferCatalog','hoursAvailable','isRelatedTo','isSimilarTo','logo','offers','provider','providerMobility','review','serviceOutput','serviceType','termsOfService'], 'validateJsonSchema'],
398
+            [['aggregateRating', 'areaServed', 'audience', 'availableChannel', 'award', 'brand', 'broker', 'category', 'hasOfferCatalog', 'hoursAvailable', 'isRelatedTo', 'isSimilarTo', 'logo', 'offers', 'provider', 'providerMobility', 'review', 'serviceOutput', 'serviceType', 'termsOfService'], 'validateJsonSchema'],
399 399
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
400 400
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
401 401
         ]);
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   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -527,51 +527,51 @@  discard block
 block discarded – undo
527 527
      * @var array
528 528
      */
529 529
     static protected $_schemaPropertyExpectedTypes = [
530
-        'actionableFeedbackPolicy' => ['CreativeWork','URL'],
531
-        'address' => ['PostalAddress','Text'],
530
+        'actionableFeedbackPolicy' => ['CreativeWork', 'URL'],
531
+        'address' => ['PostalAddress', 'Text'],
532 532
         'aggregateRating' => ['AggregateRating'],
533 533
         'alumni' => ['Person'],
534
-        'areaServed' => ['AdministrativeArea','GeoShape','Place','Text'],
534
+        'areaServed' => ['AdministrativeArea', 'GeoShape', 'Place', 'Text'],
535 535
         'award' => ['Text'],
536
-        'brand' => ['Brand','Organization'],
536
+        'brand' => ['Brand', 'Organization'],
537 537
         'contactPoint' => ['ContactPoint'],
538
-        'correctionsPolicy' => ['CreativeWork','URL'],
538
+        'correctionsPolicy' => ['CreativeWork', 'URL'],
539 539
         'department' => ['Organization'],
540 540
         'dissolutionDate' => ['Date'],
541
-        'diversityPolicy' => ['CreativeWork','URL'],
541
+        'diversityPolicy' => ['CreativeWork', 'URL'],
542 542
         'duns' => ['Text'],
543 543
         'email' => ['Text'],
544 544
         'employee' => ['Person'],
545
-        'ethicsPolicy' => ['CreativeWork','URL'],
545
+        'ethicsPolicy' => ['CreativeWork', 'URL'],
546 546
         'event' => ['Event'],
547 547
         'faxNumber' => ['Text'],
548 548
         'founder' => ['Person'],
549 549
         'foundingDate' => ['Date'],
550 550
         'foundingLocation' => ['Place'],
551
-        'funder' => ['Organization','Person'],
551
+        'funder' => ['Organization', 'Person'],
552 552
         'globalLocationNumber' => ['Text'],
553 553
         'hasOfferCatalog' => ['OfferCatalog'],
554 554
         'hasPOS' => ['Place'],
555 555
         'isicV4' => ['Text'],
556 556
         'legalName' => ['Text'],
557 557
         'leiCode' => ['Text'],
558
-        'location' => ['Place','PostalAddress','Text'],
559
-        'logo' => ['ImageObject','URL'],
558
+        'location' => ['Place', 'PostalAddress', 'Text'],
559
+        'logo' => ['ImageObject', 'URL'],
560 560
         'makesOffer' => ['Offer'],
561
-        'member' => ['Organization','Person'],
562
-        'memberOf' => ['Organization','ProgramMembership'],
561
+        'member' => ['Organization', 'Person'],
562
+        'memberOf' => ['Organization', 'ProgramMembership'],
563 563
         'naics' => ['Text'],
564 564
         'numberOfEmployees' => ['QuantitativeValue'],
565
-        'owns' => ['OwnershipInfo','Product'],
565
+        'owns' => ['OwnershipInfo', 'Product'],
566 566
         'parentOrganization' => ['Organization'],
567
-        'publishingPrinciples' => ['CreativeWork','URL'],
567
+        'publishingPrinciples' => ['CreativeWork', 'URL'],
568 568
         'review' => ['Review'],
569 569
         'seeks' => ['Demand'],
570
-        'sponsor' => ['Organization','Person'],
570
+        'sponsor' => ['Organization', 'Person'],
571 571
         'subOrganization' => ['Organization'],
572 572
         'taxID' => ['Text'],
573 573
         'telephone' => ['Text'],
574
-        'unnamedSourcesPolicy' => ['CreativeWork','URL'],
574
+        'unnamedSourcesPolicy' => ['CreativeWork', 'URL'],
575 575
         'vatID' => ['Text']
576 576
     ];
577 577
 
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
     {
688 688
         $rules = parent::rules();
689 689
         $rules = array_merge($rules, [
690
-            [['actionableFeedbackPolicy','address','aggregateRating','alumni','areaServed','award','brand','contactPoint','correctionsPolicy','department','dissolutionDate','diversityPolicy','duns','email','employee','ethicsPolicy','event','faxNumber','founder','foundingDate','foundingLocation','funder','globalLocationNumber','hasOfferCatalog','hasPOS','isicV4','legalName','leiCode','location','logo','makesOffer','member','memberOf','naics','numberOfEmployees','owns','parentOrganization','publishingPrinciples','review','seeks','sponsor','subOrganization','taxID','telephone','unnamedSourcesPolicy','vatID'], 'validateJsonSchema'],
690
+            [['actionableFeedbackPolicy', 'address', 'aggregateRating', 'alumni', 'areaServed', 'award', 'brand', 'contactPoint', 'correctionsPolicy', 'department', 'dissolutionDate', 'diversityPolicy', 'duns', 'email', 'employee', 'ethicsPolicy', 'event', 'faxNumber', 'founder', 'foundingDate', 'foundingLocation', 'funder', 'globalLocationNumber', 'hasOfferCatalog', 'hasPOS', 'isicV4', 'legalName', 'leiCode', 'location', 'logo', 'makesOffer', 'member', 'memberOf', 'naics', 'numberOfEmployees', 'owns', 'parentOrganization', 'publishingPrinciples', 'review', 'seeks', 'sponsor', 'subOrganization', 'taxID', 'telephone', 'unnamedSourcesPolicy', 'vatID'], 'validateJsonSchema'],
691 691
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
692 692
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
693 693
         ]);
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.