{"action":"created","comment":{"url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/comments/27624804","id":27624804,"diff_hunk":"@@ -4,130 +4,154 @@\n  * Class ApiWrapper\n  * @package DocRaptor\n  */\n-class ApiWrapper {\n-\n-  protected $api_key;\n-  protected $document_content;\n-  protected $document_url;\n-  protected $document_type;\n-  protected $name;\n-  protected $test;\n-  protected $strict;\n-  protected $help;\n-  protected $url_protocol;\n-  protected $base_url;\n-\n-  public function __construct($api_key=null){\n-    if(!is_null($api_key)){\n-      $this->api_key = $api_key;\n+class ApiWrapper\n+{\n+\n+    protected $api_key;\n+    protected $document_content;\n+    protected $document_url;\n+    protected $document_type;\n+    protected $name;\n+    protected $test;\n+    protected $strict;\n+    protected $help;\n+    protected $url_protocol;\n+    protected $base_url;\n+\n+    public function __construct($api_key = null)\n+    {\n+        if (!is_null($api_key)) {\n+            $this->api_key = $api_key;\n+        }\n+        $this->test = false;\n+        $this->setStrict('none');\n+        $this->help = false;\n+        $this->setDocumentType('pdf');\n+        $this->setSecure(true);\n     }\n-    $this->test = false;\n-    $this->setStrict('none');\n-    $this->help = false;\n-    $this->setDocumentType('pdf');\n-    $this->setSecure(true);\n-    return true;\n-  }\n-\n-  public function setAPIKey($api_key=null){\n-    if(!is_null($api_key)){\n-      $this->api_key = $api_key;\n+\n+    public function setStrict($strict = 'none')\n+    {\n+        $this->strict = $strict;\n+        return $this;\n     }\n-    return $this;\n-  }\n-\n-  public function setDocumentContent($document_content=null){\n-    $this->document_content = $document_content;\n-    return $this;\n-  }\n-\n-  public function setDocumentUrl($document_url){\n-    $this->document_url = $document_url;\n-    return $this;\n-  }\n-\n-  public function setDocumentType($document_type){\n-    $document_type = strtolower($document_type);\n-    $this->type = $document_type == 'pdf' || $document_type == 'xls' ? $document_type : 'pdf';\n-    return $this;\n-  }\n-\n-  public function setName($name){\n-    $this->name = $name;\n-    return $this;\n-  }\n-\n-  public function setTest($test=false){\n-    $this->test = (bool)$test;\n-    return $this;\n-  }\n-\n-  # values should be one of 'html' or 'none'\n-  #   'none' - (default) skip input validation on the DR side\n-  #   'html' - perform validation on the input html on the DR side and\n-  #            error if non-parseable input provided\n-  public function setStrict($strict='none'){\n-    $this->strict = $strict;\n-    return $this;\n-  }\n-  public function setHelp($help=false){\n-    $this->help = (bool)$help;\n-    return $this;\n-  }\n-\n-  public function setSecure($secure_url=false){\n-    $this->url_protocol = $secure_url ? 'https' : 'http';\n-    return $this;\n-  }\n-  public function setBaseUrl($base_url){\n-    $this->base_url = $base_url;\n-    return $this;\n-  }\n-\n-  public function fetchDocument($filename = false){\n-    if($this->api_key != ''){\n-      $url = $this->url_protocol . '://docraptor.com/docs?user_credentials=' . $this->api_key;\n-      $fields = array(\n-        'doc[document_type]'=>$this->type,\n-        'doc[name]'=>$this->name,\n-        'doc[help]'=>$this->help,\n-        'doc[test]'=>$this->test,\n-        'doc[strict]'=>$this->strict\n-      );\n-      if ( !empty($this->base_url)){\n-        $fields['doc[prince_options][base_url]'] = $this->base_url;\n-      }\n-      if ( !empty($this->document_content) ){\n-        $fields['doc[document_content]'] = urlencode($this->document_content);\n-      } else {\n-        $fields['doc[document_url]'] = urlencode($this->document_url);\n-      }\n-\n-      $fields_string = '';\n-      foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }\n-      rtrim($fields_string,'&');\n-      $ch = curl_init();\n-      curl_setopt($ch,CURLOPT_URL,$url);\n-      curl_setopt($ch,CURLOPT_POST,count($fields));\n-      curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string);\n-      curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);\n-      if($result = curl_exec($ch)) {\n-        $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);\n-\n-        if ($http_code != 200) {\n-          return False;\n-        }\n \n-        if($filename){\n-          file_put_contents($filename,$result);\n+    public function setDocumentType($document_type)\n+    {\n+        $document_type = strtolower($document_type);\n+        $this->type = $document_type == 'pdf' || $document_type == 'xls' ? $document_type : 'pdf';\n+        return $this;\n+    }\n+\n+    public function setSecure($secure_url = false)\n+    {\n+        $this->url_protocol = $secure_url ? 'https' : 'http';\n+        return $this;\n+    }\n+\n+    public function setAPIKey($api_key = null)\n+    {\n+        if (!is_null($api_key)) {\n+            $this->api_key = $api_key;\n         }\n-      } else {\n-        echo ('Error: ' . curl_error($ch));\n-      }\n-      //close connection\n-      curl_close($ch);\n-      return $filename ? true : $result;\n+        return $this;\n+    }\n+\n+    public function setDocumentContent($document_content = null)\n+    {\n+        $this->document_content = $document_content;\n+        return $this;\n+    }\n+\n+    public function setDocumentUrl($document_url)\n+    {\n+        $this->document_url = $document_url;\n+        return $this;\n     }\n \n-  }\n+    # values should be one of 'html' or 'none'\n+    #   'none' - (default) skip input validation on the DR side\n+    #   'html' - perform validation on the input html on the DR side and\n+    #            error if non-parseable input provided\n+\n+    public function setName($name)\n+    {\n+        $this->name = $name;\n+        return $this;\n+    }\n+\n+    public function setTest($test = false)\n+    {\n+        $this->test = (bool)$test;\n+        return $this;\n+    }\n+\n+    public function setHelp($help = false)\n+    {\n+        $this->help = (bool)$help;\n+        return $this;\n+    }\n+\n+    public function setBaseUrl($base_url)\n+    {\n+        $this->base_url = $base_url;\n+        return $this;\n+    }\n+\n+    public function fetchDocument($filename = false)\n+    {\n+        if ($this->api_key != '') {\n+            $url = $this->url_protocol . '://docraptor.com/docs?user_credentials=' . $this->api_key;\n+            $fields = array(\n+                'doc[document_type]' => $this->type,\n+                'doc[name]'          => $this->name,\n+                'doc[help]'          => $this->help,\n+                'doc[test]'          => $this->test,\n+                'doc[strict]'        => $this->strict\n+            );\n+\n+            if (!empty($this->base_url)) {\n+                $fields['doc[prince_options][base_url]'] = $this->base_url;\n+            }\n+\n+            if (!empty($this->document_content)) {\n+                $fields['doc[document_content]'] = urlencode($this->document_content);\n+            } else {\n+                $fields['doc[document_url]'] = urlencode($this->document_url);\n+            }\n+\n+            $fields_string = '';","path":"src/DocRaptor.php","position":240,"original_position":240,"commit_id":"7de914691a2bc11838ad571e6289c9b1d9ea8524","original_commit_id":"7de914691a2bc11838ad571e6289c9b1d9ea8524","user":{"login":"janxious","id":50124,"avatar_url":"https://avatars.githubusercontent.com/u/50124?v=3","gravatar_id":"","url":"https://api.github.com/users/janxious","html_url":"https://github.com/janxious","followers_url":"https://api.github.com/users/janxious/followers","following_url":"https://api.github.com/users/janxious/following{/other_user}","gists_url":"https://api.github.com/users/janxious/gists{/gist_id}","starred_url":"https://api.github.com/users/janxious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janxious/subscriptions","organizations_url":"https://api.github.com/users/janxious/orgs","repos_url":"https://api.github.com/users/janxious/repos","events_url":"https://api.github.com/users/janxious/events{/privacy}","received_events_url":"https://api.github.com/users/janxious/received_events","type":"User","site_admin":false},"body":"https://github.com/expectedbehavior/php-docraptor/pull/5 ?","created_at":"2015-04-02T00:22:47Z","updated_at":"2015-04-02T00:22:47Z","html_url":"https://github.com/expectedbehavior/php-docraptor/pull/7#discussion_r27624804","pull_request_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/comments/27624804"},"html":{"href":"https://github.com/expectedbehavior/php-docraptor/pull/7#discussion_r27624804"},"pull_request":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7","id":32473583,"html_url":"https://github.com/expectedbehavior/php-docraptor/pull/7","diff_url":"https://github.com/expectedbehavior/php-docraptor/pull/7.diff","patch_url":"https://github.com/expectedbehavior/php-docraptor/pull/7.patch","issue_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/7","number":7,"state":"open","locked":false,"title":"code reformat, readability, standards","user":{"login":"markushausammann","id":723043,"avatar_url":"https://avatars.githubusercontent.com/u/723043?v=3","gravatar_id":"","url":"https://api.github.com/users/markushausammann","html_url":"https://github.com/markushausammann","followers_url":"https://api.github.com/users/markushausammann/followers","following_url":"https://api.github.com/users/markushausammann/following{/other_user}","gists_url":"https://api.github.com/users/markushausammann/gists{/gist_id}","starred_url":"https://api.github.com/users/markushausammann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markushausammann/subscriptions","organizations_url":"https://api.github.com/users/markushausammann/orgs","repos_url":"https://api.github.com/users/markushausammann/repos","events_url":"https://api.github.com/users/markushausammann/events{/privacy}","received_events_url":"https://api.github.com/users/markushausammann/received_events","type":"User","site_admin":false},"body":"Changes are not well visible in the diff but it's just code formatting, whitespace, intendation, etc.","created_at":"2015-04-02T00:21:01Z","updated_at":"2015-04-02T00:22:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7e8797657b8817944db85a0e29de956d85c2973","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7/commits","review_comments_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7/comments","review_comment_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/7/comments","statuses_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/statuses/7de914691a2bc11838ad571e6289c9b1d9ea8524","head":{"label":"expectedbehavior:code-format","ref":"code-format","sha":"7de914691a2bc11838ad571e6289c9b1d9ea8524","user":{"login":"expectedbehavior","id":62844,"avatar_url":"https://avatars.githubusercontent.com/u/62844?v=3","gravatar_id":"","url":"https://api.github.com/users/expectedbehavior","html_url":"https://github.com/expectedbehavior","followers_url":"https://api.github.com/users/expectedbehavior/followers","following_url":"https://api.github.com/users/expectedbehavior/following{/other_user}","gists_url":"https://api.github.com/users/expectedbehavior/gists{/gist_id}","starred_url":"https://api.github.com/users/expectedbehavior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expectedbehavior/subscriptions","organizations_url":"https://api.github.com/users/expectedbehavior/orgs","repos_url":"https://api.github.com/users/expectedbehavior/repos","events_url":"https://api.github.com/users/expectedbehavior/events{/privacy}","received_events_url":"https://api.github.com/users/expectedbehavior/received_events","type":"Organization","site_admin":false},"repo":{"id":12570975,"name":"php-docraptor","full_name":"expectedbehavior/php-docraptor","owner":{"login":"expectedbehavior","id":62844,"avatar_url":"https://avatars.githubusercontent.com/u/62844?v=3","gravatar_id":"","url":"https://api.github.com/users/expectedbehavior","html_url":"https://github.com/expectedbehavior","followers_url":"https://api.github.com/users/expectedbehavior/followers","following_url":"https://api.github.com/users/expectedbehavior/following{/other_user}","gists_url":"https://api.github.com/users/expectedbehavior/gists{/gist_id}","starred_url":"https://api.github.com/users/expectedbehavior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expectedbehavior/subscriptions","organizations_url":"https://api.github.com/users/expectedbehavior/orgs","repos_url":"https://api.github.com/users/expectedbehavior/repos","events_url":"https://api.github.com/users/expectedbehavior/events{/privacy}","received_events_url":"https://api.github.com/users/expectedbehavior/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/expectedbehavior/php-docraptor","description":"PHP consumer for the DocRaptor.com API","fork":true,"url":"https://api.github.com/repos/expectedbehavior/php-docraptor","forks_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/forks","keys_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/teams","hooks_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/hooks","issue_events_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/events{/number}","events_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/events","assignees_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/assignees{/user}","branches_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/branches{/branch}","tags_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/tags","blobs_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/refs{/sha}","trees_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/statuses/{sha}","languages_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/languages","stargazers_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/stargazers","contributors_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/contributors","subscribers_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/subscribers","subscription_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/subscription","commits_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/commits{/sha}","git_commits_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/commits{/sha}","comments_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/comments{/number}","issue_comment_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/comments{/number}","contents_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/contents/{+path}","compare_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/merges","archive_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/downloads","issues_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues{/number}","pulls_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls{/number}","milestones_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/milestones{/number}","notifications_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/labels{/name}","releases_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/releases{/id}","created_at":"2013-09-03T18:03:07Z","updated_at":"2015-04-01T23:36:31Z","pushed_at":"2015-04-02T00:21:01Z","git_url":"git://github.com/expectedbehavior/php-docraptor.git","ssh_url":"git@github.com:expectedbehavior/php-docraptor.git","clone_url":"https://github.com/expectedbehavior/php-docraptor.git","svn_url":"https://github.com/expectedbehavior/php-docraptor","homepage":"","size":169,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"expectedbehavior:master","ref":"master","sha":"0d98c50eed8600f14020794777d3e317d511d2cf","user":{"login":"expectedbehavior","id":62844,"avatar_url":"https://avatars.githubusercontent.com/u/62844?v=3","gravatar_id":"","url":"https://api.github.com/users/expectedbehavior","html_url":"https://github.com/expectedbehavior","followers_url":"https://api.github.com/users/expectedbehavior/followers","following_url":"https://api.github.com/users/expectedbehavior/following{/other_user}","gists_url":"https://api.github.com/users/expectedbehavior/gists{/gist_id}","starred_url":"https://api.github.com/users/expectedbehavior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expectedbehavior/subscriptions","organizations_url":"https://api.github.com/users/expectedbehavior/orgs","repos_url":"https://api.github.com/users/expectedbehavior/repos","events_url":"https://api.github.com/users/expectedbehavior/events{/privacy}","received_events_url":"https://api.github.com/users/expectedbehavior/received_events","type":"Organization","site_admin":false},"repo":{"id":12570975,"name":"php-docraptor","full_name":"expectedbehavior/php-docraptor","owner":{"login":"expectedbehavior","id":62844,"avatar_url":"https://avatars.githubusercontent.com/u/62844?v=3","gravatar_id":"","url":"https://api.github.com/users/expectedbehavior","html_url":"https://github.com/expectedbehavior","followers_url":"https://api.github.com/users/expectedbehavior/followers","following_url":"https://api.github.com/users/expectedbehavior/following{/other_user}","gists_url":"https://api.github.com/users/expectedbehavior/gists{/gist_id}","starred_url":"https://api.github.com/users/expectedbehavior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/expectedbehavior/subscriptions","organizations_url":"https://api.github.com/users/expectedbehavior/orgs","repos_url":"https://api.github.com/users/expectedbehavior/repos","events_url":"https://api.github.com/users/expectedbehavior/events{/privacy}","received_events_url":"https://api.github.com/users/expectedbehavior/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/expectedbehavior/php-docraptor","description":"PHP consumer for the DocRaptor.com API","fork":true,"url":"https://api.github.com/repos/expectedbehavior/php-docraptor","forks_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/forks","keys_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/teams","hooks_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/hooks","issue_events_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/events{/number}","events_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/events","assignees_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/assignees{/user}","branches_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/branches{/branch}","tags_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/tags","blobs_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/refs{/sha}","trees_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/statuses/{sha}","languages_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/languages","stargazers_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/stargazers","contributors_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/contributors","subscribers_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/subscribers","subscription_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/subscription","commits_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/commits{/sha}","git_commits_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/git/commits{/sha}","comments_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/comments{/number}","issue_comment_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/comments{/number}","contents_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/contents/{+path}","compare_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/merges","archive_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/downloads","issues_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues{/number}","pulls_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls{/number}","milestones_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/milestones{/number}","notifications_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/labels{/name}","releases_url":"https://api.github.com/repos/expectedbehavior/php-docraptor/releases{/id}","created_at":"2013-09-03T18:03:07Z","updated_at":"2015-04-01T23:36:31Z","pushed_at":"2015-04-02T00:21:01Z","git_url":"git://github.com/expectedbehavior/php-docraptor.git","ssh_url":"git@github.com:expectedbehavior/php-docraptor.git","clone_url":"https://github.com/expectedbehavior/php-docraptor.git","svn_url":"https://github.com/expectedbehavior/php-docraptor","homepage":"","size":169,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7"},"html":{"href":"https://github.com/expectedbehavior/php-docraptor/pull/7"},"issue":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/7"},"comments":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/expectedbehavior/php-docraptor/statuses/7de914691a2bc11838ad571e6289c9b1d9ea8524"}}}}