Passed
Pull Request — v3 (#436)
by Ben
07:13
created
src/models/jsonld/CreditCard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
      * @var array
127 127
      */
128 128
     static protected $_schemaPropertyExpectedTypes = [
129
-        'monthlyMinimumRepaymentAmount' => ['MonetaryAmount','Number']
129
+        'monthlyMinimumRepaymentAmount' => ['MonetaryAmount', 'Number']
130 130
     ];
131 131
 
132 132
     /**
Please login to merge, or discard this patch.
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/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.
src/models/jsonld/MenuItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * @var array
147 147
      */
148 148
     static protected $_schemaPropertyExpectedTypes = [
149
-        'menuAddOn' => ['MenuItem','MenuSection'],
149
+        'menuAddOn' => ['MenuItem', 'MenuSection'],
150 150
         'nutrition' => ['NutritionInformation'],
151 151
         'offers' => ['Offer'],
152 152
         'suitableForDiet' => ['RestrictedDiet']
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     {
223 223
         $rules = parent::rules();
224 224
         $rules = array_merge($rules, [
225
-            [['menuAddOn','nutrition','offers','suitableForDiet'], 'validateJsonSchema'],
225
+            [['menuAddOn', 'nutrition', 'offers', 'suitableForDiet'], '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/Recipe.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,8 +191,8 @@  discard block
 block discarded – undo
191 191
         'recipeCategory' => ['Text'],
192 192
         'recipeCuisine' => ['Text'],
193 193
         'recipeIngredient' => ['Text'],
194
-        'recipeInstructions' => ['CreativeWork','ItemList','Text'],
195
-        'recipeYield' => ['QuantitativeValue','Text'],
194
+        'recipeInstructions' => ['CreativeWork', 'ItemList', 'Text'],
195
+        'recipeYield' => ['QuantitativeValue', 'Text'],
196 196
         'suitableForDiet' => ['RestrictedDiet']
197 197
     ];
198 198
 
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     {
272 272
         $rules = parent::rules();
273 273
         $rules = array_merge($rules, [
274
-            [['cookTime','cookingMethod','nutrition','recipeCategory','recipeCuisine','recipeIngredient','recipeInstructions','recipeYield','suitableForDiet'], 'validateJsonSchema'],
274
+            [['cookTime', 'cookingMethod', 'nutrition', 'recipeCategory', 'recipeCuisine', 'recipeIngredient', 'recipeInstructions', 'recipeYield', 'suitableForDiet'], 'validateJsonSchema'],
275 275
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
276 276
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
277 277
         ]);
Please login to merge, or discard this patch.