Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/BankAccount.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     static protected $_schemaPropertyExpectedTypes = [
139 139
         'accountMinimumInflow' => ['MonetaryAmount'],
140 140
         'accountOverdraftLimit' => ['MonetaryAmount'],
141
-        'bankAccountType' => ['Text','URL']
141
+        'bankAccountType' => ['Text', 'URL']
142 142
     ];
143 143
 
144 144
     /**
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
     {
211 211
         $rules = parent::rules();
212 212
         $rules = array_merge($rules, [
213
-            [['accountMinimumInflow','accountOverdraftLimit','bankAccountType'], 'validateJsonSchema'],
213
+            [['accountMinimumInflow', 'accountOverdraftLimit', 'bankAccountType'], 'validateJsonSchema'],
214 214
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
215 215
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
216 216
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/BusinessAudience.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
     {
209 209
         $rules = parent::rules();
210 210
         $rules = array_merge($rules, [
211
-            [['numberOfEmployees','yearlyRevenue','yearsInOperation'], 'validateJsonSchema'],
211
+            [['numberOfEmployees', 'yearlyRevenue', 'yearsInOperation'], 'validateJsonSchema'],
212 212
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
213 213
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
214 214
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MusicPlaylist.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129 129
         'numTracks' => ['Integer'],
130
-        'track' => ['ItemList','MusicRecording']
130
+        'track' => ['ItemList', 'MusicRecording']
131 131
     ];
132 132
 
133 133
     /**
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['numTracks','track'], 'validateJsonSchema'],
201
+            [['numTracks', 'track'], 'validateJsonSchema'],
202 202
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
203 203
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
204 204
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/NGO.php 1 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/AggregateRating.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
     {
208 208
         $rules = parent::rules();
209 209
         $rules = array_merge($rules, [
210
-            [['itemReviewed','ratingCount','reviewCount'], 'validateJsonSchema'],
210
+            [['itemReviewed', 'ratingCount', 'reviewCount'], 'validateJsonSchema'],
211 211
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
212 212
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
213 213
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MedicalOrganization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
     {
210 210
         $rules = parent::rules();
211 211
         $rules = array_merge($rules, [
212
-            [['healthPlanNetworkId','isAcceptingNewPatients','medicalSpecialty'], 'validateJsonSchema'],
212
+            [['healthPlanNetworkId', 'isAcceptingNewPatients', 'medicalSpecialty'], 'validateJsonSchema'],
213 213
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
214 214
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
215 215
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Suite.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -148,8 +148,8 @@  discard block
 block discarded – undo
148 148
      * @var array
149 149
      */
150 150
     static protected $_schemaPropertyExpectedTypes = [
151
-        'bed' => ['BedDetails','BedType','Text'],
152
-        'numberOfRooms' => ['Number','QuantitativeValue'],
151
+        'bed' => ['BedDetails', 'BedType', 'Text'],
152
+        'numberOfRooms' => ['Number', 'QuantitativeValue'],
153 153
         'occupancy' => ['QuantitativeValue']
154 154
     ];
155 155
 
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     {
223 223
         $rules = parent::rules();
224 224
         $rules = array_merge($rules, [
225
-            [['bed','numberOfRooms','occupancy'], 'validateJsonSchema'],
225
+            [['bed', 'numberOfRooms', 'occupancy'], 'validateJsonSchema'],
226 226
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
227 227
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
228 228
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Physician.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * @var array
134 134
      */
135 135
     static protected $_schemaPropertyExpectedTypes = [
136
-        'availableService' => ['MedicalProcedure','MedicalTest','MedicalTherapy'],
136
+        'availableService' => ['MedicalProcedure', 'MedicalTest', 'MedicalTherapy'],
137 137
         'hospitalAffiliation' => ['Hospital'],
138 138
         'medicalSpecialty' => ['MedicalSpecialty']
139 139
     ];
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     {
208 208
         $rules = parent::rules();
209 209
         $rules = array_merge($rules, [
210
-            [['availableService','hospitalAffiliation','medicalSpecialty'], 'validateJsonSchema'],
210
+            [['availableService', 'hospitalAffiliation', 'medicalSpecialty'], 'validateJsonSchema'],
211 211
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
212 212
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
213 213
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TrainTrip.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
         'departurePlatform' => ['Text'],
191 191
         'departureStation' => ['TrainStation'],
192 192
         'departureTime' => ['DateTime'],
193
-        'provider' => ['Organization','Person'],
193
+        'provider' => ['Organization', 'Person'],
194 194
         'trainName' => ['Text'],
195 195
         'trainNumber' => ['Text']
196 196
     ];
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     {
271 271
         $rules = parent::rules();
272 272
         $rules = array_merge($rules, [
273
-            [['arrivalPlatform','arrivalStation','arrivalTime','departurePlatform','departureStation','departureTime','provider','trainName','trainNumber'], 'validateJsonSchema'],
273
+            [['arrivalPlatform', 'arrivalStation', 'arrivalTime', 'departurePlatform', 'departureStation', 'departureTime', 'provider', 'trainName', 'trainNumber'], '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.