-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
official composer CA bundle support #7
Conversation
@@ -28,7 +28,8 @@ | |||
"satooshi/php-coveralls": "^1.0" | |||
}, | |||
"suggest": { | |||
"kdyby/curl-ca-bundle": "Provides regularly updated root certificates list" | |||
"kdyby/curl-ca-bundle": "Provides regularly updated root certificates list", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be better to remove the suggest altogether :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Původně jsem chtěl, ale ty tam nemáš abandoned, tak jsem to ještě nechal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Divný, koukal jsem sem - https://github.com/Kdyby/CurlCaBundle/blob/master/composer.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tak a je fuč :) V kódu jsem to teda ještě nechal, ať se něco nerozbije.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oni na to mají UI, nemusíš to psát do composer.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -39,7 +39,9 @@ public function getCertificatePath() | |||
return $this->certificatePath; | |||
} | |||
|
|||
if (class_exists('\Kdyby\CurlCaBundle\CertificateHelper')) { | |||
if(class_exists('\Composer\CaBundle\CaBundle')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there should be a space after if
if (class_exists('\Kdyby\CurlCaBundle\CertificateHelper')) { | ||
if(class_exists('\Composer\CaBundle\CaBundle')) { | ||
return \Composer\CaBundle\CaBundle::getSystemCaRootBundlePath(); | ||
} elseif(class_exists('\Kdyby\CurlCaBundle\CertificateHelper')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and after elseif
merged manually (I've fixed-up the cs fix), thanks! |
No description provided.