Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/BroadcastService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     static protected $_schemaPropertyExpectedTypes = [
183 183
         'broadcastAffiliateOf' => ['Organization'],
184 184
         'broadcastDisplayName' => ['Text'],
185
-        'broadcastFrequency' => ['BroadcastFrequencySpecification','Text'],
185
+        'broadcastFrequency' => ['BroadcastFrequencySpecification', 'Text'],
186 186
         'broadcastTimezone' => ['Text'],
187 187
         'broadcaster' => ['Organization'],
188 188
         'hasBroadcastChannel' => ['BroadcastChannel'],
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
     {
265 265
         $rules = parent::rules();
266 266
         $rules = array_merge($rules, [
267
-            [['broadcastAffiliateOf','broadcastDisplayName','broadcastFrequency','broadcastTimezone','broadcaster','hasBroadcastChannel','parentService','videoFormat'], 'validateJsonSchema'],
267
+            [['broadcastAffiliateOf', 'broadcastDisplayName', 'broadcastFrequency', 'broadcastTimezone', 'broadcaster', 'hasBroadcastChannel', 'parentService', 'videoFormat'], 'validateJsonSchema'],
268 268
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
269 269
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
270 270
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/InsuranceAgency.php 1 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/VideoGameSeries.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -263,9 +263,9 @@  discard block
 block discarded – undo
263 263
         'director' => ['Person'],
264 264
         'episode' => ['Episode'],
265 265
         'gameItem' => ['Thing'],
266
-        'gameLocation' => ['Place','PostalAddress','URL'],
267
-        'gamePlatform' => ['Text','Thing','URL'],
268
-        'musicBy' => ['MusicGroup','Person'],
266
+        'gameLocation' => ['Place', 'PostalAddress', 'URL'],
267
+        'gamePlatform' => ['Text', 'Thing', 'URL'],
268
+        'musicBy' => ['MusicGroup', 'Person'],
269 269
         'numberOfEpisodes' => ['Integer'],
270 270
         'numberOfPlayers' => ['QuantitativeValue'],
271 271
         'numberOfSeasons' => ['Integer'],
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
     {
359 359
         $rules = parent::rules();
360 360
         $rules = array_merge($rules, [
361
-            [['actor','characterAttribute','cheatCode','containsSeason','director','episode','gameItem','gameLocation','gamePlatform','musicBy','numberOfEpisodes','numberOfPlayers','numberOfSeasons','playMode','productionCompany','quest','trailer'], 'validateJsonSchema'],
361
+            [['actor', 'characterAttribute', 'cheatCode', 'containsSeason', 'director', 'episode', 'gameItem', 'gameLocation', 'gamePlatform', 'musicBy', 'numberOfEpisodes', 'numberOfPlayers', 'numberOfSeasons', 'playMode', 'productionCompany', 'quest', 'trailer'], 'validateJsonSchema'],
362 362
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
363 363
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
364 364
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SendAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      */
132 132
     static protected $_schemaPropertyExpectedTypes = [
133 133
         'deliveryMethod' => ['DeliveryMethod'],
134
-        'recipient' => ['Audience','ContactPoint','Organization','Person']
134
+        'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person']
135 135
     ];
136 136
 
137 137
     /**
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     {
203 203
         $rules = parent::rules();
204 204
         $rules = array_merge($rules, [
205
-            [['deliveryMethod','recipient'], 'validateJsonSchema'],
205
+            [['deliveryMethod', 'recipient'], 'validateJsonSchema'],
206 206
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
207 207
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
208 208
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/ProductModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
     {
213 213
         $rules = parent::rules();
214 214
         $rules = array_merge($rules, [
215
-            [['isVariantOf','predecessorOf','successorOf'], 'validateJsonSchema'],
215
+            [['isVariantOf', 'predecessorOf', 'successorOf'], 'validateJsonSchema'],
216 216
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
217 217
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
218 218
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Review.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
     {
211 211
         $rules = parent::rules();
212 212
         $rules = array_merge($rules, [
213
-            [['itemReviewed','reviewBody','reviewRating'], 'validateJsonSchema'],
213
+            [['itemReviewed', 'reviewBody', 'reviewRating'], '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/VideoObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         'actor' => ['Person'],
182 182
         'caption' => ['Text'],
183 183
         'director' => ['Person'],
184
-        'musicBy' => ['MusicGroup','Person'],
184
+        'musicBy' => ['MusicGroup', 'Person'],
185 185
         'thumbnail' => ['ImageObject'],
186 186
         'transcript' => ['Text'],
187 187
         'videoFrameSize' => ['Text'],
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     {
263 263
         $rules = parent::rules();
264 264
         $rules = array_merge($rules, [
265
-            [['actor','caption','director','musicBy','thumbnail','transcript','videoFrameSize','videoQuality'], 'validateJsonSchema'],
265
+            [['actor', 'caption', 'director', 'musicBy', 'thumbnail', 'transcript', 'videoFrameSize', 'videoQuality'], 'validateJsonSchema'],
266 266
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
267 267
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
268 268
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Article.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,10 +187,10 @@  discard block
 block discarded – undo
187 187
     static protected $_schemaPropertyExpectedTypes = [
188 188
         'articleBody' => ['Text'],
189 189
         'articleSection' => ['Text'],
190
-        'pageEnd' => ['Integer','Text'],
191
-        'pageStart' => ['Integer','Text'],
190
+        'pageEnd' => ['Integer', 'Text'],
191
+        'pageStart' => ['Integer', 'Text'],
192 192
         'pagination' => ['Text'],
193
-        'speakable' => ['SpeakableSpecification','URL'],
193
+        'speakable' => ['SpeakableSpecification', 'URL'],
194 194
         'wordCount' => ['Integer']
195 195
     ];
196 196
 
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $rules = parent::rules();
276 276
         $rules = array_merge($rules, [
277
-            [['articleBody','articleSection','pageEnd','pageStart','pagination','speakable','wordCount'], 'validateJsonSchema'],
277
+            [['articleBody', 'articleSection', 'pageEnd', 'pageStart', 'pagination', 'speakable', 'wordCount'], 'validateJsonSchema'],
278 278
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
279 279
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
280 280
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Airline.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
     {
199 199
         $rules = parent::rules();
200 200
         $rules = array_merge($rules, [
201
-            [['boardingPolicy','iataCode'], 'validateJsonSchema'],
201
+            [['boardingPolicy', 'iataCode'], '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.