Skip to content

Commit

Permalink
check that @var is not used for constants
Browse files Browse the repository at this point in the history
  • Loading branch information
VasekPurchart committed Aug 28, 2018
1 parent 0852f1e commit b7eadca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Consistence/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.TypeHints.UselessConstantTypeHint"/>
<rule ref="SlevomatCodingStandard.Types.EmptyLinesAroundTypeBraces"/>
<rule ref="Squiz.Arrays.ArrayBracketSpacing">
<exclude name="Squiz.Arrays.ArrayBracketSpacing.SpaceBeforeBracket"/><!-- does not handle nested array access across multiple lines -->
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": {
"php": "~7.1",
"squizlabs/php_codesniffer": "~3.3.0",
"slevomat/coding-standard": "~4.6"
"slevomat/coding-standard": "~4.7"
},
"require-dev": {
"jakub-onderka/php-console-highlighter": "0.3.2",
Expand Down

0 comments on commit b7eadca

Please sign in to comment.