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

Mistyped property for SoapClient options #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

minimihi
Copy link

Attachment type is set to wrong class property.
It should set attachment_type option to soapOptions class property, not to options.
Since soapOptions is passed to BeSimple\SoapClient\SoapClient constructor and later to configureMime() where it is checked for attachment_type option.

options class property does not do anything.

Attachment type is set to wrong class property.
It should set "attachment_type" option to "soapOptions" class property, not to "options".
Since "soapOptions" is passed to BeSimple\SoapClient\SoapClient constructor and latter to configureMime() where it is being checked for 'attachment_type' option
@minimihi
Copy link
Author

PHP 5.6 build fails because of deprecated messages which are outputed when PHP receives POST data.
In php.ini always_populate_raw_post_data has to be set to -1. Need to update .travis.yml?

Added PHP configuration option `always_populate_raw_post_data = -1` for PHP v5.6.
Since by default it is set to `0` and if PHP receives POST data with not `Content-type: application/x-www-form-urlencoded` deprecated message is thrown which fails Travis build
@unnawut
Copy link

unnawut commented Aug 26, 2015

+1 on merging this. Renaming options to soapOptions in BeSimple\SoapClient\SoapClient fixed my problem too.

@ageorgin
Copy link

👍

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