Skip to content

Update repo to latest standards#29

Merged
mboynes merged 10 commits intomasterfrom
standards
Aug 23, 2016
Merged

Update repo to latest standards#29
mboynes merged 10 commits intomasterfrom
standards

Conversation

@mboynes
Copy link
Copy Markdown
Contributor

@mboynes mboynes commented Aug 22, 2016

  • Add in Alley's default plugin files
  • Update Travis to Alley's latest config
  • Setup phpcs and bring the theme up to standards

if ( is_string( $url ) && preg_match( '#^https?://#i', $url ) )
return $url;
if ( is_string( $url ) && preg_match( '#^https?://#i', $url ) ) {
return $url; }
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are you allowed to put the closing brace on the same line under WordPress standards? (Applies to the two changed braces below, too.)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It may be valid, I'm not sure, but I don't much like it regardless. phpcbf did these and I just didn't catch it. Thanks for the eagle eyes!

@dlh01
Copy link
Copy Markdown
Member

dlh01 commented Aug 22, 2016

🌳

@mboynes mboynes merged commit 0d82806 into master Aug 23, 2016
@renatonascalves renatonascalves deleted the standards branch February 22, 2019 00:06
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.

2 participants