Passed
Push — master ( 28bf1e...61fea9 )
by Arthur
02:09
created
examples/musicbrainz.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
       print '(' . $album->next('label')->text() . ')' .PHP_EOL;
36 36
     }
37 37
   }
38
-}
39
-catch (Exception $e) {
38
+} catch (Exception $e) {
40 39
   print $e->getMessage();
41 40
 }
Please login to merge, or discard this patch.
examples/doc.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,9 @@  discard block
 block discarded – undo
48 48
   $category = array_search($entry->find('category:first')->attr('name'), $qparray);
49 49
   while($entry->next('category')->html() != null) {
50 50
     $category = (array_search($entry->attr('name'), $qparray)) ? true : $category;
51
-    if($category) break;
51
+    if($category) {
52
+        break;
53
+    }
52 54
   }
53 55
   if($category) {
54 56
     $jqnames[$entry->parent()->attr('name')] =  
@@ -77,8 +79,7 @@  discard block
 block discarded – undo
77 79
     $qpdoc->top()->find('#righttext')->text($qpnames[$key]['jquery']);
78 80
     $qpdoc->top()->find('#righttitle2')->text('How it\'s done in QueryPath');
79 81
     $qpdoc->top()->find('#righttext2')->text($qpnames[$key]['querypath']);
80
-  }
81
-  else {
82
+  } else {
82 83
     $qpdoc->top()->find('#rightfunction')->text('Function: '.ucfirst($key));
83 84
     $qpdoc->top()->find('#rightdesc')->remove();
84 85
     $qpdoc->top()->find('#righttitle')->text('jQuery Documentation');
Please login to merge, or discard this patch.