public function storeCommitValidation(PullRequest $pullRequest, Commit $commit, $message, $file, $line) {
		$url = $pullRequest->resolveApiUrl(PullRequest::API_URL_REVIEW_COMMENTS);
		$parameters = array(
			'commit_id' => $commit->getId(),
			'body' => $message,
			'path' => $file,
			'position' => $line
		);
		$this->getApi()->post($url, json_encode($parameters));
	}
public function storeCommitValidation(PullRequest $pullRequest, Commit $commit, $message, $file, $line) {
		$url = $pullRequest->resolveApiUrl(PullRequest::API_URL_REVIEW_COMMENTS);
		$parameters = array(
			'commit_id' => $commit->getId(),
			'body' => $message,
			'path' => $file,
			'position' => $line
		);
		$this->getApi()->post($url, json_encode($parameters));
	}
public function storeCommitValidation ( PullRequest $ pullRequest , Commit $ commit , $ message , $ file , $ line ) { $ url = $ pullRequest -> resolveApiUrl ( PullRequest :: API_URL_REVIEW_COMMENTS ) ; $ parameters = array ( 'commit_id' => $ commit -> getId ( ) , 'body' => $ message , 'path' => $ file , 'position' => $ line ) ; $ this -> getApi ( ) -> post ( $ url , json_encode ( $ parameters ) ) ; }
Store a pull request specific validation of a single
line in a commit.

Use this method to quickly add comments about any line
in a commit that is part of the pull request, both of
which must be provided. The message requires a file
path (repository root relative) and line number.

@param PullRequest $pullRequest
@param Commit $commit
@param string $message
@param string $file
@param integer $line
@return void
Store a pull request specific validation of a single line in a commit .