Completed
Pull Request — 0.2 (#132)
by Scott
06:21
created
src/allejo/stakx/Manager/TrackingManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -175,12 +175,12 @@  discard block
 block discarded – undo
175 175
         }
176 176
     }
177 177
 
178
-    protected function addFileToTracker(File &$file)
178
+    protected function addFileToTracker(File & $file)
179 179
     {
180 180
         $this->trackedItemsFlattened[$file->getRelativeFilePath()] = &$file;
181 181
     }
182 182
 
183
-    protected function delFileFromTracker(File &$file)
183
+    protected function delFileFromTracker(File & $file)
184 184
     {
185 185
         unset($this->trackedItemsFlattened[$file->getRelativeFilePath()]);
186 186
     }
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      * @param ReadableDocument $trackedItem
192 192
      * @param string|null      $namespace
193 193
      */
194
-    protected function addObjectToTracker(ReadableDocument &$trackedItem, $namespace = null)
194
+    protected function addObjectToTracker(ReadableDocument & $trackedItem, $namespace = null)
195 195
     {
196 196
         if ($namespace == null)
197 197
         {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      * @param ReadableDocument $trackedItem
212 212
      * @param string|null      $namespace
213 213
      */
214
-    protected function delObjectFromTracker(ReadableDocument &$trackedItem, $namespace = null)
214
+    protected function delObjectFromTracker(ReadableDocument & $trackedItem, $namespace = null)
215 215
     {
216 216
         if ($namespace == null)
217 217
         {
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.