Completed
Pull Request — master (#60)
by
unknown
02:32
created
src/allejo/stakx/Filesystem/FileExplorer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,8 @@
 block discarded – undo
203 203
             }
204 204
 
205 205
             if (strpos($haystack, $query, $offset) !== false)
206
-            { // stop on first true result
206
+            {
207
+// stop on first true result
207 208
                 return true;
208 209
             }
209 210
         }
Please login to merge, or discard this patch.
src/allejo/stakx/Utilities/ArrayUtilities.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,8 @@
 block discarded – undo
20 20
      */
21 21
     public static function array_safe_get(array $array, $key, $default = null)
22 22
     {
23
-        if (isset($array[$key])) {
23
+        if (isset($array[$key]))
24
+        {
24 25
             return $array[$key];
25 26
         }
26 27
 
Please login to merge, or discard this patch.
src/allejo/stakx/Compiler.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -333,7 +333,6 @@
 block discarded – undo
333 333
      * Write the compiled output for a repeater PageView.
334 334
      *
335 335
      * @param RepeaterPageView $pageView
336
-
337 336
      * @since 0.1.1
338 337
      *
339 338
      * @throws TemplateErrorInterface
Please login to merge, or discard this patch.
src/allejo/stakx/DataTransformer/JsonTransformer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,8 @@
 block discarded – undo
16 16
     {
17 17
         $data = json_decode($content, true);
18 18
 
19
-        if ($data === null) {
19
+        if ($data === null)
20
+        {
20 21
             return [];
21 22
         }
22 23
 
Please login to merge, or discard this patch.
src/allejo/stakx/Website.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@
 block discarded – undo
453 453
 
454 454
         if (!$enabled)
455 455
         {
456
-          return;
456
+            return;
457 457
         }
458 458
 
459 459
         foreach ($this->getConfiguration()->getHighlighterCustomLanguages() as $lang => $path)
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/DataManager.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,8 @@
 block discarded – undo
63 63
      */
64 64
     public function getJailedDataItems()
65 65
     {
66
-        return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem) {
66
+        return self::getJailedTrackedItems($this->trackedItemsFlattened, function (DataItem $dataItem)
67
+        {
67 68
             return $dataItem->getBasename();
68 69
         });
69 70
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Document/ReadableDocument.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,11 +182,15 @@
 block discarded – undo
182 182
      *
183 183
      * @param mixed $mixed Any information returned from the readContents() method.
184 184
      */
185
-    protected function afterReadContents($mixed) {}
185
+    protected function afterReadContents($mixed)
186
+    {
187
+}
186 188
 
187 189
     /**
188 190
      * Functionality that needs to take place before this document is considered "compiled," meaning everything has been
189 191
      * processed, configured, and built.
190 192
      */
191
-    protected function beforeCompile() {}
193
+    protected function beforeCompile()
194
+    {
195
+}
192 196
 }
Please login to merge, or discard this patch.
src/allejo/stakx/Utilities/NullableArray.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,8 @@
 block discarded – undo
42 42
      */
43 43
     public function offsetSet($offset, $value)
44 44
     {
45
-        if ($offset === null) {
45
+        if ($offset === null)
46
+        {
46 47
             return;
47 48
         }
48 49
 
Please login to merge, or discard this patch.
src/allejo/stakx/Service.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,9 @@
 block discarded – undo
25 25
     public static function getWorkingDirectory()
26 26
     {
27 27
         if (!self::$workingDirectory)
28
-            return getcwd();
28
+        {
29
+                    return getcwd();
30
+        }
29 31
 
30 32
         return self::$workingDirectory;
31 33
     }
Please login to merge, or discard this patch.