Skip to content

Commit c0fc157

Browse files
authored
Merge pull request archived-codacy#32 from azettl/master
fix curl ssl issue on windows
2 parents 194b838 + 16a577c commit c0fc157

File tree

2 files changed

+3956
-0
lines changed

2 files changed

+3956
-0
lines changed

src/Codacy/Coverage/Util/CodacyApiClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function sendCoverage($commit, $data)
3737
"project_token: " . $this->projectToken
3838
)
3939
);
40+
curl_setopt($curl, CURLOPT_CAINFO, dirname(__FILE__) . '/cacert.pem');
4041
curl_setopt($curl, CURLOPT_POST, true);
4142
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
4243

0 commit comments

Comments
 (0)