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

Fix several cs #2306

Merged
merged 5 commits into from Sep 13, 2012
Merged

Fix several cs #2306

merged 5 commits into from Sep 13, 2012

Conversation

blanchonvincent
Copy link
Contributor

Fix several coding standard to keep new 2.0.0 more clean :)

fix "use" and multiple spaces
add fix cs with space after comma
add space with string concatenation
// found param
$param = $params[$x];

// prevent further scanning of this param
array_splice($params,$x,1);
array_splice($params, $x,1);
Copy link
Member

Choose a reason for hiding this comment

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

space before 1

@blanchonvincent
Copy link
Contributor Author

Maks3w, add new commit to add CS with your comment.

@blanchonvincent
Copy link
Contributor Author

New fixs and fix with your comment.

fix whitespace CS
@@ -61,7 +61,7 @@ public function __construct(XMLRPCClient $client, $namespace = '')
*/
public function __get($namespace)
{
$namespace = ltrim("$this->namespace.$namespace", '.');
$namespace = ltrim("$this->namespace . $namespace", '.');
Copy link
Member

Choose a reason for hiding this comment

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

This is not doing what you think it's doing, and causes a test failure.

weierophinney added a commit that referenced this pull request Sep 13, 2012
- CS does not apply within strings
@weierophinney weierophinney merged commit 10ee647 into zendframework:master Sep 13, 2012
@weierophinney
Copy link
Member

Fixed the XmlRpc testing issue, and merged to release and master.

@ghost ghost assigned weierophinney Sep 13, 2012
@blanchonvincent
Copy link
Contributor Author

oh, don't see, sorry!

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.

None yet

3 participants