Test Setup Failed
Pull Request — master (#1)
by Oguzhan
05:10 queued 01:58
created
src/MusicBrainz/Filters/TagFilter.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * @return string
49 49
      */
50
-    public function getEntity()
51
-    {
50
+    public function getEntity() {
52 51
         return 'recording';
53 52
     }
54 53
 
@@ -59,8 +58,7 @@  discard block
 block discarded – undo
59 58
      * @throws \MusicBrainz\Exception
60 59
      * @return array
61 60
      */
62
-    public function parseResponse(array $response, MusicBrainz $brainz)
63
-    {
61
+    public function parseResponse(array $response, MusicBrainz $brainz) {
64 62
         $recordings = array();
65 63
 
66 64
         if (isset($response['recording'])) {
Please login to merge, or discard this patch.
src/MusicBrainz/Filters/LabelFilter.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * @return string
49 49
      */
50
-    public function getEntity()
51
-    {
50
+    public function getEntity() {
52 51
         return 'recording';
53 52
     }
54 53
 
@@ -59,8 +58,7 @@  discard block
 block discarded – undo
59 58
      * @throws \MusicBrainz\Exception
60 59
      * @return array
61 60
      */
62
-    public function parseResponse(array $response, MusicBrainz $brainz)
63
-    {
61
+    public function parseResponse(array $response, MusicBrainz $brainz) {
64 62
         $recordings = array();
65 63
 
66 64
         if (isset($response['recording'])) {
Please login to merge, or discard this patch.
src/MusicBrainz/Filters/ArtistFilter.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,8 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * @return string
49 49
      */
50
-    public function getEntity()
51
-    {
50
+    public function getEntity() {
52 51
         return 'recording';
53 52
     }
54 53
 
@@ -59,8 +58,7 @@  discard block
 block discarded – undo
59 58
      * @throws \MusicBrainz\Exception
60 59
      * @return array
61 60
      */
62
-    public function parseResponse(array $response, MusicBrainz $brainz)
63
-    {
61
+    public function parseResponse(array $response, MusicBrainz $brainz) {
64 62
         $recordings = array();
65 63
 
66 64
         if (isset($response['recording'])) {
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.