Passed
Push — develop ( 226eab...8c89fd )
by Andrew
10:33 queued 05:02
created
src/seomatic-config/entrymeta/TitleContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaTitleContainer::CONTAINER_TYPE.TitleService::GENERAL_HANDLE => [
23
+    MetaTitleContainer::CONTAINER_TYPE . TitleService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'Meta Title Tag',
26 26
         'handle'       => TitleService::GENERAL_HANDLE,
Please login to merge, or discard this patch.
src/seomatic-config/entrymeta/JsonLdContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaJsonLdContainer::CONTAINER_TYPE.JsonLdService::GENERAL_HANDLE => [
23
+    MetaJsonLdContainer::CONTAINER_TYPE . JsonLdService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'JsonLd Tags',
26 26
         'handle'       => JsonLdService::GENERAL_HANDLE,
Please login to merge, or discard this patch.
src/seomatic-config/entrymeta/SitemapVars.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -24,16 +24,16 @@
 block discarded – undo
24 24
     'sitemapPriority'      => 0.5,
25 25
     'sitemapLimit'         => null,
26 26
     'sitemapImageFieldMap' => [
27
-        ['property' => 'title', 'field' => 'title'],
28
-        ['property' => 'caption', 'field' => ''],
29
-        ['property' => 'geo_location', 'field' => ''],
30
-        ['property' => 'license', 'field' => ''],
27
+        [ 'property' => 'title', 'field' => 'title' ],
28
+        [ 'property' => 'caption', 'field' => '' ],
29
+        [ 'property' => 'geo_location', 'field' => '' ],
30
+        [ 'property' => 'license', 'field' => '' ],
31 31
     ],
32 32
     'sitemapVideoFieldMap' => [
33
-        ['property' => 'title', 'field' => 'title'],
34
-        ['property' => 'description', 'field' => ''],
35
-        ['property' => 'thumbnailLoc', 'field' => ''],
36
-        ['property' => 'duration', 'field' => ''],
37
-        ['property' => 'category', 'field' => ''],
33
+        [ 'property' => 'title', 'field' => 'title' ],
34
+        [ 'property' => 'description', 'field' => '' ],
35
+        [ 'property' => 'thumbnailLoc', 'field' => '' ],
36
+        [ 'property' => 'duration', 'field' => '' ],
37
+        [ 'property' => 'category', 'field' => '' ],
38 38
     ],
39 39
 ];
Please login to merge, or discard this patch.
src/seomatic-config/globalmeta/ScriptContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaScriptContainer::CONTAINER_TYPE.ScriptService::GENERAL_HANDLE => [
23
+    MetaScriptContainer::CONTAINER_TYPE . ScriptService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'Script Tags',
26 26
         'handle'       => ScriptService::GENERAL_HANDLE,
Please login to merge, or discard this patch.
src/seomatic-config/globalmeta/Creator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         'genericAlternateName'         => '',
25 25
         'genericDescription'           => '',
26 26
         'genericUrl'                   => '',
27
-        'genericImageIds'              => [],
27
+        'genericImageIds'              => [ ],
28 28
         'genericTelephone'             => '',
29 29
         'genericEmail'                 => '',
30 30
         'genericStreetAddress'         => '',
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
         'organizationFounder'          => '',
41 41
         'organizationFoundingDate'     => '',
42 42
         'organizationFoundingLocation' => '',
43
-        'organizationContactPoints'    => [],
43
+        'organizationContactPoints'    => [ ],
44 44
         'corporationTickerSymbol'      => '',
45 45
         'localBusinessPriceRange'      => '',
46
-        'localBusinessOpeningHours'    => [],
46
+        'localBusinessOpeningHours'    => [ ],
47 47
         'restaurantServesCuisine'      => '',
48 48
         'restaurantMenuUrl'            => '',
49 49
         'restaurantReservationsUrl'    => '',
Please login to merge, or discard this patch.
src/seomatic-config/globalmeta/BundleSettings.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         'seoDescriptionField'           => '',
24 24
         'seoKeywordsSource'             => 'fromCustom',
25 25
         'seoKeywordsField'              => '',
26
-        'seoImageIds'                   => [],
26
+        'seoImageIds'                   => [ ],
27 27
         'seoImageSource'                => 'fromAsset',
28 28
         'seoImageField'                 => '',
29 29
         'seoImageTransform'             => true,
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         'twitterSiteNamePositionSource' => 'fromCustom',
38 38
         'twitterDescriptionSource'      => 'sameAsSeo',
39 39
         'twitterDescriptionField'       => '',
40
-        'twitterImageIds'               => [],
40
+        'twitterImageIds'               => [ ],
41 41
         'twitterImageSource'            => 'sameAsSeo',
42 42
         'twitterImageField'             => '',
43 43
         'twitterImageTransform'         => true,
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         'ogSiteNamePositionSource'      => 'fromCustom',
50 50
         'ogDescriptionSource'           => 'sameAsSeo',
51 51
         'ogDescriptionField'            => '',
52
-        'ogImageIds'                    => [],
52
+        'ogImageIds'                    => [ ],
53 53
         'ogImageSource'                 => 'sameAsSeo',
54 54
         'ogImageField'                  => '',
55 55
         'ogImageTransform'              => true,
Please login to merge, or discard this patch.
src/seomatic-config/globalmeta/JsonLdContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaJsonLdContainer::CONTAINER_TYPE.JsonLdService::GENERAL_HANDLE => [
23
+    MetaJsonLdContainer::CONTAINER_TYPE . JsonLdService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'JsonLd Tags',
26 26
         'handle'       => JsonLdService::GENERAL_HANDLE,
Please login to merge, or discard this patch.
src/models/jsonld/DigitalDocumentPermissionType.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @var array
119 119
      */
120 120
     static protected $_schemaPropertyExpectedTypes = [
121
-        'supersededBy' => ['Class','Enumeration','Property']
121
+        'supersededBy' => [ 'Class', 'Enumeration', 'Property' ]
122 122
     ];
123 123
 
124 124
     /**
@@ -188,9 +188,9 @@  discard block
 block discarded – undo
188 188
     {
189 189
         $rules = parent::rules();
190 190
         $rules = array_merge($rules, [
191
-            [['supersededBy'], 'validateJsonSchema'],
192
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
193
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
191
+            [ [ 'supersededBy' ], 'validateJsonSchema' ],
192
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
193
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
194 194
         ]);
195 195
 
196 196
         return $rules;
Please login to merge, or discard this patch.
src/models/jsonld/ApartmentComplex.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -164,8 +164,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    * @inheritdoc
200
-    */
199
+     * @inheritdoc
200
+     */
201 201
     public function rules()
202 202
     {
203 203
         $rules = parent::rules();
Please login to merge, or discard this patch.
Spacing   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
      *
60 60
      * @var array
61 61
      */
62
-    static public $schemaPropertyNames = [];
62
+    static public $schemaPropertyNames = [ ];
63 63
 
64 64
     /**
65 65
      * The Schema.org composed Property Expected Types
66 66
      *
67 67
      * @var array
68 68
      */
69
-    static public $schemaPropertyExpectedTypes = [];
69
+    static public $schemaPropertyExpectedTypes = [ ];
70 70
 
71 71
     /**
72 72
      * The Schema.org composed Property Descriptions
73 73
      *
74 74
      * @var array
75 75
      */
76
-    static public $schemaPropertyDescriptions = [];
76
+    static public $schemaPropertyDescriptions = [ ];
77 77
 
78 78
     /**
79 79
      * The Schema.org composed Google Required Schema for this type
80 80
      *
81 81
      * @var array
82 82
      */
83
-    static public $googleRequiredSchema = [];
83
+    static public $googleRequiredSchema = [ ];
84 84
 
85 85
     /**
86 86
      * The Schema.org composed Google Recommended Schema for this type
87 87
      *
88 88
      * @var array
89 89
      */
90
-    static public $googleRecommendedSchema = [];
90
+    static public $googleRecommendedSchema = [ ];
91 91
 
92 92
     // Public Properties
93 93
     // =========================================================================
@@ -427,39 +427,39 @@  discard block
 block discarded – undo
427 427
      * @var array
428 428
      */
429 429
     static protected $_schemaPropertyExpectedTypes = [
430
-        'additionalProperty' => ['PropertyValue'],
431
-        'address' => ['PostalAddress','Text'],
432
-        'aggregateRating' => ['AggregateRating'],
433
-        'amenityFeature' => ['LocationFeatureSpecification'],
434
-        'branchCode' => ['Text'],
435
-        'containedInPlace' => ['Place'],
436
-        'containsPlace' => ['Place'],
437
-        'event' => ['Event'],
438
-        'faxNumber' => ['Text'],
439
-        'geo' => ['GeoCoordinates','GeoShape'],
440
-        'geospatiallyContains' => ['GeospatialGeometry','Place'],
441
-        'geospatiallyCoveredBy' => ['GeospatialGeometry','Place'],
442
-        'geospatiallyCovers' => ['GeospatialGeometry','Place'],
443
-        'geospatiallyCrosses' => ['GeospatialGeometry','Place'],
444
-        'geospatiallyDisjoint' => ['GeospatialGeometry','Place'],
445
-        'geospatiallyEquals' => ['GeospatialGeometry','Place'],
446
-        'geospatiallyIntersects' => ['GeospatialGeometry','Place'],
447
-        'geospatiallyOverlaps' => ['GeospatialGeometry','Place'],
448
-        'geospatiallyTouches' => ['GeospatialGeometry','Place'],
449
-        'geospatiallyWithin' => ['GeospatialGeometry','Place'],
450
-        'globalLocationNumber' => ['Text'],
451
-        'hasMap' => ['Map','URL'],
452
-        'isAccessibleForFree' => ['Boolean'],
453
-        'isicV4' => ['Text'],
454
-        'logo' => ['ImageObject','URL'],
455
-        'maximumAttendeeCapacity' => ['Integer'],
456
-        'openingHoursSpecification' => ['OpeningHoursSpecification'],
457
-        'photo' => ['ImageObject','Photograph'],
458
-        'publicAccess' => ['Boolean'],
459
-        'review' => ['Review'],
460
-        'smokingAllowed' => ['Boolean'],
461
-        'specialOpeningHoursSpecification' => ['OpeningHoursSpecification'],
462
-        'telephone' => ['Text']
430
+        'additionalProperty' => [ 'PropertyValue' ],
431
+        'address' => [ 'PostalAddress', 'Text' ],
432
+        'aggregateRating' => [ 'AggregateRating' ],
433
+        'amenityFeature' => [ 'LocationFeatureSpecification' ],
434
+        'branchCode' => [ 'Text' ],
435
+        'containedInPlace' => [ 'Place' ],
436
+        'containsPlace' => [ 'Place' ],
437
+        'event' => [ 'Event' ],
438
+        'faxNumber' => [ 'Text' ],
439
+        'geo' => [ 'GeoCoordinates', 'GeoShape' ],
440
+        'geospatiallyContains' => [ 'GeospatialGeometry', 'Place' ],
441
+        'geospatiallyCoveredBy' => [ 'GeospatialGeometry', 'Place' ],
442
+        'geospatiallyCovers' => [ 'GeospatialGeometry', 'Place' ],
443
+        'geospatiallyCrosses' => [ 'GeospatialGeometry', 'Place' ],
444
+        'geospatiallyDisjoint' => [ 'GeospatialGeometry', 'Place' ],
445
+        'geospatiallyEquals' => [ 'GeospatialGeometry', 'Place' ],
446
+        'geospatiallyIntersects' => [ 'GeospatialGeometry', 'Place' ],
447
+        'geospatiallyOverlaps' => [ 'GeospatialGeometry', 'Place' ],
448
+        'geospatiallyTouches' => [ 'GeospatialGeometry', 'Place' ],
449
+        'geospatiallyWithin' => [ 'GeospatialGeometry', 'Place' ],
450
+        'globalLocationNumber' => [ 'Text' ],
451
+        'hasMap' => [ 'Map', 'URL' ],
452
+        'isAccessibleForFree' => [ 'Boolean' ],
453
+        'isicV4' => [ 'Text' ],
454
+        'logo' => [ 'ImageObject', 'URL' ],
455
+        'maximumAttendeeCapacity' => [ 'Integer' ],
456
+        'openingHoursSpecification' => [ 'OpeningHoursSpecification' ],
457
+        'photo' => [ 'ImageObject', 'Photograph' ],
458
+        'publicAccess' => [ 'Boolean' ],
459
+        'review' => [ 'Review' ],
460
+        'smokingAllowed' => [ 'Boolean' ],
461
+        'specialOpeningHoursSpecification' => [ 'OpeningHoursSpecification' ],
462
+        'telephone' => [ 'Text' ]
463 463
     ];
464 464
 
465 465
     /**
@@ -561,9 +561,9 @@  discard block
 block discarded – undo
561 561
     {
562 562
         $rules = parent::rules();
563 563
         $rules = array_merge($rules, [
564
-            [['additionalProperty','address','aggregateRating','amenityFeature','branchCode','containedInPlace','containsPlace','event','faxNumber','geo','geospatiallyContains','geospatiallyCoveredBy','geospatiallyCovers','geospatiallyCrosses','geospatiallyDisjoint','geospatiallyEquals','geospatiallyIntersects','geospatiallyOverlaps','geospatiallyTouches','geospatiallyWithin','globalLocationNumber','hasMap','isAccessibleForFree','isicV4','logo','maximumAttendeeCapacity','openingHoursSpecification','photo','publicAccess','review','smokingAllowed','specialOpeningHoursSpecification','telephone'], 'validateJsonSchema'],
565
-            [self::$_googleRequiredSchema, 'required', 'on' => ['google'], 'message' => 'This property is required by Google.'],
566
-            [self::$_googleRecommendedSchema, 'required', 'on' => ['google'], 'message' => 'This property is recommended by Google.']
564
+            [ [ 'additionalProperty', 'address', 'aggregateRating', 'amenityFeature', 'branchCode', 'containedInPlace', 'containsPlace', 'event', 'faxNumber', 'geo', 'geospatiallyContains', 'geospatiallyCoveredBy', 'geospatiallyCovers', 'geospatiallyCrosses', 'geospatiallyDisjoint', 'geospatiallyEquals', 'geospatiallyIntersects', 'geospatiallyOverlaps', 'geospatiallyTouches', 'geospatiallyWithin', 'globalLocationNumber', 'hasMap', 'isAccessibleForFree', 'isicV4', 'logo', 'maximumAttendeeCapacity', 'openingHoursSpecification', 'photo', 'publicAccess', 'review', 'smokingAllowed', 'specialOpeningHoursSpecification', 'telephone' ], 'validateJsonSchema' ],
565
+            [ self::$_googleRequiredSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is required by Google.' ],
566
+            [ self::$_googleRecommendedSchema, 'required', 'on' => [ 'google' ], 'message' => 'This property is recommended by Google.' ]
567 567
         ]);
568 568
 
569 569
         return $rules;
Please login to merge, or discard this patch.