Skip to content

Commit

Permalink
minor #3823 Added empty line after if statements (zomberg)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Added empty line after if statements

Added empty line after if statements

Commits
-------

55fd0f8 Update standards.rst
  • Loading branch information
weaverryan committed May 9, 2014
2 parents 79b9fdc + 55fd0f8 commit b1336d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contributing/code/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,15 @@ example containing most features described below:
if (true === $dummy) {
return;
}

if ('string' === $dummy) {
if ('values' === $mergedOptions['some_default']) {
return substr($dummy, 0, 5);
}

return ucwords($dummy);
}

throw new \RuntimeException(sprintf('Unrecognized dummy option "%s"', $dummy));
}
}
Expand Down

0 comments on commit b1336d7

Please sign in to comment.