Passed
Push — v3 ( 35bf58...2c6c1d )
by Andrew
34:25 queued 22:13
created
src/services/Sitemaps.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
             Event::on(
92 92
                 UrlManager::class,
93 93
                 UrlManager::EVENT_REGISTER_SITE_URL_RULES,
94
-                function (RegisterUrlRulesEvent $event) {
94
+                function(RegisterUrlRulesEvent $event) {
95 95
                     Craft::debug(
96 96
                         'UrlManager::EVENT_REGISTER_SITE_URL_RULES',
97 97
                         __METHOD__
Please login to merge, or discard this patch.
src/base/MetaItem.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
                 // Add a URL to the schema.org type if this is a MetaJsonLD object
152 152
                 if ($isMetaJsonLdModel) {
153 153
                     /** @var  $this MetaJsonLd */
154
-                    $extraInfo = ' for http://schema.org/' . $this->type;
154
+                    $extraInfo = ' for http://schema.org/'.$this->type;
155 155
                 }
156 156
                 $errorMsg =
157 157
                     Craft::t('seomatic', 'Scenario: "')
@@ -162,10 +162,10 @@  discard block
 block discarded – undo
162 162
                     . print_r($this->render(), true);
163 163
                 Craft::info($errorMsg, __METHOD__);
164 164
                 foreach ($this->errors as $param => $errors) {
165
-                    $errorMsg = Craft::t('seomatic', $errorLabel) . $param;
165
+                    $errorMsg = Craft::t('seomatic', $errorLabel).$param;
166 166
                     /** @var array $errors */
167 167
                     foreach ($errors as $error) {
168
-                        $errorMsg .= ' -> ' . $error;
168
+                        $errorMsg .= ' -> '.$error;
169 169
                         // Change the error level depending on the error message if this is a MetaJsonLD object
170 170
                         if ($isMetaJsonLdModel) {
171 171
                             if (strpos($error, 'recommended') !== false) {
@@ -184,9 +184,9 @@  discard block
 block discarded – undo
184 184
                         /** @var MetaJsonLd $className  */
185 185
                         $className = \get_class($this);
186 186
                         if (!empty($className::$schemaPropertyDescriptions[$param])) {
187
-                            $errorMsg = Craft::t('seomatic', $errorLabel) . $param;
187
+                            $errorMsg = Craft::t('seomatic', $errorLabel).$param;
188 188
                             /** @var $className MetaJsonLd */
189
-                            $errorMsg .= ' -> ' . $className::$schemaPropertyDescriptions[$param];
189
+                            $errorMsg .= ' -> '.$className::$schemaPropertyDescriptions[$param];
190 190
                             Craft::info($errorMsg, __METHOD__);
191 191
                         }
192 192
                     }
Please login to merge, or discard this patch.
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/TitleContainer.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'  => '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
         ],
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
@@ -24,7 +24,7 @@
 block discarded – undo
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
         ],
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/seomatic-config/globalmeta/TitleContainer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 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,
27
-        'class'        => (string)MetaTitleContainer::class,
27
+        'class'        => (string) MetaTitleContainer::class,
28 28
         'include'      => true,
29 29
         'dependencies' => [
30 30
         ],
Please login to merge, or discard this patch.