Skip to content

Conversation

@jasonrhodes
Copy link
Contributor

Let's get a few eyes on this to make sure it looks ok, but this will make style stuff way easier imo.

@richleland
Copy link
Contributor

@jasonrhodes has anyone reviewed this yet?

@beardyman
Copy link
Contributor

@richleland - nobody has. I can.

@beardyman beardyman self-assigned this Mar 14, 2016

$url = $this->buildUrl($resourcePath, $options);
$body = $this->buildBody($options);
$body = $this->buildBody($options);
Copy link
Contributor

Choose a reason for hiding this comment

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

I like most of what has been done here but I don't think that it handled the spaces to tabs thing very well. These 3 lines end up having $action and $body both indented farther than $url

@beardyman
Copy link
Contributor

So, I'm noticing that spacing issue a lot. The PSR-2 standard says:

Code MUST use an indent of 4 spaces, and MUST NOT use tabs for indenting.

Looks like we're going to have to fix that one by hand.

@richleland
Copy link
Contributor

What's next? Want me to go through and fix the space/tabs thing?

@beardyman
Copy link
Contributor

Sure, I was thinking about scriptifying it so that this cs-fixer and that script could be ran easily. Sort of like our linting stuff for other projects. Just haven't had time to do it.

@richleland richleland merged commit d4c3a89 into master May 4, 2016
@richleland richleland deleted the code-style branch May 4, 2016 02:10
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.

4 participants