Add sniff to disallow omission of braces for single line blocks #124

Closed
westonruter opened this Issue Nov 13, 2013 · 6 comments

Comments

Projects
None yet
3 participants
Owner

westonruter commented Nov 13, 2013

I would think, actually, that there should already be a generic sniff for this. I can't seem to find one among https://github.com/squizlabs/PHP_CodeSniffer/tree/master/CodeSniffer/Standards

Contributor

shadyvb commented Nov 17, 2013

@westonruter Opened a ticket at PHPCS to adopt as a generic sniff.

Member

GaryJones commented Nov 20, 2013

+1 for this.

Contributor

shadyvb commented Nov 20, 2013

Added in #127

shadyvb closed this Nov 20, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment