Passed
Pull Request — develop (#257)
by Timothy
09:13 queued 03:03
created
src/models/jsonld/LoanOrCredit.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,15 +190,15 @@  discard block
 block discarded – undo
190 190
      * @var array
191 191
      */
192 192
     static protected $_schemaPropertyExpectedTypes = [
193
-        'amount' => ['MonetaryAmount','Number'],
193
+        'amount' => ['MonetaryAmount', 'Number'],
194 194
         'currency' => ['Text'],
195 195
         'gracePeriod' => ['Duration'],
196 196
         'loanRepaymentForm' => ['RepaymentSpecification'],
197 197
         'loanTerm' => ['QuantitativeValue'],
198
-        'loanType' => ['Text','URL'],
198
+        'loanType' => ['Text', 'URL'],
199 199
         'recourseLoan' => ['Boolean'],
200 200
         'renegotiableLoan' => ['Boolean'],
201
-        'requiredCollateral' => ['Text','Thing']
201
+        'requiredCollateral' => ['Text', 'Thing']
202 202
     ];
203 203
 
204 204
     /**
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     {
277 277
         $rules = parent::rules();
278 278
         $rules = array_merge($rules, [
279
-            [['amount','currency','gracePeriod','loanRepaymentForm','loanTerm','loanType','recourseLoan','renegotiableLoan','requiredCollateral'], 'validateJsonSchema'],
279
+            [['amount', 'currency', 'gracePeriod', 'loanRepaymentForm', 'loanTerm', 'loanType', 'recourseLoan', 'renegotiableLoan', 'requiredCollateral'], 'validateJsonSchema'],
280 280
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
281 281
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
282 282
         ]);
Please login to merge, or discard this patch.
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/HowToDirection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
         'duringMedia' => ['MediaObject'],
188 188
         'performTime' => ['Duration'],
189 189
         'prepTime' => ['Duration'],
190
-        'supply' => ['HowToSupply','Text'],
191
-        'tool' => ['HowToTool','Text'],
190
+        'supply' => ['HowToSupply', 'Text'],
191
+        'tool' => ['HowToTool', 'Text'],
192 192
         'totalTime' => ['Duration']
193 193
     ];
194 194
 
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
     {
267 267
         $rules = parent::rules();
268 268
         $rules = array_merge($rules, [
269
-            [['afterMedia','beforeMedia','duringMedia','performTime','prepTime','supply','tool','totalTime'], 'validateJsonSchema'],
269
+            [['afterMedia', 'beforeMedia', 'duringMedia', 'performTime', 'prepTime', 'supply', 'tool', 'totalTime'], 'validateJsonSchema'],
270 270
             [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
271 271
             [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
272 272
         ]);
Please login to merge, or discard this patch.
src/models/jsonld/SportsTeam.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
-            [['athlete','coach'], 'validateJsonSchema'],
201
+            [['athlete', 'coach'], '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.