Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/GameServer.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
-            [['game','playersOnline','serverStatus'], 'validateJsonSchema'],
210
+            [['game', 'playersOnline', 'serverStatus'], '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/ChooseAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'actionOption' => ['Text','Thing']
122
+        'actionOption' => ['Text', 'Thing']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/VisualArtwork.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -215,18 +215,18 @@  discard block
 block discarded – undo
215 215
      * @var array
216 216
      */
217 217
     static protected $_schemaPropertyExpectedTypes = [
218
-        'artEdition' => ['Integer','Text'],
219
-        'artMedium' => ['Text','URL'],
220
-        'artform' => ['Text','URL'],
218
+        'artEdition' => ['Integer', 'Text'],
219
+        'artMedium' => ['Text', 'URL'],
220
+        'artform' => ['Text', 'URL'],
221 221
         'artist' => ['Person'],
222
-        'artworkSurface' => ['Text','URL'],
222
+        'artworkSurface' => ['Text', 'URL'],
223 223
         'colorist' => ['Person'],
224
-        'depth' => ['Distance','QuantitativeValue'],
225
-        'height' => ['Distance','QuantitativeValue'],
224
+        'depth' => ['Distance', 'QuantitativeValue'],
225
+        'height' => ['Distance', 'QuantitativeValue'],
226 226
         'inker' => ['Person'],
227 227
         'letterer' => ['Person'],
228 228
         'penciler' => ['Person'],
229
-        'width' => ['Distance','QuantitativeValue']
229
+        'width' => ['Distance', 'QuantitativeValue']
230 230
     ];
231 231
 
232 232
     /**
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
     {
308 308
         $rules = parent::rules();
309 309
         $rules = array_merge($rules, [
310
-            [['artEdition','artMedium','artform','artist','artworkSurface','colorist','depth','height','inker','letterer','penciler','width'], 'validateJsonSchema'],
310
+            [['artEdition', 'artMedium', 'artform', 'artist', 'artworkSurface', 'colorist', 'depth', 'height', 'inker', 'letterer', 'penciler', 'width'], 'validateJsonSchema'],
311 311
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
312 312
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
313 313
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/MovieSeries.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     static protected $_schemaPropertyExpectedTypes = [
158 158
         'actor' => ['Person'],
159 159
         'director' => ['Person'],
160
-        'musicBy' => ['MusicGroup','Person'],
160
+        'musicBy' => ['MusicGroup', 'Person'],
161 161
         'productionCompany' => ['Organization'],
162 162
         'trailer' => ['VideoObject']
163 163
     ];
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     {
234 234
         $rules = parent::rules();
235 235
         $rules = array_merge($rules, [
236
-            [['actor','director','musicBy','productionCompany','trailer'], 'validateJsonSchema'],
236
+            [['actor', 'director', 'musicBy', 'productionCompany', 'trailer'], 'validateJsonSchema'],
237 237
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
238 238
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
239 239
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/TelevisionChannel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -164,9 +164,9 @@  discard block
 block discarded – undo
164 164
      */
165 165
     static protected $_schemaPropertyExpectedTypes = [
166 166
         'broadcastChannelId' => ['Text'],
167
-        'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'],
167
+        'broadcastFrequency' => ['BroadcastFrequencySpecification', 'Text'],
168 168
         'broadcastServiceTier' => ['Text'],
169
-        'genre' => ['Text','URL'],
169
+        'genre' => ['Text', 'URL'],
170 170
         'inBroadcastLineup' => ['CableOrSatelliteService'],
171 171
         'providesBroadcastService' => ['BroadcastService']
172 172
     ];
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     {
244 244
         $rules = parent::rules();
245 245
         $rules = array_merge($rules, [
246
-            [['broadcastChannelId','broadcastFrequency','broadcastServiceTier','genre','inBroadcastLineup','providesBroadcastService'], 'validateJsonSchema'],
246
+            [['broadcastChannelId', 'broadcastFrequency', 'broadcastServiceTier', 'genre', 'inBroadcastLineup', 'providesBroadcastService'], 'validateJsonSchema'],
247 247
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
248 248
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
249 249
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/RadioEpisode.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -181,8 +181,8 @@  discard block
 block discarded – undo
181 181
     static protected $_schemaPropertyExpectedTypes = [
182 182
         'actor' => ['Person'],
183 183
         'director' => ['Person'],
184
-        'episodeNumber' => ['Integer','Text'],
185
-        'musicBy' => ['MusicGroup','Person'],
184
+        'episodeNumber' => ['Integer', 'Text'],
185
+        'musicBy' => ['MusicGroup', 'Person'],
186 186
         'partOfSeason' => ['CreativeWorkSeason'],
187 187
         'partOfSeries' => ['CreativeWorkSeries'],
188 188
         'productionCompany' => ['Organization'],
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     {
264 264
         $rules = parent::rules();
265 265
         $rules = array_merge($rules, [
266
-            [['actor','director','episodeNumber','musicBy','partOfSeason','partOfSeries','productionCompany','trailer'], 'validateJsonSchema'],
266
+            [['actor', 'director', 'episodeNumber', 'musicBy', 'partOfSeason', 'partOfSeries', 'productionCompany', 'trailer'], 'validateJsonSchema'],
267 267
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
268 268
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
269 269
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/FoodService.php 1 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/HowToSupply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      * @var array
120 120
      */
121 121
     static protected $_schemaPropertyExpectedTypes = [
122
-        'estimatedCost' => ['MonetaryAmount','Text']
122
+        'estimatedCost' => ['MonetaryAmount', 'Text']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/Reservation.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -220,17 +220,17 @@  discard block
 block discarded – undo
220 220
      */
221 221
     static protected $_schemaPropertyExpectedTypes = [
222 222
         'bookingTime' => ['DateTime'],
223
-        'broker' => ['Organization','Person'],
223
+        'broker' => ['Organization', 'Person'],
224 224
         'modifiedTime' => ['DateTime'],
225 225
         'priceCurrency' => ['Text'],
226 226
         'programMembershipUsed' => ['ProgramMembership'],
227
-        'provider' => ['Organization','Person'],
227
+        'provider' => ['Organization', 'Person'],
228 228
         'reservationFor' => ['Thing'],
229 229
         'reservationId' => ['Text'],
230 230
         'reservationStatus' => ['ReservationStatusType'],
231 231
         'reservedTicket' => ['Ticket'],
232
-        'totalPrice' => ['Number','PriceSpecification','Text'],
233
-        'underName' => ['Organization','Person']
232
+        'totalPrice' => ['Number', 'PriceSpecification', 'Text'],
233
+        'underName' => ['Organization', 'Person']
234 234
     ];
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
-            [['bookingTime','broker','modifiedTime','priceCurrency','programMembershipUsed','provider','reservationFor','reservationId','reservationStatus','reservedTicket','totalPrice','underName'], 'validateJsonSchema'],
314
+            [['bookingTime', 'broker', 'modifiedTime', 'priceCurrency', 'programMembershipUsed', 'provider', 'reservationFor', 'reservationId', 'reservationStatus', 'reservedTicket', 'totalPrice', 'underName'], '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.