Passed
Branch v3 (0acaf5)
by Andrew
11:40
created
src/base/Container.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     public function normalizeContainerData()
102 102
     {
103 103
         // Set the appropriate class for this container
104
-        $this->class = (string)static::class;
104
+        $this->class = (string) static::class;
105 105
     }
106 106
 
107 107
     /**
Please login to merge, or discard this patch.
src/seomatic-config/entrymeta/TagContainer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         ],
Please login to merge, or discard this patch.
src/seomatic-config/entrymeta/LinkContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
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
         ],
Please login to merge, or discard this patch.
src/seomatic-config/entrymeta/ScriptContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
         'name'         => 'General',
25 25
         'description'  => 'Script Tags',
26 26
         'handle'       => ScriptService::GENERAL_HANDLE,
27
-        'class'        => (string)MetaScriptContainer::class,
27
+        'class'        => (string) MetaScriptContainer::class,
28 28
         'include'      => true,
29 29
         'dependencies' => [
30 30
         ],
Please login to merge, or discard this patch.
src/models/MetaLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         $className = MetaLink::class;
56 56
         if ($tagType) {
57 57
             // Potentially load a sub-type of MetaTag
58
-            $tagClassName = 'nystudio107\\seomatic\\models\\metalink\\' . ucfirst($tagType) . 'Link';
58
+            $tagClassName = 'nystudio107\\seomatic\\models\\metalink\\'.ucfirst($tagType).'Link';
59 59
             /** @var $model MetaLink */
60 60
             if (class_exists($tagClassName)) {
61 61
                 $className = $tagClassName;
Please login to merge, or discard this patch.
src/models/MetaSiteVars.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,10 +207,10 @@
 block discarded – undo
207 207
         }
208 208
         // Make sure these are strings
209 209
         if (!empty($this->facebookProfileId)) {
210
-            $this->facebookProfileId = (string)$this->facebookProfileId;
210
+            $this->facebookProfileId = (string) $this->facebookProfileId;
211 211
         }
212 212
         if (!empty($this->facebookAppId)) {
213
-            $this->facebookAppId = (string)$this->facebookAppId;
213
+            $this->facebookAppId = (string) $this->facebookAppId;
214 214
         }
215 215
         // Identity
216 216
         if ($this->identity !== null && \is_array($this->identity)) {
Please login to merge, or discard this patch.
src/models/MetaTag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $className = MetaTag::class;
57 57
         if ($tagType) {
58 58
             // Potentially load a sub-type of MetaTag
59
-            $tagClassName = 'nystudio107\\seomatic\\models\\metatag\\' . ucfirst($tagType) . 'Tag';
59
+            $tagClassName = 'nystudio107\\seomatic\\models\\metatag\\'.ucfirst($tagType).'Tag';
60 60
             /** @var $model MetaTag */
61 61
             if (class_exists($tagClassName)) {
62 62
                 $className = $tagClassName;
Please login to merge, or discard this patch.
src/helpers/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      */
107 107
     private static function getConfigFilePath(string $alias, string $filePath): string
108 108
     {
109
-        $path = DIRECTORY_SEPARATOR . ltrim($filePath, DIRECTORY_SEPARATOR);
109
+        $path = DIRECTORY_SEPARATOR.ltrim($filePath, DIRECTORY_SEPARATOR);
110 110
         $path = Craft::getAlias($alias)
111 111
             . DIRECTORY_SEPARATOR
112 112
             . self::LOCAL_CONFIG_DIR
Please login to merge, or discard this patch.
src/helpers/Field.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
                 // Prefix the keys with the global set name
206 206
                 $prefix = $global->handle;
207 207
                 $fields = array_combine(
208
-                    array_map(function ($key) use ($prefix) {
208
+                    array_map(function($key) use ($prefix) {
209 209
                         return $prefix.'.'.$key;
210 210
                     }, array_keys($fields)),
211 211
                     $fields
Please login to merge, or discard this patch.