Skip to content

Commit

Permalink
add up to allowed short names [closes #52]
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 10, 2017
1 parent d667d12 commit b90c982
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -21,7 +21,7 @@ final class ElementNameMinimalLengthSniff implements Sniff
/**
* @var string[]
*/
public $allowedShortNames = ['i', 'id', 'to'];
public $allowedShortNames = ['i', 'id', 'to','up'];

/**
* @return int[]
Expand Down
2 changes: 1 addition & 1 deletion src/ObjectCalisthenics/ruleset.xml
Expand Up @@ -17,7 +17,7 @@
<rule ref="ObjectCalisthenics.NamingConventions.ElementNameMinimalLength">
<properties>
<property name="minLength" value="3"/>
<property name="allowedShortNames" type="array" value="i,id,to"/>
<property name="allowedShortNames" type="array" value="i,id,to,up"/>
</properties>
</rule>

Expand Down

0 comments on commit b90c982

Please sign in to comment.