Completed
Pull Request — 0.2 (#132)
by Scott
06:21
created
src/allejo/stakx/Manager/ThemeManager.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
         if (!fs::exists($this->themeFolder))
41 41
         {
42
-            throw new FileNotFoundException("The '${themeName}' theme folder could not be found.'");
42
+            throw new FileNotFoundException("The '${themename}' theme folder could not be found.'");
43 43
         }
44 44
 
45 45
         if (fs::exists($this->themeFile))
Please login to merge, or discard this patch.
src/allejo/stakx/AssetEngine/Sass/SassEngine.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -167,8 +167,8 @@
 block discarded – undo
167 167
     {
168 168
         if (($themeName = $this->configuration->getTheme()))
169 169
         {
170
-            $themePath = "../_themes/${themeName}/_sass";
171
-            $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themePath}$3", $content);
170
+            $themePath = "../_themes/${themename}/_sass";
171
+            $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themepath}$3", $content);
172 172
         }
173 173
     }
174 174
 
Please login to merge, or discard this patch.
src/allejo/stakx/Markup/SyntaxHighlighterTrait.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         // Exception thrown when language not supported
64 64
         catch (\DomainException $exception)
65 65
         {
66
-            trigger_error("An unsupported language (${langDef['language']}) was detected in a code block", E_USER_WARNING);
66
+            trigger_error("An unsupported language (${langdef['language']}) was detected in a code block", E_USER_WARNING);
67 67
         }
68 68
         catch (\Exception $e)
69 69
         {
Please login to merge, or discard this patch.
src/allejo/stakx/MarkupEngine/MarkdownEngine.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
             $host = parse_url($linkBlock['element']['attributes']['href'], PHP_URL_HOST);
103 103
 
104 104
             // If a host was found, and it is not on the list of internal hosts, add the attributes
105
-            if ($host !== NULL && !in_array($host, $this->internalhosts))
105
+            if ($host !== null && !in_array($host, $this->internalhosts))
106 106
             {
107 107
                 if ($this->externallinkrel)
108 108
                 {
Please login to merge, or discard this patch.
src/allejo/stakx/Templating/Twig/Extension/AFunction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             $host = parse_url($href, PHP_URL_HOST);
29 29
 
30 30
             // If a host was found, and it is not on the list of internal hosts, add the attributes
31
-            if ($host !== NULL && !in_array($host, $internalHosts))
31
+            if ($host !== null && !in_array($host, $internalHosts))
32 32
             {
33 33
                 if ($externalRel && !isset($attributes['rel']))
34 34
                 {
Please login to merge, or discard this patch.