Skip to content

Commit

Permalink
exclude PSR2.Namespaces.UseDeclaration.MultipleDeclarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-chetan committed Nov 23, 2022
1 parent a23204f commit d7a3dae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mrchetan/php_standard",
"description": "PHP coding standard to be followed",
"type": "php-code-sniffer",
"version": "2.3.5",
"version": "2.3.6",
"require": {
"squizlabs/php_codesniffer": "dev-master"
},
Expand Down
4 changes: 3 additions & 1 deletion ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@
<rule ref="PEAR.Commenting.InlineComment"/>
<rule ref="PEAR.Formatting.MultiLineAssignment"/>
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent"/>
<rule ref="PSR2.Namespaces.UseDeclaration"/>
<rule ref="PSR2.Namespaces.UseDeclaration">
<exclude name="PSR2.Namespaces.UseDeclaration.MultipleDeclarations"/>
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName">
<exclude name="Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps"/>
<exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore" />
Expand Down

0 comments on commit d7a3dae

Please sign in to comment.