Skip to content

Commit

Permalink
ruleset: add missing rule
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 13, 2017
1 parent 79098a9 commit 7c49b29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -48,7 +48,7 @@ vendor/bin/phpcs src tests -sp \
```php
foreach ($sniffGroups as $sniffGroup) {
foreach ($sniffGroup as $sniffKey => $sniffClass) {
if ( ! $sniffClass instanceof Sniff) {
if (! $sniffClass instanceof Sniff) {
throw new InvalidClassTypeException;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/ObjectCalisthenics/ruleset.xml
Expand Up @@ -51,4 +51,5 @@

<!-- Rule 9: Do not Use Getters and Setters -->
<rule ref="ObjectCalisthenics.Classes.ForbiddenPublicProperty"/>
<rule ref="ObjectCalisthenics.NamingConventions.NoSetter"/>
</ruleset>

0 comments on commit 7c49b29

Please sign in to comment.