archived-codacy / php-codacy-coverage

Phar for uploading PHP code coverage to Codacy
https://www.codacy.com
MIT License
44 stars 18 forks source link

fix curl ssl issue on windows #32

Closed azettl closed 7 years ago

azettl commented 7 years ago

On Windows with a Standard XAMPP installation the curl request returns a status of 0.

To fix this problem i added the latest bundle of CA root certificates from https://curl.haxx.se/ via

curl_setopt($curl, CURLOPT_CAINFO, dirname(FILE) . '/cacert.pem');

machadoit commented 7 years ago

LGTM!

I can see that the added file is the latest https://curl.haxx.se/ca/cacert-2017-06-07.pem, thank you very much.

machadoit commented 7 years ago

@azettl Released as version 1.2.0 👍 https://github.com/codacy/php-codacy-coverage/releases/tag/1.2.0

azettl commented 7 years ago

Thanks 👍