@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -222,15 +222,15 @@ discard block |
||
| 222 | 222 | */ |
| 223 | 223 | static protected $_schemaPropertyExpectedTypes = [ |
| 224 | 224 | 'actionStatus' => ['ActionStatusType'], |
| 225 | - 'agent' => ['Organization','Person'], |
|
| 226 | - 'endTime' => ['DateTime','Time'], |
|
| 225 | + 'agent' => ['Organization', 'Person'], |
|
| 226 | + 'endTime' => ['DateTime', 'Time'], |
|
| 227 | 227 | 'error' => ['Thing'], |
| 228 | 228 | 'instrument' => ['Thing'], |
| 229 | - 'location' => ['Place','PostalAddress','Text','VirtualLocation'], |
|
| 229 | + 'location' => ['Place', 'PostalAddress', 'Text', 'VirtualLocation'], |
|
| 230 | 230 | 'object' => ['Thing'], |
| 231 | - 'participant' => ['Organization','Person'], |
|
| 231 | + 'participant' => ['Organization', 'Person'], |
|
| 232 | 232 | 'result' => ['Thing'], |
| 233 | - 'startTime' => ['DateTime','Time'], |
|
| 233 | + 'startTime' => ['DateTime', 'Time'], |
|
| 234 | 234 | 'target' => ['EntryPoint'] |
| 235 | 235 | ]; |
| 236 | 236 | |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | { |
| 312 | 312 | $rules = parent::rules(); |
| 313 | 313 | $rules = array_merge($rules, [ |
| 314 | - [['actionStatus','agent','endTime','error','instrument','location','object','participant','result','startTime','target'], 'validateJsonSchema'], |
|
| 314 | + [['actionStatus', 'agent', 'endTime', 'error', 'instrument', 'location', 'object', 'participant', 'result', 'startTime', 'target'], 'validateJsonSchema'], |
|
| 315 | 315 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 316 | 316 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 317 | 317 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | { |
| 202 | 202 | $rules = parent::rules(); |
| 203 | 203 | $rules = array_merge($rules, [ |
| 204 | - [['cssSelector','xpath'], 'validateJsonSchema'], |
|
| 204 | + [['cssSelector', 'xpath'], 'validateJsonSchema'], |
|
| 205 | 205 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 206 | 206 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 207 | 207 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -138,9 +138,9 @@ discard block |
||
| 138 | 138 | * @var array |
| 139 | 139 | */ |
| 140 | 140 | static protected $_schemaPropertyExpectedTypes = [ |
| 141 | - 'endDate' => ['Date','DateTime'], |
|
| 141 | + 'endDate' => ['Date', 'DateTime'], |
|
| 142 | 142 | 'issn' => ['Text'], |
| 143 | - 'startDate' => ['Date','DateTime'] |
|
| 143 | + 'startDate' => ['Date', 'DateTime'] |
|
| 144 | 144 | ]; |
| 145 | 145 | |
| 146 | 146 | /** |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | { |
| 213 | 213 | $rules = parent::rules(); |
| 214 | 214 | $rules = array_merge($rules, [ |
| 215 | - [['endDate','issn','startDate'], 'validateJsonSchema'], |
|
| 215 | + [['endDate', 'issn', 'startDate'], '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 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -450,29 +450,29 @@ discard block |
||
| 450 | 450 | 'aggregateRating' => ['AggregateRating'], |
| 451 | 451 | 'audience' => ['Audience'], |
| 452 | 452 | 'award' => ['Text'], |
| 453 | - 'brand' => ['Brand','Organization'], |
|
| 454 | - 'category' => ['PhysicalActivityCategory','Text','Thing'], |
|
| 453 | + 'brand' => ['Brand', 'Organization'], |
|
| 454 | + 'category' => ['PhysicalActivityCategory', 'Text', 'Thing'], |
|
| 455 | 455 | 'color' => ['Text'], |
| 456 | - 'depth' => ['Distance','QuantitativeValue'], |
|
| 456 | + 'depth' => ['Distance', 'QuantitativeValue'], |
|
| 457 | 457 | 'gtin' => ['Text'], |
| 458 | 458 | 'gtin12' => ['Text'], |
| 459 | 459 | 'gtin13' => ['Text'], |
| 460 | 460 | 'gtin14' => ['Text'], |
| 461 | 461 | 'gtin8' => ['Text'], |
| 462 | 462 | 'hasMerchantReturnPolicy' => ['MerchantReturnPolicy'], |
| 463 | - 'height' => ['Distance','QuantitativeValue'], |
|
| 463 | + 'height' => ['Distance', 'QuantitativeValue'], |
|
| 464 | 464 | 'isAccessoryOrSparePartFor' => ['Product'], |
| 465 | 465 | 'isConsumableFor' => ['Product'], |
| 466 | - 'isRelatedTo' => ['Product','Service'], |
|
| 467 | - 'isSimilarTo' => ['Product','Service'], |
|
| 466 | + 'isRelatedTo' => ['Product', 'Service'], |
|
| 467 | + 'isSimilarTo' => ['Product', 'Service'], |
|
| 468 | 468 | 'itemCondition' => ['OfferItemCondition'], |
| 469 | - 'logo' => ['ImageObject','URL'], |
|
| 469 | + 'logo' => ['ImageObject', 'URL'], |
|
| 470 | 470 | 'manufacturer' => ['Organization'], |
| 471 | - 'material' => ['Product','Text','URL'], |
|
| 472 | - 'model' => ['ProductModel','Text'], |
|
| 471 | + 'material' => ['Product', 'Text', 'URL'], |
|
| 472 | + 'model' => ['ProductModel', 'Text'], |
|
| 473 | 473 | 'mpn' => ['Text'], |
| 474 | 474 | 'nsn' => ['Text'], |
| 475 | - 'offers' => ['Demand','Offer'], |
|
| 475 | + 'offers' => ['Demand', 'Offer'], |
|
| 476 | 476 | 'productID' => ['Text'], |
| 477 | 477 | 'productionDate' => ['Date'], |
| 478 | 478 | 'purchaseDate' => ['Date'], |
@@ -481,7 +481,7 @@ discard block |
||
| 481 | 481 | 'sku' => ['Text'], |
| 482 | 482 | 'slogan' => ['Text'], |
| 483 | 483 | 'weight' => ['QuantitativeValue'], |
| 484 | - 'width' => ['Distance','QuantitativeValue'] |
|
| 484 | + 'width' => ['Distance', 'QuantitativeValue'] |
|
| 485 | 485 | ]; |
| 486 | 486 | |
| 487 | 487 | /** |
@@ -586,7 +586,7 @@ discard block |
||
| 586 | 586 | { |
| 587 | 587 | $rules = parent::rules(); |
| 588 | 588 | $rules = array_merge($rules, [ |
| 589 | - [['additionalProperty','aggregateRating','audience','award','brand','category','color','depth','gtin','gtin12','gtin13','gtin14','gtin8','hasMerchantReturnPolicy','height','isAccessoryOrSparePartFor','isConsumableFor','isRelatedTo','isSimilarTo','itemCondition','logo','manufacturer','material','model','mpn','nsn','offers','productID','productionDate','purchaseDate','releaseDate','review','sku','slogan','weight','width'], 'validateJsonSchema'], |
|
| 589 | + [['additionalProperty', 'aggregateRating', 'audience', 'award', 'brand', 'category', 'color', 'depth', 'gtin', 'gtin12', 'gtin13', 'gtin14', 'gtin8', 'hasMerchantReturnPolicy', 'height', 'isAccessoryOrSparePartFor', 'isConsumableFor', 'isRelatedTo', 'isSimilarTo', 'itemCondition', 'logo', 'manufacturer', 'material', 'model', 'mpn', 'nsn', 'offers', 'productID', 'productionDate', 'purchaseDate', 'releaseDate', 'review', 'sku', 'slogan', 'weight', 'width'], 'validateJsonSchema'], |
|
| 590 | 590 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 591 | 591 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 592 | 592 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | * @var array |
| 136 | 136 | */ |
| 137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
| 138 | - 'subtitleLanguage' => ['Language','Text'], |
|
| 138 | + 'subtitleLanguage' => ['Language', 'Text'], |
|
| 139 | 139 | 'videoFormat' => ['Text'], |
| 140 | 140 | 'workPresented' => ['Movie'] |
| 141 | 141 | ]; |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | { |
| 210 | 210 | $rules = parent::rules(); |
| 211 | 211 | $rules = array_merge($rules, [ |
| 212 | - [['subtitleLanguage','videoFormat','workPresented'], 'validateJsonSchema'], |
|
| 212 | + [['subtitleLanguage', 'videoFormat', 'workPresented'], 'validateJsonSchema'], |
|
| 213 | 213 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 214 | 214 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 215 | 215 | ]); |
@@ -164,8 +164,8 @@ discard block |
||
| 164 | 164 | // ========================================================================= |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @inheritdoc |
|
| 168 | - */ |
|
| 167 | + * @inheritdoc |
|
| 168 | + */ |
|
| 169 | 169 | public function init() |
| 170 | 170 | { |
| 171 | 171 | parent::init(); |
@@ -196,8 +196,8 @@ discard block |
||
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | - * @inheritdoc |
|
| 200 | - */ |
|
| 199 | + * @inheritdoc |
|
| 200 | + */ |
|
| 201 | 201 | public function rules() |
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | */ |
| 137 | 137 | static protected $_schemaPropertyExpectedTypes = [ |
| 138 | 138 | 'isAccessibleForFree' => ['Boolean'], |
| 139 | - 'publishedBy' => ['Organization','Person'], |
|
| 139 | + 'publishedBy' => ['Organization', 'Person'], |
|
| 140 | 140 | 'publishedOn' => ['BroadcastService'] |
| 141 | 141 | ]; |
| 142 | 142 | |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | { |
| 210 | 210 | $rules = parent::rules(); |
| 211 | 211 | $rules = array_merge($rules, [ |
| 212 | - [['isAccessibleForFree','publishedBy','publishedOn'], 'validateJsonSchema'], |
|
| 212 | + [['isAccessibleForFree', 'publishedBy', 'publishedOn'], 'validateJsonSchema'], |
|
| 213 | 213 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 214 | 214 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 215 | 215 | ]); |