Skip to content

Commit

Permalink
Merge pull request magento#79 from magento/minor-fixes
Browse files Browse the repository at this point in the history
Reduce false-positive findings
  • Loading branch information
lenaorobei authored Apr 1, 2019
2 parents 8c978ca + af55901 commit 489029a
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 307 deletions.
141 changes: 0 additions & 141 deletions Magento2/Sniffs/Performance/EmptyCheckSniff.php

This file was deleted.

105 changes: 0 additions & 105 deletions Magento2/Tests/Performance/EmptyCheckUnitTest.inc

This file was deleted.

51 changes: 0 additions & 51 deletions Magento2/Tests/Performance/EmptyCheckUnitTest.php

This file was deleted.

10 changes: 2 additions & 8 deletions Magento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@
<rule ref="Magento2.Exceptions.DirectThrow">
<severity>8</severity>
<type>warning</type>
<exclude-pattern>*/Test/*</exclude-pattern>
</rule>
<rule ref="Magento2.Exceptions.ThrowCatch">
<severity>8</severity>
Expand Down Expand Up @@ -213,10 +214,6 @@
<severity>7</severity>
<type>warning</type>
</rule>
<rule ref="Magento2.Performance.EmptyCheck">
<severity>7</severity>
<type>warning</type>
</rule>
<rule ref="Magento2.Strings.StringConcat">
<severity>7</severity>
<type>warning</type>
Expand Down Expand Up @@ -302,6 +299,7 @@
<rule ref="PSR1.Files.SideEffects">
<severity>6</severity>
<type>warning</type>
<exclude-pattern>*/Test/*</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName">
<severity>6</severity>
Expand Down Expand Up @@ -449,10 +447,6 @@
<rule ref="Squiz.Commenting.ClassComment.TagNotAllowed">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag">
<severity>5</severity>
<type>warning</type>
</rule>
<rule ref="Squiz.PHP.CommentedOutCode">
<properties>
<property name="maxPercentage" value="80"/>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"AFL-3.0"
],
"type": "phpcodesniffer-standard",
"version": "1.0.0",
"version": "1.0.1",
"require": {
"php": ">=5.6.0",
"squizlabs/php_codesniffer": "~3.3.0"
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 489029a

Please sign in to comment.