Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Fixes default type == string #5375

Closed
wants to merge 5 commits into from
Closed

Fixes default type == string #5375

wants to merge 5 commits into from

Conversation

graywolf
Copy link
Contributor

See ZF1 issue for more: zendframework/zf1#229

'<value><i4>8</i4></value>'.
'<value>a</value>'.
'<value>false</value>'.
'</data></array></value>', Zend_XmlRpc_Value::XML_STRING
Copy link
Contributor

Choose a reason for hiding this comment

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

there is no class using underscore in ZF2. use :

AbstractValue::getXmlRpcValue

instead. and use

AbstractValue::XML_STRING

instead. already at use statement : https://github.com/volftomas/zf2/blob/d645eb295cd99626b170f60a329321acd11419ba/tests/ZendTest/XmlRpc/ValueTest.php#L14

@graywolf
Copy link
Contributor Author

Uff, to much time in ZF1. Fixed.

@samsonasik
Copy link
Contributor

travis failure because of trailing_spaces , you can do :

 php php-cs-fixer.phar /path/to/zf2/tests/ZendTest/XmlRpc/ValueTest.php --fixers=trailing_spaces

@weierophinney
Copy link
Member

@volftomas I'm also seeing three new failures after this patch starting with PHP versions 5.4 and up; you can see representative failures starting here: https://travis-ci.org/zendframework/zf2/jobs/13182132#L966

@graywolf
Copy link
Contributor Author

graywolf commented Nov 1, 2013

@samsonasik don't know where to get this fixer but I removed the ones that I found.

@weierophinney Now it should pass tests.

weierophinney added a commit that referenced this pull request Nov 1, 2013
Fixes default type == string
weierophinney added a commit that referenced this pull request Nov 1, 2013
@ghost ghost assigned weierophinney Nov 1, 2013
weierophinney added a commit to zendframework/zend-xmlrpc that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-xmlrpc that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-xmlrpc that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants