@@ -24,7 +24,7 @@ |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'JsonLd Tags', |
26 | 26 | 'handle' => JsonLdService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaJsonLdContainer::class, |
|
27 | + 'class' => (string) MetaJsonLdContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -24,7 +24,7 @@ |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'Meta Title Tag', |
26 | 26 | 'handle' => TitleService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaTitleContainer::class, |
|
27 | + 'class' => (string) MetaTitleContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'General Meta Tags', |
26 | 26 | 'handle' => TagService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaTagContainer::class, |
|
27 | + 'class' => (string) MetaTagContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | 'name' => 'Facebook', |
36 | 36 | 'description' => 'Facebook OpenGraph Meta Tags', |
37 | 37 | 'handle' => TagService::FACEBOOK_HANDLE, |
38 | - 'class' => (string)MetaTagContainer::class, |
|
38 | + 'class' => (string) MetaTagContainer::class, |
|
39 | 39 | 'include' => true, |
40 | 40 | 'dependencies' => [ |
41 | 41 | ], |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | 'name' => 'Twitter', |
47 | 47 | 'description' => 'Twitter Card Meta Tags', |
48 | 48 | 'handle' => TagService::TWITTER_HANDLE, |
49 | - 'class' => (string)MetaTagContainer::class, |
|
49 | + 'class' => (string) MetaTagContainer::class, |
|
50 | 50 | 'include' => true, |
51 | 51 | 'dependencies' => [ |
52 | 52 | ], |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | 'name' => 'Miscellaneous', |
58 | 58 | 'description' => 'Miscellaneous Meta Tags', |
59 | 59 | 'handle' => TagService::MISC_HANDLE, |
60 | - 'class' => (string)MetaTagContainer::class, |
|
60 | + 'class' => (string) MetaTagContainer::class, |
|
61 | 61 | 'include' => true, |
62 | 62 | 'dependencies' => [ |
63 | 63 | ], |
@@ -24,7 +24,7 @@ |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'Link Tags', |
26 | 26 | 'handle' => LinkService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaLinkContainer::class, |
|
27 | + 'class' => (string) MetaLinkContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -280,11 +280,11 @@ discard block |
||
280 | 280 | 'branchCode' => ['Text'], |
281 | 281 | 'containedInPlace' => ['Place'], |
282 | 282 | 'containsPlace' => ['Place'], |
283 | - 'geo' => ['GeoCoordinates','GeoShape'], |
|
284 | - 'hasMap' => ['Map','URL'], |
|
283 | + 'geo' => ['GeoCoordinates', 'GeoShape'], |
|
284 | + 'hasMap' => ['Map', 'URL'], |
|
285 | 285 | 'maximumAttendeeCapacity' => ['Integer'], |
286 | 286 | 'openingHoursSpecification' => ['OpeningHoursSpecification'], |
287 | - 'photo' => ['ImageObject','Photograph'], |
|
287 | + 'photo' => ['ImageObject', 'Photograph'], |
|
288 | 288 | 'publicAccess' => ['Boolean'], |
289 | 289 | 'smokingAllowed' => ['Boolean'], |
290 | 290 | 'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'], |
@@ -375,9 +375,9 @@ discard block |
||
375 | 375 | $rules = parent::rules(); |
376 | 376 | $rules = array_merge($rules, [ |
377 | 377 | // Properties from Self |
378 | - [['currenciesAccepted','openingHours','openingHoursSpecification', 'paymentAccepted','priceRange'], 'validateJsonSchema'], |
|
378 | + [['currenciesAccepted', 'openingHours', 'openingHoursSpecification', 'paymentAccepted', 'priceRange'], 'validateJsonSchema'], |
|
379 | 379 | // Properties from Place |
380 | - [['additionalProperty','branchCode','containedInPlace','containsPlace','geo','hasMap','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','smokingAllowed','specialOpeningHoursSpecification'], 'validateJsonSchema'], |
|
380 | + [['additionalProperty', 'branchCode', 'containedInPlace', 'containsPlace', 'geo', 'hasMap', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'smokingAllowed', 'specialOpeningHoursSpecification'], 'validateJsonSchema'], |
|
381 | 381 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
382 | 382 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
383 | 383 | ]); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | 'name' => 'General', |
27 | 27 | 'description' => 'Script Tags', |
28 | 28 | 'handle' => ScriptService::GENERAL_HANDLE, |
29 | - 'class' => (string)MetaScriptContainer::class, |
|
29 | + 'class' => (string) MetaScriptContainer::class, |
|
30 | 30 | 'include' => true, |
31 | 31 | 'dependencies' => [ |
32 | 32 | ], |
@@ -296,27 +296,27 @@ discard block |
||
296 | 296 | * @var array |
297 | 297 | */ |
298 | 298 | static protected $_schemaPropertyExpectedTypes = [ |
299 | - 'applicationCategory' => ['Text','URL'], |
|
300 | - 'applicationSubCategory' => ['Text','URL'], |
|
299 | + 'applicationCategory' => ['Text', 'URL'], |
|
300 | + 'applicationSubCategory' => ['Text', 'URL'], |
|
301 | 301 | 'applicationSuite' => ['Text'], |
302 | 302 | 'availableOnDevice' => ['Text'], |
303 | 303 | 'countriesNotSupported' => ['Text'], |
304 | 304 | 'countriesSupported' => ['Text'], |
305 | 305 | 'downloadUrl' => ['URL'], |
306 | - 'featureList' => ['Text','URL'], |
|
306 | + 'featureList' => ['Text', 'URL'], |
|
307 | 307 | 'fileSize' => ['Text'], |
308 | 308 | 'installUrl' => ['URL'], |
309 | - 'memoryRequirements' => ['Text','URL'], |
|
309 | + 'memoryRequirements' => ['Text', 'URL'], |
|
310 | 310 | 'operatingSystem' => ['Text'], |
311 | 311 | 'permissions' => ['Text'], |
312 | 312 | 'processorRequirements' => ['Text'], |
313 | - 'releaseNotes' => ['Text','URL'], |
|
314 | - 'screenshot' => ['ImageObject','URL'], |
|
313 | + 'releaseNotes' => ['Text', 'URL'], |
|
314 | + 'screenshot' => ['ImageObject', 'URL'], |
|
315 | 315 | 'softwareAddOn' => ['SoftwareApplication'], |
316 | 316 | 'softwareHelp' => ['CreativeWork'], |
317 | - 'softwareRequirements' => ['Text','URL'], |
|
317 | + 'softwareRequirements' => ['Text', 'URL'], |
|
318 | 318 | 'softwareVersion' => ['Text'], |
319 | - 'storageRequirements' => ['Text','URL'], |
|
319 | + 'storageRequirements' => ['Text', 'URL'], |
|
320 | 320 | 'supportingData' => ['DataFeed'] |
321 | 321 | ]; |
322 | 322 | |
@@ -408,7 +408,7 @@ discard block |
||
408 | 408 | { |
409 | 409 | $rules = parent::rules(); |
410 | 410 | $rules = array_merge($rules, [ |
411 | - [['applicationCategory','applicationSubCategory','applicationSuite','availableOnDevice','countriesNotSupported','countriesSupported','downloadUrl','featureList','fileSize','installUrl','memoryRequirements','operatingSystem','permissions','processorRequirements','releaseNotes','screenshot','softwareAddOn','softwareHelp','softwareRequirements','softwareVersion','storageRequirements','supportingData'], 'validateJsonSchema'], |
|
411 | + [['applicationCategory', 'applicationSubCategory', 'applicationSuite', 'availableOnDevice', 'countriesNotSupported', 'countriesSupported', 'downloadUrl', 'featureList', 'fileSize', 'installUrl', 'memoryRequirements', 'operatingSystem', 'permissions', 'processorRequirements', 'releaseNotes', 'screenshot', 'softwareAddOn', 'softwareHelp', 'softwareRequirements', 'softwareVersion', 'storageRequirements', 'supportingData'], 'validateJsonSchema'], |
|
412 | 412 | [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'], |
413 | 413 | [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.'] |
414 | 414 | ]); |
@@ -24,7 +24,7 @@ |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'Meta Title Tag', |
26 | 26 | 'handle' => TitleService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaTitleContainer::class, |
|
27 | + 'class' => (string) MetaTitleContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | 'name' => 'General', |
25 | 25 | 'description' => 'General Meta Tags', |
26 | 26 | 'handle' => TagService::GENERAL_HANDLE, |
27 | - 'class' => (string)MetaTagContainer::class, |
|
27 | + 'class' => (string) MetaTagContainer::class, |
|
28 | 28 | 'include' => true, |
29 | 29 | 'dependencies' => [ |
30 | 30 | ], |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | 'name' => 'Facebook', |
36 | 36 | 'description' => 'Facebook OpenGraph Meta Tags', |
37 | 37 | 'handle' => TagService::FACEBOOK_HANDLE, |
38 | - 'class' => (string)MetaTagContainer::class, |
|
38 | + 'class' => (string) MetaTagContainer::class, |
|
39 | 39 | 'include' => true, |
40 | 40 | 'dependencies' => [ |
41 | 41 | ], |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | 'name' => 'Twitter', |
47 | 47 | 'description' => 'Twitter Card Meta Tags', |
48 | 48 | 'handle' => TagService::TWITTER_HANDLE, |
49 | - 'class' => (string)MetaTagContainer::class, |
|
49 | + 'class' => (string) MetaTagContainer::class, |
|
50 | 50 | 'include' => true, |
51 | 51 | 'dependencies' => [ |
52 | 52 | ], |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | 'name' => 'Miscellaneous', |
58 | 58 | 'description' => 'Miscellaneous Meta Tags', |
59 | 59 | 'handle' => TagService::MISC_HANDLE, |
60 | - 'class' => (string)MetaTagContainer::class, |
|
60 | + 'class' => (string) MetaTagContainer::class, |
|
61 | 61 | 'include' => true, |
62 | 62 | 'dependencies' => [ |
63 | 63 | ], |