Completed
Pull Request — master (#41)
by Vladimir
02:31
created
src/allejo/stakx/System/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.
tests/allejo/stakx/Test/StreamInterceptor.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@
 block discarded – undo
18 18
 
19 19
     public function filter($in, $out, &$consumed, $closing)
20 20
     {
21
-        while ($bucket = stream_bucket_make_writeable($in)) {
21
+        while ($bucket = stream_bucket_make_writeable($in))
22
+        {
22 23
             self::$output .= $bucket->data;
23 24
             $consumed += $bucket->datalen;
24 25
         }
Please login to merge, or discard this patch.
tests/allejo/stakx/Test/PHPUnit_Stakx_TestCase.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,8 @@
 block discarded – undo
84 84
     {
85 85
         $results = array();
86 86
 
87
-        foreach ($elements as $element) {
87
+        foreach ($elements as $element)
88
+        {
88 89
             $filename = (isset($element['filename'])) ? $element['filename'] : hash('sha256', uniqid(mt_rand(), true), false);
89 90
             $frontMatter = (empty($element['frontmatter'])) ? '' : Yaml::dump($element['frontmatter'], 2);
90 91
             $body = (isset($element['body'])) ? $element['body'] : 'Body Text';
Please login to merge, or discard this patch.