Passed
Pull Request — master (#1)
by Oguzhan
03:50 queued 47s
created
examples/first-recording-search.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     var_dump(array($firstRecording));
70
-} catch (Exception $e) {
70
+}
71
+catch (Exception $e) {
71 72
     print ($e->getMessage());
72 73
 }
Please login to merge, or discard this patch.
examples/search.php 1 patch
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@  discard block
 block discarded – undo
24 24
 try {
25 25
     $releaseGroups = $brainz->search(new ReleaseGroupFilter($args));
26 26
     var_dump($releaseGroups);
27
-} catch (Exception $e) {
27
+}
28
+catch (Exception $e) {
28 29
     print $e->getMessage();
29 30
 }
30 31
 print "\n\n";
@@ -41,7 +42,8 @@  discard block
 block discarded – undo
41 42
 try {
42 43
     $artists = $brainz->search(new ArtistFilter($args));
43 44
     print_r($artists);
44
-} catch (Exception $e) {
45
+}
46
+catch (Exception $e) {
45 47
     print $e->getMessage();
46 48
 }
47 49
 print "\n\n";
@@ -59,7 +61,8 @@  discard block
 block discarded – undo
59 61
 try {
60 62
     $recordings = $brainz->search(new RecordingFilter($args));
61 63
     print_r($recordings);
62
-} catch (Exception $e) {
64
+}
65
+catch (Exception $e) {
63 66
     print $e->getMessage();
64 67
 }
65 68
 print "\n\n";
@@ -75,6 +78,7 @@  discard block
 block discarded – undo
75 78
 try {
76 79
     $labels = $brainz->search(new LabelFilter($args));
77 80
     print_r($labels);
78
-} catch (Exception $e) {
81
+}
82
+catch (Exception $e) {
79 83
     print $e->getMessage();
80 84
 }
Please login to merge, or discard this patch.
examples/lookup.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@  discard block
 block discarded – undo
24 24
 try {
25 25
     $artist = $brainz->lookup('artist', '4dbf5678-7a31-406a-abbe-232f8ac2cd63', $includes);
26 26
     print_r($artist);
27
-} catch (Exception $e) {
27
+}
28
+catch (Exception $e) {
28 29
     print $e->getMessage();
29 30
 }
30 31
 print "\n\n";
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
     //born this way: the remix
39 40
     $releaseGroup = $brainz->lookup('release-group', 'e4307c5f-1959-4163-b4b1-ded4f9d786b0');
40 41
     print_r($releaseGroup);
41
-} catch (Exception $e) {
42
+}
43
+catch (Exception $e) {
42 44
     echo $e->getMessage();
43 45
 }
Please login to merge, or discard this patch.
examples/browse.php 1 patch
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@  discard block
 block discarded – undo
24 24
 try {
25 25
     $releaseGroups = $brainz->search(new ReleaseGroupFilter($args));
26 26
     var_dump($releaseGroups);
27
-} catch (Exception $e) {
27
+}
28
+catch (Exception $e) {
28 29
     print $e->getMessage();
29 30
 }
30 31
 print "\n\n";
@@ -41,7 +42,8 @@  discard block
 block discarded – undo
41 42
 try {
42 43
     $artists = $brainz->search(new ArtistFilter($args));
43 44
     print_r($artists);
44
-} catch (Exception $e) {
45
+}
46
+catch (Exception $e) {
45 47
     print $e->getMessage();
46 48
 }
47 49
 print "\n\n";
@@ -59,7 +61,8 @@  discard block
 block discarded – undo
59 61
 try {
60 62
     $recordings = $brainz->search(new RecordingFilter($args));
61 63
     print_r($recordings);
62
-} catch (Exception $e) {
64
+}
65
+catch (Exception $e) {
63 66
     print $e->getMessage();
64 67
 }
65 68
 print "\n\n";
@@ -75,6 +78,7 @@  discard block
 block discarded – undo
75 78
 try {
76 79
     $labels = $brainz->search(new LabelFilter($args));
77 80
     print_r($labels);
78
-} catch (Exception $e) {
81
+}
82
+catch (Exception $e) {
79 83
     print $e->getMessage();
80 84
 }
Please login to merge, or discard this patch.