@@ -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(); |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | { |
| 203 | 203 | $rules = parent::rules(); |
| 204 | 204 | $rules = array_merge($rules, [ |
| 205 | - [['fromLocation','toLocation'], 'validateJsonSchema'], |
|
| 205 | + [['fromLocation', 'toLocation'], '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 | ]); |
@@ -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(); |
@@ -133,9 +133,9 @@ discard block |
||
| 133 | 133 | * @var array |
| 134 | 134 | */ |
| 135 | 135 | static protected $_schemaPropertyExpectedTypes = [ |
| 136 | - 'awayTeam' => ['Person','SportsTeam'], |
|
| 137 | - 'competitor' => ['Person','SportsTeam'], |
|
| 138 | - 'homeTeam' => ['Person','SportsTeam'] |
|
| 136 | + 'awayTeam' => ['Person', 'SportsTeam'], |
|
| 137 | + 'competitor' => ['Person', 'SportsTeam'], |
|
| 138 | + 'homeTeam' => ['Person', 'SportsTeam'] |
|
| 139 | 139 | ]; |
| 140 | 140 | |
| 141 | 141 | /** |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | { |
| 208 | 208 | $rules = parent::rules(); |
| 209 | 209 | $rules = array_merge($rules, [ |
| 210 | - [['awayTeam','competitor','homeTeam'], 'validateJsonSchema'], |
|
| 210 | + [['awayTeam', 'competitor', 'homeTeam'], 'validateJsonSchema'], |
|
| 211 | 211 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 212 | 212 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 213 | 213 | ]); |
@@ -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(); |
@@ -282,11 +282,11 @@ discard block |
||
| 282 | 282 | * @var array |
| 283 | 283 | */ |
| 284 | 284 | static protected $_schemaPropertyExpectedTypes = [ |
| 285 | - 'baseSalary' => ['MonetaryAmount','Number','PriceSpecification'], |
|
| 285 | + 'baseSalary' => ['MonetaryAmount', 'Number', 'PriceSpecification'], |
|
| 286 | 286 | 'datePosted' => ['Date'], |
| 287 | 287 | 'educationRequirements' => ['Text'], |
| 288 | 288 | 'employmentType' => ['Text'], |
| 289 | - 'estimatedSalary' => ['MonetaryAmount','Number','PriceSpecification'], |
|
| 289 | + 'estimatedSalary' => ['MonetaryAmount', 'Number', 'PriceSpecification'], |
|
| 290 | 290 | 'experienceRequirements' => ['Text'], |
| 291 | 291 | 'hiringOrganization' => ['Organization'], |
| 292 | 292 | 'incentiveCompensation' => ['Text'], |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | { |
| 391 | 391 | $rules = parent::rules(); |
| 392 | 392 | $rules = array_merge($rules, [ |
| 393 | - [['baseSalary','datePosted','educationRequirements','employmentType','estimatedSalary','experienceRequirements','hiringOrganization','incentiveCompensation','industry','jobBenefits','jobLocation','occupationalCategory','qualifications','responsibilities','salaryCurrency','skills','specialCommitments','title','validThrough','workHours'], 'validateJsonSchema'], |
|
| 393 | + [['baseSalary', 'datePosted', 'educationRequirements', 'employmentType', 'estimatedSalary', 'experienceRequirements', 'hiringOrganization', 'incentiveCompensation', 'industry', 'jobBenefits', 'jobLocation', 'occupationalCategory', 'qualifications', 'responsibilities', 'salaryCurrency', 'skills', 'specialCommitments', 'title', 'validThrough', 'workHours'], 'validateJsonSchema'], |
|
| 394 | 394 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 395 | 395 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 396 | 396 | ]); |
@@ -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(); |
@@ -118,7 +118,7 @@ |
||
| 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 | /** |
@@ -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(); |
@@ -187,8 +187,8 @@ discard block |
||
| 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 |
||
| 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 | ]); |
@@ -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(); |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * @var array |
| 191 | 191 | */ |
| 192 | 192 | static protected $_schemaPropertyExpectedTypes = [ |
| 193 | - 'composer' => ['Organization','Person'], |
|
| 193 | + 'composer' => ['Organization', 'Person'], |
|
| 194 | 194 | 'firstPerformance' => ['Event'], |
| 195 | 195 | 'includedComposition' => ['MusicComposition'], |
| 196 | 196 | 'iswcCode' => ['Text'], |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | { |
| 279 | 279 | $rules = parent::rules(); |
| 280 | 280 | $rules = array_merge($rules, [ |
| 281 | - [['composer','firstPerformance','includedComposition','iswcCode','lyricist','lyrics','musicArrangement','musicCompositionForm','musicalKey','recordedAs'], 'validateJsonSchema'], |
|
| 281 | + [['composer', 'firstPerformance', 'includedComposition', 'iswcCode', 'lyricist', 'lyrics', 'musicArrangement', 'musicCompositionForm', 'musicalKey', 'recordedAs'], 'validateJsonSchema'], |
|
| 282 | 282 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 283 | 283 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 284 | 284 | ]); |
@@ -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(); |
@@ -171,8 +171,8 @@ discard block |
||
| 171 | 171 | 'distribution' => ['DataDownload'], |
| 172 | 172 | 'includedInDataCatalog' => ['DataCatalog'], |
| 173 | 173 | 'issn' => ['Text'], |
| 174 | - 'measurementTechnique' => ['Text','URL'], |
|
| 175 | - 'variableMeasured' => ['PropertyValue','Text'] |
|
| 174 | + 'measurementTechnique' => ['Text', 'URL'], |
|
| 175 | + 'variableMeasured' => ['PropertyValue', 'Text'] |
|
| 176 | 176 | ]; |
| 177 | 177 | |
| 178 | 178 | /** |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | { |
| 247 | 247 | $rules = parent::rules(); |
| 248 | 248 | $rules = array_merge($rules, [ |
| 249 | - [['distribution','includedInDataCatalog','issn','measurementTechnique','variableMeasured'], 'validateJsonSchema'], |
|
| 249 | + [['distribution', 'includedInDataCatalog', 'issn', 'measurementTechnique', 'variableMeasured'], 'validateJsonSchema'], |
|
| 250 | 250 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 251 | 251 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 252 | 252 | ]); |