Passed
Push — develop ( b326d0...aebf5c )
by Andrew
09:04
created
src/models/jsonld/TechArticle.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
-            [['dependencies','proficiencyLevel'], 'validateJsonSchema'],
201
+            [['dependencies', 'proficiencyLevel'], '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/SingleFamilyResidence.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * @var array
133 133
      */
134 134
     static protected $_schemaPropertyExpectedTypes = [
135
-        'numberOfRooms' => ['Number','QuantitativeValue'],
135
+        'numberOfRooms' => ['Number', 'QuantitativeValue'],
136 136
         'occupancy' => ['QuantitativeValue']
137 137
     ];
138 138
 
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     {
205 205
         $rules = parent::rules();
206 206
         $rules = array_merge($rules, [
207
-            [['numberOfRooms','occupancy'], 'validateJsonSchema'],
207
+            [['numberOfRooms', 'occupancy'], 'validateJsonSchema'],
208 208
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
209 209
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
210 210
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/DataDownload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
      * @var array
130 130
      */
131 131
     static protected $_schemaPropertyExpectedTypes = [
132
-        'measurementTechnique' => ['Text','URL']
132
+        'measurementTechnique' => ['Text', 'URL']
133 133
     ];
134 134
 
135 135
     /**
Please login to merge, or discard this patch.
src/models/jsonld/NutritionInformation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -297,7 +297,7 @@
 block discarded – undo
297 297
     {
298 298
         $rules = parent::rules();
299 299
         $rules = array_merge($rules, [
300
-            [['calories','carbohydrateContent','cholesterolContent','fatContent','fiberContent','proteinContent','saturatedFatContent','servingSize','sodiumContent','sugarContent','transFatContent','unsaturatedFatContent'], 'validateJsonSchema'],
300
+            [['calories', 'carbohydrateContent', 'cholesterolContent', 'fatContent', 'fiberContent', 'proteinContent', 'saturatedFatContent', 'servingSize', 'sodiumContent', 'sugarContent', 'transFatContent', 'unsaturatedFatContent'], 'validateJsonSchema'],
301 301
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
302 302
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
303 303
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/InvestmentOrDeposit.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
-        'amount' => ['MonetaryAmount','Number']
122
+        'amount' => ['MonetaryAmount', 'Number']
123 123
     ];
124 124
 
125 125
     /**
Please login to merge, or discard this patch.
src/models/jsonld/QuantitativeValue.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -182,10 +182,10 @@  discard block
 block discarded – undo
182 182
         'additionalProperty' => ['PropertyValue'],
183 183
         'maxValue' => ['Number'],
184 184
         'minValue' => ['Number'],
185
-        'unitCode' => ['Text','URL'],
185
+        'unitCode' => ['Text', 'URL'],
186 186
         'unitText' => ['Text'],
187
-        'value' => ['Boolean','Number','StructuredValue','Text'],
188
-        'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue']
187
+        'value' => ['Boolean', 'Number', 'StructuredValue', 'Text'],
188
+        'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue']
189 189
     ];
190 190
 
191 191
     /**
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     {
262 262
         $rules = parent::rules();
263 263
         $rules = array_merge($rules, [
264
-            [['additionalProperty','maxValue','minValue','unitCode','unitText','value','valueReference'], 'validateJsonSchema'],
264
+            [['additionalProperty', 'maxValue', 'minValue', 'unitCode', 'unitText', 'value', 'valueReference'], 'validateJsonSchema'],
265 265
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
266 266
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
267 267
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/Game.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     static protected $_schemaPropertyExpectedTypes = [
157 157
         'characterAttribute' => ['Thing'],
158 158
         'gameItem' => ['Thing'],
159
-        'gameLocation' => ['Place','PostalAddress','URL'],
159
+        'gameLocation' => ['Place', 'PostalAddress', 'URL'],
160 160
         'numberOfPlayers' => ['QuantitativeValue'],
161 161
         'quest' => ['Thing']
162 162
     ];
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     {
233 233
         $rules = parent::rules();
234 234
         $rules = array_merge($rules, [
235
-            [['characterAttribute','gameItem','gameLocation','numberOfPlayers','quest'], 'validateJsonSchema'],
235
+            [['characterAttribute', 'gameItem', 'gameLocation', 'numberOfPlayers', 'quest'], 'validateJsonSchema'],
236 236
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
237 237
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
238 238
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/BuyAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
      * @var array
121 121
      */
122 122
     static protected $_schemaPropertyExpectedTypes = [
123
-        'seller' => ['Organization','Person']
123
+        'seller' => ['Organization', 'Person']
124 124
     ];
125 125
 
126 126
     /**
Please login to merge, or discard this patch.
src/models/jsonld/SoftwareSourceCode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     static protected $_schemaPropertyExpectedTypes = [
157 157
         'codeRepository' => ['URL'],
158 158
         'codeSampleType' => ['Text'],
159
-        'programmingLanguage' => ['ComputerLanguage','Text'],
159
+        'programmingLanguage' => ['ComputerLanguage', 'Text'],
160 160
         'runtimePlatform' => ['Text'],
161 161
         'targetProduct' => ['SoftwareApplication']
162 162
     ];
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     {
233 233
         $rules = parent::rules();
234 234
         $rules = array_merge($rules, [
235
-            [['codeRepository','codeSampleType','programmingLanguage','runtimePlatform','targetProduct'], 'validateJsonSchema'],
235
+            [['codeRepository', 'codeSampleType', 'programmingLanguage', 'runtimePlatform', 'targetProduct'], 'validateJsonSchema'],
236 236
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
237 237
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
238 238
         ]);
Please login to merge, or discard this patch.