@@ -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(); |
@@ -309,9 +309,9 @@ discard block |
||
| 309 | 309 | */ |
| 310 | 310 | static protected $_schemaPropertyExpectedTypes = [ |
| 311 | 311 | 'applicantLocationRequirements' => ['AdministrativeArea'], |
| 312 | - 'baseSalary' => ['MonetaryAmount','Number','PriceSpecification'], |
|
| 312 | + 'baseSalary' => ['MonetaryAmount', 'Number', 'PriceSpecification'], |
|
| 313 | 313 | 'datePosted' => ['Date'], |
| 314 | - 'educationRequirements' => ['EducationalOccupationalCredential','Text'], |
|
| 314 | + 'educationRequirements' => ['EducationalOccupationalCredential', 'Text'], |
|
| 315 | 315 | 'employmentType' => ['Text'], |
| 316 | 316 | 'estimatedSalary' => ['MonetaryAmountDistribution'], |
| 317 | 317 | 'experienceRequirements' => ['Text'], |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | 'jobLocation' => ['Place'], |
| 323 | 323 | 'jobLocationType' => ['Text'], |
| 324 | 324 | 'occupationalCategory' => ['Text'], |
| 325 | - 'qualifications' => ['EducationalOccupationalCredential','Text'], |
|
| 325 | + 'qualifications' => ['EducationalOccupationalCredential', 'Text'], |
|
| 326 | 326 | 'relevantOccupation' => ['Occupation'], |
| 327 | 327 | 'responsibilities' => ['Text'], |
| 328 | 328 | 'salaryCurrency' => ['Text'], |
@@ -422,7 +422,7 @@ discard block |
||
| 422 | 422 | { |
| 423 | 423 | $rules = parent::rules(); |
| 424 | 424 | $rules = array_merge($rules, [ |
| 425 | - [['applicantLocationRequirements','baseSalary','datePosted','educationRequirements','employmentType','estimatedSalary','experienceRequirements','hiringOrganization','incentiveCompensation','industry','jobBenefits','jobLocation','jobLocationType','occupationalCategory','qualifications','relevantOccupation','responsibilities','salaryCurrency','skills','specialCommitments','title','validThrough','workHours'], 'validateJsonSchema'], |
|
| 425 | + [['applicantLocationRequirements', 'baseSalary', 'datePosted', 'educationRequirements', 'employmentType', 'estimatedSalary', 'experienceRequirements', 'hiringOrganization', 'incentiveCompensation', 'industry', 'jobBenefits', 'jobLocation', 'jobLocationType', 'occupationalCategory', 'qualifications', 'relevantOccupation', 'responsibilities', 'salaryCurrency', 'skills', 'specialCommitments', 'title', 'validThrough', 'workHours'], 'validateJsonSchema'], |
|
| 426 | 426 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
| 427 | 427 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
| 428 | 428 | ]); |
@@ -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(); |
@@ -182,13 +182,13 @@ discard block |
||
| 182 | 182 | * @var array |
| 183 | 183 | */ |
| 184 | 184 | static protected $_schemaPropertyExpectedTypes = [ |
| 185 | - 'afterMedia' => ['MediaObject','URL'], |
|
| 186 | - 'beforeMedia' => ['MediaObject','URL'], |
|
| 187 | - 'duringMedia' => ['MediaObject','URL'], |
|
| 185 | + 'afterMedia' => ['MediaObject', 'URL'], |
|
| 186 | + 'beforeMedia' => ['MediaObject', 'URL'], |
|
| 187 | + 'duringMedia' => ['MediaObject', 'URL'], |
|
| 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 | ]); |