Passed
Pull Request — v3 (#86)
by Paul
08:11 queued 01:33
created
src/base/ContainerTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,5 +56,5 @@
 block discarded – undo
56 56
      *
57 57
      * @var array
58 58
      */
59
-    public $data = [];
59
+    public $data = [ ];
60 60
 }
Please login to merge, or discard this patch.
src/seomatic-config/categorymeta/LinkContainer.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
-    MetaLinkContainer::CONTAINER_TYPE.LinkService::GENERAL_HANDLE => [
23
+    MetaLinkContainer::CONTAINER_TYPE . LinkService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'Link Tags',
26 26
         'handle'       => LinkService::GENERAL_HANDLE,
Please login to merge, or discard this patch.
src/seomatic-config/categorymeta/TagContainer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaTagContainer::CONTAINER_TYPE.TagService::GENERAL_HANDLE  => [
23
+    MetaTagContainer::CONTAINER_TYPE . TagService::GENERAL_HANDLE  => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'General Meta Tags',
26 26
         'handle'       => TagService::GENERAL_HANDLE,
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         'data'         => [
32 32
         ],
33 33
     ],
34
-    MetaTagContainer::CONTAINER_TYPE.TagService::FACEBOOK_HANDLE => [
34
+    MetaTagContainer::CONTAINER_TYPE . TagService::FACEBOOK_HANDLE => [
35 35
         'name'         => 'Facebook',
36 36
         'description'  => 'Facebook OpenGraph Meta Tags',
37 37
         'handle'       => TagService::FACEBOOK_HANDLE,
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         'data'         => [
43 43
         ],
44 44
     ],
45
-    MetaTagContainer::CONTAINER_TYPE.TagService::TWITTER_HANDLE  => [
45
+    MetaTagContainer::CONTAINER_TYPE . TagService::TWITTER_HANDLE  => [
46 46
         'name'         => 'Twitter',
47 47
         'description'  => 'Twitter Card Meta Tags',
48 48
         'handle'       => TagService::TWITTER_HANDLE,
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         'data'         => [
54 54
         ],
55 55
     ],
56
-    MetaTagContainer::CONTAINER_TYPE.TagService::MISC_HANDLE     => [
56
+    MetaTagContainer::CONTAINER_TYPE . TagService::MISC_HANDLE     => [
57 57
         'name'         => 'Miscellaneous',
58 58
         'description'  => 'Miscellaneous Meta Tags',
59 59
         'handle'       => TagService::MISC_HANDLE,
Please login to merge, or discard this patch.
src/seomatic-config/categorymeta/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/categorymeta/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/categorymeta/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/categorymeta/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/LinkContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  */
21 21
 
22 22
 return [
23
-    MetaLinkContainer::CONTAINER_TYPE.LinkService::GENERAL_HANDLE => [
23
+    MetaLinkContainer::CONTAINER_TYPE . LinkService::GENERAL_HANDLE => [
24 24
         'name'         => 'General',
25 25
         'description'  => 'Link Tags',
26 26
         'handle'       => LinkService::GENERAL_HANDLE,
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             ],
50 50
             'publisher' => [
51 51
                 'dependencies' => [
52
-                    Dependency::SITE_DEPENDENCY => ['googlePublisherLink'],
52
+                    Dependency::SITE_DEPENDENCY => [ 'googlePublisherLink' ],
53 53
                 ],
54 54
                 'crossorigin' => '',
55 55
                 'href'        => '{seomatic.site.googlePublisherLink}',
Please login to merge, or discard this patch.
src/seomatic-config/globalmeta/SitemapVars.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -25,17 +25,17 @@
 block discarded – undo
25 25
         'sitemapPriority'      => 0.5,
26 26
         'sitemapLimit'         => null,
27 27
         'sitemapImageFieldMap' => [
28
-            ['property' => 'title', 'field' => 'title'],
29
-            ['property' => 'caption', 'field' => ''],
30
-            ['property' => 'geo_location', 'field' => ''],
31
-            ['property' => 'license', 'field' => ''],
28
+            [ 'property' => 'title', 'field' => 'title' ],
29
+            [ 'property' => 'caption', 'field' => '' ],
30
+            [ 'property' => 'geo_location', 'field' => '' ],
31
+            [ 'property' => 'license', 'field' => '' ],
32 32
         ],
33 33
         'sitemapVideoFieldMap' => [
34
-            ['property' => 'title', 'field' => 'title'],
35
-            ['property' => 'description', 'field' => ''],
36
-            ['property' => 'thumbnailLoc', 'field' => ''],
37
-            ['property' => 'duration', 'field' => ''],
38
-            ['property' => 'category', 'field' => ''],
34
+            [ 'property' => 'title', 'field' => 'title' ],
35
+            [ 'property' => 'description', 'field' => '' ],
36
+            [ 'property' => 'thumbnailLoc', 'field' => '' ],
37
+            [ 'property' => 'duration', 'field' => '' ],
38
+            [ 'property' => 'category', 'field' => '' ],
39 39
         ],
40 40
     ],
41 41
 ];
Please login to merge, or discard this patch.