Passed
Pull Request — v3 (#436)
by Ben
07:13
created
src/models/jsonld/Comment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
     {
212 212
         $rules = parent::rules();
213 213
         $rules = array_merge($rules, [
214
-            [['downvoteCount','parentItem','upvoteCount'], 'validateJsonSchema'],
214
+            [['downvoteCount', 'parentItem', 'upvoteCount'], 'validateJsonSchema'],
215 215
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
216 216
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
217 217
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Ticket.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -180,10 +180,10 @@  discard block
 block discarded – undo
180 180
         'issuedBy' => ['Organization'],
181 181
         'priceCurrency' => ['Text'],
182 182
         'ticketNumber' => ['Text'],
183
-        'ticketToken' => ['Text','URL'],
183
+        'ticketToken' => ['Text', 'URL'],
184 184
         'ticketedSeat' => ['Seat'],
185
-        'totalPrice' => ['Number','PriceSpecification','Text'],
186
-        'underName' => ['Organization','Person']
185
+        'totalPrice' => ['Number', 'PriceSpecification', 'Text'],
186
+        'underName' => ['Organization', 'Person']
187 187
     ];
188 188
 
189 189
     /**
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     {
261 261
         $rules = parent::rules();
262 262
         $rules = array_merge($rules, [
263
-            [['dateIssued','issuedBy','priceCurrency','ticketNumber','ticketToken','ticketedSeat','totalPrice','underName'], 'validateJsonSchema'],
263
+            [['dateIssued', 'issuedBy', 'priceCurrency', 'ticketNumber', 'ticketToken', 'ticketedSeat', 'totalPrice', 'underName'], 'validateJsonSchema'],
264 264
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
265 265
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
266 266
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/PayAction.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'purpose' => ['MedicalDevicePurpose','Thing'],
130
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
129
+        'purpose' => ['MedicalDevicePurpose', 'Thing'],
130
+        'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person']
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
-            [['purpose','recipient'], 'validateJsonSchema'],
201
+            [['purpose', 'recipient'], '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/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/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.