@@ -242,7 +242,7 @@ |
||
| 242 | 242 | { |
| 243 | 243 | $rules = parent::rules(); |
| 244 | 244 | $rules = array_merge($rules, [ |
| 245 | - [['dateline','printColumn','printEdition','printPage','printSection'], 'validateJsonSchema'], |
|
| 245 | + [['dateline', 'printColumn', 'printEdition', 'printPage', 'printSection'], 'validateJsonSchema'], |
|
| 246 | 246 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 247 | 247 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 248 | 248 | ]); |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | * @var array |
| 122 | 122 | */ |
| 123 | 123 | static protected $_schemaPropertyExpectedTypes = [ |
| 124 | - 'supersededBy' => ['Class','Enumeration','Property'] |
|
| 124 | + 'supersededBy' => ['Class', 'Enumeration', 'Property'] |
|
| 125 | 125 | ]; |
| 126 | 126 | |
| 127 | 127 | /** |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * @var array |
| 119 | 119 | */ |
| 120 | 120 | static protected $_schemaPropertyExpectedTypes = [ |
| 121 | - 'requiredQuantity' => ['Number','QuantitativeValue','Text'] |
|
| 121 | + 'requiredQuantity' => ['Number', 'QuantitativeValue', 'Text'] |
|
| 122 | 122 | ]; |
| 123 | 123 | |
| 124 | 124 | /** |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | 'lesser' => ['QualitativeValue'], |
| 194 | 194 | 'lesserOrEqual' => ['QualitativeValue'], |
| 195 | 195 | 'nonEqual' => ['QualitativeValue'], |
| 196 | - 'valueReference' => ['Enumeration','PropertyValue','QualitativeValue','QuantitativeValue','StructuredValue'] |
|
| 196 | + 'valueReference' => ['Enumeration', 'PropertyValue', 'QualitativeValue', 'QuantitativeValue', 'StructuredValue'] |
|
| 197 | 197 | ]; |
| 198 | 198 | |
| 199 | 199 | /** |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | { |
| 271 | 271 | $rules = parent::rules(); |
| 272 | 272 | $rules = array_merge($rules, [ |
| 273 | - [['additionalProperty','equal','greater','greaterOrEqual','lesser','lesserOrEqual','nonEqual','valueReference'], 'validateJsonSchema'], |
|
| 273 | + [['additionalProperty', 'equal', 'greater', 'greaterOrEqual', 'lesser', 'lesserOrEqual', 'nonEqual', 'valueReference'], 'validateJsonSchema'], |
|
| 274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 276 | 276 | ]); |
@@ -186,11 +186,11 @@ discard block |
||
| 186 | 186 | * @var array |
| 187 | 187 | */ |
| 188 | 188 | static protected $_schemaPropertyExpectedTypes = [ |
| 189 | - 'address' => ['PostalAddress','Text'], |
|
| 190 | - 'addressCountry' => ['Country','Text'], |
|
| 189 | + 'address' => ['PostalAddress', 'Text'], |
|
| 190 | + 'addressCountry' => ['Country', 'Text'], |
|
| 191 | 191 | 'box' => ['Text'], |
| 192 | 192 | 'circle' => ['Text'], |
| 193 | - 'elevation' => ['Number','Text'], |
|
| 193 | + 'elevation' => ['Number', 'Text'], |
|
| 194 | 194 | 'line' => ['Text'], |
| 195 | 195 | 'polygon' => ['Text'], |
| 196 | 196 | 'postalCode' => ['Text'] |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | { |
| 271 | 271 | $rules = parent::rules(); |
| 272 | 272 | $rules = array_merge($rules, [ |
| 273 | - [['address','addressCountry','box','circle','elevation','line','polygon','postalCode'], 'validateJsonSchema'], |
|
| 273 | + [['address', 'addressCountry', 'box', 'circle', 'elevation', 'line', 'polygon', 'postalCode'], 'validateJsonSchema'], |
|
| 274 | 274 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 275 | 275 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 276 | 276 | ]); |
@@ -199,7 +199,7 @@ |
||
| 199 | 199 | { |
| 200 | 200 | $rules = parent::rules(); |
| 201 | 201 | $rules = array_merge($rules, [ |
| 202 | - [['appliesToDeliveryMethod','appliesToPaymentMethod'], 'validateJsonSchema'], |
|
| 202 | + [['appliesToDeliveryMethod', 'appliesToPaymentMethod'], 'validateJsonSchema'], |
|
| 203 | 203 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 204 | 204 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 205 | 205 | ]); |
@@ -203,14 +203,14 @@ discard block |
||
| 203 | 203 | * @var array |
| 204 | 204 | */ |
| 205 | 205 | static protected $_schemaPropertyExpectedTypes = [ |
| 206 | - 'breadcrumb' => ['BreadcrumbList','Text'], |
|
| 206 | + 'breadcrumb' => ['BreadcrumbList', 'Text'], |
|
| 207 | 207 | 'lastReviewed' => ['Date'], |
| 208 | 208 | 'mainContentOfPage' => ['WebPageElement'], |
| 209 | 209 | 'primaryImageOfPage' => ['ImageObject'], |
| 210 | 210 | 'relatedLink' => ['URL'], |
| 211 | - 'reviewedBy' => ['Organization','Person'], |
|
| 211 | + 'reviewedBy' => ['Organization', 'Person'], |
|
| 212 | 212 | 'significantLink' => ['URL'], |
| 213 | - 'speakable' => ['SpeakableSpecification','URL'], |
|
| 213 | + 'speakable' => ['SpeakableSpecification', 'URL'], |
|
| 214 | 214 | 'specialty' => ['Specialty'] |
| 215 | 215 | ]; |
| 216 | 216 | |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | { |
| 290 | 290 | $rules = parent::rules(); |
| 291 | 291 | $rules = array_merge($rules, [ |
| 292 | - [['breadcrumb','lastReviewed','mainContentOfPage','primaryImageOfPage','relatedLink','reviewedBy','significantLink','speakable','specialty'], 'validateJsonSchema'], |
|
| 292 | + [['breadcrumb', 'lastReviewed', 'mainContentOfPage', 'primaryImageOfPage', 'relatedLink', 'reviewedBy', 'significantLink', 'speakable', 'specialty'], 'validateJsonSchema'], |
|
| 293 | 293 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 294 | 294 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 295 | 295 | ]); |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | * @var array |
| 120 | 120 | */ |
| 121 | 121 | static protected $_schemaPropertyExpectedTypes = [ |
| 122 | - 'recipient' => ['Audience','ContactPoint','Organization','Person'] |
|
| 122 | + 'recipient' => ['Audience', 'ContactPoint', 'Organization', 'Person'] |
|
| 123 | 123 | ]; |
| 124 | 124 | |
| 125 | 125 | /** |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | { |
| 199 | 199 | $rules = parent::rules(); |
| 200 | 200 | $rules = array_merge($rules, [ |
| 201 | - [['childMaxAge','childMinAge'], 'validateJsonSchema'], |
|
| 201 | + [['childMaxAge', 'childMinAge'], '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 | ]); |