Skip to content
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

Closed
wants to merge 3 commits into from
Closed

official composer CA bundle support #7

wants to merge 3 commits into from

Conversation

soukicz
Copy link
Contributor

@soukicz soukicz commented Nov 22, 2016

No description provided.

@@ -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",
Copy link

@fprochazka fprochazka Nov 22, 2016

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 :)

Copy link
Contributor Author

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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Copy link
Owner

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')) {
Copy link
Owner

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')) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and after elseif

@mhujer
Copy link
Owner

mhujer commented Nov 24, 2016

merged manually (I've fixed-up the cs fix), thanks!

@mhujer mhujer closed this Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants