Skip to content

Commit

Permalink
v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
seb86 committed Jul 11, 2021
1 parent deeb77e commit 6f65073
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.0.2 - 2021-07-11

* Added more rulesets to exclude the following:
* * Squiz.Commenting.ClassComment.Missing
* * Squiz.PHP.CommentedOutCode.Found
* * PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket
* * PEAR.Functions.FunctionCallSignature.CloseBracketLine
* * PEAR.Functions.FunctionCallSignature.MultipleArguments
* * PEAR.NamingConventions.ValidClassName.Invalid

## 0.0.1 - 2021-07-09

* Initial version.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "co-cart/cocart-sniffs",
"description": "CoCart sniffs",
"description": "Collection of PHP_CodeSniffer sniffs for CoCart development.",
"type": "phpcodesniffer-standard",
"license": "MIT",
"authors": [
Expand Down
16 changes: 16 additions & 0 deletions src/CoCart-Core/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,21 @@
<rule ref="Squiz.Commenting">
<exclude name="Squiz.Commenting.LongConditionClosingComment" />
<exclude name="Squiz.Commenting.PostStatementComment" />
<exclude name="Squiz.Commenting.ClassComment.Missing" />
</rule>

<rule ref="Squiz.PHP.CommentedOutCode.Found">
<severity>0</severity>
</rule>

<rule ref="PEAR.Functions.FunctionCallSignature">
<exclude name="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket" />
<exclude name="PEAR.Functions.FunctionCallSignature.CloseBracketLine" />
<exclude name="PEAR.Functions.FunctionCallSignature.MultipleArguments" />
</rule>

<rule ref="PEAR.NamingConventions.ValidClassName.Invalid">
<severity>0</severity>
</rule>

</ruleset>

0 comments on commit 6f65073

Please sign in to comment.