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

Fix PHP notice with PHP > 5.5 #102

Merged
merged 1 commit into from Oct 24, 2018
Merged

Fix PHP notice with PHP > 5.5 #102

merged 1 commit into from Oct 24, 2018

Conversation

toubsen
Copy link
Contributor

@toubsen toubsen commented Oct 22, 2018

CN_match is deprecated in PHP 5.6 - peer_name should be used instead. From 5.6. the SNI options + the additional hostname for "verifyPeer" are somewhat redundant, but left it in for now to support PHP < 5.6 with the old constant name "CN_match".

@bzikarsky
Copy link
Owner

Thanks, I must have missed that. Can you please also fix the corresponding test? :-)

CN_match is deprecated in PHP 5.6 - peer_name should be used instead.
@scrutinizer-notifier
Copy link

The inspection completed: No new issues

@toubsen
Copy link
Contributor Author

toubsen commented Oct 23, 2018

Seems like the automatic test pipeline failed (with a timeout?) for PHP 7.3. There have been no changes since the last successful run, i just squashed the 2 commits.

@bzikarsky
Copy link
Owner

It does sometimes timeout; I restarted the job and will merge on success. Thanks! :-)

@bzikarsky bzikarsky merged commit 0574559 into bzikarsky:master Oct 24, 2018
@bzikarsky bzikarsky added this to the 1.6.0 milestone Oct 25, 2018
@toubsen toubsen deleted the patch-2 branch October 25, 2018 07:17
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.

None yet

3 participants